>>Why not just escape the characters? >><item title="This is my "String" with quotes"/>
Good idea. Exactly what I was looking for. :) Jason Merrill Bank of America Learning Technology Solutions >>-----Original Message----- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Dave Watts >>Sent: Tuesday, May 30, 2006 1:25 PM >>To: Flashcoders mailing list >>Subject: RE: [Flashcoders] Quotes in XML always require CDATA? >> >>> Does it HAVE to be a CDATA node in order to safely include >>> double "quotes" in an XML file? >> >>Yes, to include any unescaped XML metacharacters, you must place them within >>a CDATA block. >> >>> Be nice if I could do the following, but it's obvious why it breaks: >>> >>> <item title="This is my "String" with quotes"/> >>> >>> I'm using iso-8859-1 encoding in the XML, but I think UTF >>> would be OK too. I'm grabbing it with xfactorstudios Xpath. >>> I guess I could look for single quotes and swap that out for >>> double quotes, but that's not ideal. >> >>Why not just escape the characters? >> >><item title="This is my "String" with quotes"/> >> >>Dave Watts, CTO, Fig Leaf Software >>http://www.figleaf.com/ >> >>Fig Leaf Software provides the highest caliber vendor-authorized >>instruction at our training centers in Washington DC, Atlanta, >>Chicago, Baltimore, Northern Virginia, or on-site at your location. >>Visit http://training.figleaf.com/ for more information! >> >>_______________________________________________ >>[email protected] >>To change your subscription options or search the archive: >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >>Brought to you by Fig Leaf Software >>Premier Authorized Adobe Consulting and Training >>http://www.figleaf.com >>http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

