vippsupport.xerox.com    Forums  Hop To Forum Categories  - Xerox FF VI Suite Forum-  Hop To Forums  FF VI Suite (VIPP)    XML Cant figure out how to print

Moderators: Carlo Sans, jbouche
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Posted
I need to know how to get the information in line #7 to print
I can print most everything but am a little confused. First time with XML
Is the word Customer in line 7 the key and do I define that as BTA /Statement ????

1<?xml version="1.0" encoding="utf-8" ?>
2- <Statements>
3- <RunInfo>
4 <BranchCodeRange>-</BranchCodeRange>
5 <CreationDate>2009-09-28T12:00:00</CreationDate>
6 </RunInfo>
7- <Statement customerCode="01572">
8 <SiteCode>AOX</SiteCode>
9 <Logo />
10 <StatementDate>2009-09-28T12:00:00</StatementDate>
11 <AcceptedCreditCards />
12 - <Customer>
13 <Name>GEORGE A NIXON</Name>
14 - <Address>
15 <Line1>111 SW 2ND ST</Line1>
16 <Line2>HERTIAGE ESTATES APT 332</Line2>
17 <City>DODGE CENTER</City>
18 <State>MN</State>
19 <Zip>55927-0000</Zip>
20 <Country />
21 </Address>
22 </Customer>
23 - <SoldBy>
24 <Name>** Not on file **</Name>
25 - <Address>
26 <Line1 />
27 <Line2 />
28 <City />
29 <State />
30 <Zip />
31 <Country />
32 </Address>
33 <Phone />
34 <Fax />
35 </SoldBy>
36 </Statement>
37 </Statements>

Thanks
Lori
 
Posts: 13 | Registered: 01 November 2007Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
"customerCode" is an XML attribute. You can use it (with an extra "@") from the Statement BTA and anytime latter:

/BTA /Statement
{ x y MOVETO ^@customerCode SH }
{ }
ETA
 
Posts: 1776 | Location: Switzerland | Registered: 04 May 2001Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Thanks - that works but it prints on the next following page. Haven't figured that out yet.
Lori
 
Posts: 13 | Registered: 01 November 2007Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

    vippsupport.xerox.com    Forums  Hop To Forum Categories  - Xerox FF VI Suite Forum-  Hop To Forums  FF VI Suite (VIPP)    XML Cant figure out how to print