Hello Pete,
You probably want to have the "tagged text" box checked.
If you didn't have the box checked, you would
see the tags themselves in your output.
Now, what's important to note here is that the "tagged text" setting
not only tells FusionPro to parse tags but it
also tells it to parse entities, like "&" (ampersand) and
"<" (less-than).
Problems can crop up if you're using a rule that's returning a
combination of tagged markup and literal, or "raw," text, such as
field values or other data input by the user. Say you have a field,
we'll call it "MyField," and the value in your field is something
like this:
I love PB&J! <grin> How about you?
And say you have a rule that simply returns this field value:
return Field("MyField");
Or just:
return "I love PB&J! <grin> How about you?";
Now, if you return this field value from a rule and the "tagged text"
box is checked, you'll only get this in your output:
I love PB How about you?
What happened here? Well, you're telling FusionPro to parse the
returned value as tagged data, so it's looking for tags starting with
the less-than symbol (<), and entities starting with the ampersand
symbol (&). It sees "&J!" and tries to figure out what entity that
represents, and it sees "<grin>" and tries to match it to a tag.
Since these are not real tags and entities, FusionPro punts and puts
out some warnings in the log file and you get nothing in the output.
If you turn off the "tagged text" checkbox, then you get the text in
the output just as it appears in the field.
-Alex
-----Original Message-----
From: Pete Pickslay [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 20, 2008 4:02 PM
To: FusionPro Users Forum
Subject: [fusionpro] & in a return string
I have a job that I am using a company field in, and in one text box on the
piece I am using the upper function to capitalize the company name. In some
company names there is an & (AT&T for example). When there is an & it returns
AT instead of AT&T (not good!). Is there a way to fix this?
Thanks
Peter Pickslay
EOS
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- FusionPro 5.0 Now
Available! Variable text on a curve and soft drop-shadows for variable text
LIMITED TIME upgrade offer of $299 per license for current customers:
http://fusionpro.printable.com/store/upgrade New licenses available for $599
each at: http://fusionpro.printable.com/store/ All FusionPro 5.0 customers to
receive FusionPro 5.1 with Adobe Acrobat 8 and InDesign CS3 support when
released for FREE. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- --
Users of FusionPro Desktop have unlimited free email support. Contact Printable
Support at [EMAIL PROTECTED] -- View FusionPro Knowledge Base, FusionPro
Samples at www.printable.com/vdp/desktop.htm -- You are currently subscribed to
fusionpro as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL
PROTECTED] -- -- Note: All e-mail sent to or from this address will be received
or otherwise recorded by the e-mail recipients of this forum. It is subject to
archival, monitoring or review by, and/or disclosure to someone other than the
recipient. Our privacy policy is posted on www.printplanet.com --
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
FusionPro 5.0 Now Available!
Variable text on a curve and soft drop-shadows for variable text
LIMITED TIME upgrade offer of $299 per license for current customers:
http://fusionpro.printable.com/store/upgrade
New licenses available for $599 each at:
http://fusionpro.printable.com/store/
All FusionPro 5.0 customers to receive FusionPro 5.1 with
Adobe Acrobat 8 and InDesign CS3 support when released for FREE.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
--
Users of FusionPro Desktop have unlimited free email support. Contact Printable
Support at [EMAIL PROTECTED]
--
View FusionPro Knowledge Base, FusionPro Samples at
www.printable.com/vdp/desktop.htm
--
You are currently subscribed to fusionpro as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
--
--
Note: All e-mail sent to or from this address will be received or otherwise
recorded by the e-mail recipients of this forum. It is subject to archival,
monitoring or review by, and/or disclosure to someone other than the recipient.
Our privacy policy is posted on www.printplanet.com
--