![]() |
|
||||||||||||
vippsupport.xerox.com
Forums
- Xerox FF VI Suite Forum-
FF VI Suite (VIPP)
xml attribute column printing|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
I have two questions.
First one is how do I get only part of an attribute to print. The attribute is as follows <DateOfService>2009-09-28T12:00:00</DateOfService> I only want to print the date 2009-09-28. Second question is I need to print data in a column. I can get the data to print in the column but it over prints the data. The xml is like this: Invoice invoice="01547757" order=""> <Line LineNumber="001"> <DateOfService>2009-06-26T12:00:00</DateOfService> <Description>LIQUID STATIONARY OXYGEN</Description> <OutstandingCharges>77.45</OutstandingCharges> <InsurancePayments>0.00</InsurancePayments> <PersonalPayments>0.00</PersonalPayments> <Adjustments>0.00</Adjustments> <PendingFromInsurance>61.96</PendingFromInsurance> <BalanceDueByPatient>15.49</BalanceDueByPatient> I need the <Description> to print in a column . So far my code looks like this BTA /Line^DateOfService {0 SVPOS MOVETO } { 245 MOVEH XMLVAL SH} ETA BTA /Line^Description {300 SETCOLWIDTH SAVEPP } {490 SVPOS MOVETO XMLVAL SHj} ETA BTA /Line^OutstandingCharges {975 SVPOS MOVETO} { XMLVAL SH } ETA BTA /Line^InsurancePayments {1200 SVPOS MOVETO} { XMLVAL SHR} ETA BTA /Line^PersonalPayments {1500 SVPOS MOVETO} { XMLVAL SHR} ETA BTA /Line^Adjustments {1725 SVPOS MOVETO} { XMLVAL SHR} ETA BTA /Line^PendingFromInsurance {1975 SVPOS MOVETO} { XMLVAL SHR} ETA BTA /Line^BalanceDueByPatient {2200 SVPOS MOVETO} { XMLVAL SHR NL NL SAVEPP } ETA Thanks in advance for any assistance Lori |
|||
|
1. ^DateOfService 0 (T) GETINTV SH
2. Not sure what you are trying to achieve with SVPOS/SAVEPP. I would rather code something like: BTA /Line {} { 245 MOVEH ^DateOfService 0 (T) GETINTV SH 490 MOVEH 300 SETCOLWIDTH ^Description SHj 975 MOVEH ^OutstandingCharges SH 1200 MOVEH ^InsurancePayments SHr 1500 MOVEH ^PersonalPayments SHr 1725 MOVEH ^Adjustments SHr 1975 MOVEH ^PendingFromInsurance SHr 2200 MOVEH ^BalanceDueByPatient SHr NL NL } ETA |
||||
|
Thanks for the coding I will send you a vpc of the project and you will see that the Description is still overprinting. Thanks Lori |
||||
|
Yes, what you need here is fit-in-width not justification:
490 MOVEH ^Description 300 100 SHmf If the compression is too much an alternative is to use SHP to wrap the text on several lines: 490 MOVEH ^Description 300 0 SHp Place it as the last line if you want all other items on the same line. |
||||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
vippsupport.xerox.com
Forums
- Xerox FF VI Suite Forum-
FF VI Suite (VIPP)
xml attribute column printing
