RE: [Flashcoders] Quotes in XML always require CDATA?

2006-05-30 Thread Merrill, Jason
>>Why not just escape the characters?
>>

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:
>>>
>>> 
>>>
>>> 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?
>>
>>
>>
>>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


RE: [Flashcoders] Quotes in XML always require CDATA?

2006-05-30 Thread Dave Watts
> 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:
> 
>  
> 
> 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?



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


[Flashcoders] Quotes in XML always require CDATA?

2006-05-30 Thread Merrill, Jason
Does it HAVE to be a CDATA node in order to safely include double
"quotes" in an XML file?  

Be nice if I could do the following, but it's obvious why it breaks:

 

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.  

Thanks,

Jason Merrill
Bank of America 
Learning Technology Solutions
 


 
___
[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