IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#21106 - 02/19/09 05:53 PM ShowRight in XML fields
Losman500 Offline
OL Toddler

Registered: 06/12/08
Posts: 42
Loc: New Jersey
Hi,

I have a document which uses XML data. I created a text element and created local variables within the text element to show my XML data. Two of those variables are dollar values and I need to show then right justified. I know this is wrong but can someone help me figure out how to use showright on an XML value. This is what I have (which is wrong)

showright(@(XmlGet('/Root[1]/Header[1/Country[1]')))

Top
#21107 - 02/19/09 06:06 PM Re: ShowRight in XML fields
Anonymous
Unregistered


Hi Losman500,

You are close. Here is the right expression:
Code:
  
showright(XmlGet('/Root[1]/Header[1]/Country[1]')+&yourstringvariablehere)
That should do what you are looking for.
Hope this helps.

Regards,

Olivier

Top
#21108 - 02/20/09 10:01 AM Re: ShowRight in XML fields
Losman500 Offline
OL Toddler

Registered: 06/12/08
Posts: 42
Loc: New Jersey
Not quite sure what you mean by my string variable?

Can you elaborate?

Top
#21109 - 02/20/09 11:57 AM Re: ShowRight in XML fields
Anonymous
Unregistered


Hi Losman,

Sorry, I thought you had a dollar sign in a variable. Instead of a string variable, just put a currency variable and it should work the same way. Thanks.

Olivier

Top


Moderator:  cosimo, OL Newsgroup Support