[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: CDATA Handling

Subject: RE: CDATA Handling
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 6 Jan 2009 10:51:09 -0000
RE:  CDATA Handling
Base64 encoding does not use any characters that are special characters in
XML, therefore enclosing it in CDATA is completely pointless.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: J. S. Rawat [mailto:jrawat@xxxxxxxxxxxxxx] 
> Sent: 06 January 2009 10:45
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx; xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  CDATA Handling
> 
> At 03:49 PM 1/6/2009, Michael Kay wrote:
> >I guess the definition of professionalism is that if you're a 
> >professional, you advise the client when he gets the requirements 
> >wrong, and if you're not, you build whatever rubbish he asks for.
> Basically client wants xml from HTML input and we provide 
> them xml along with image files. He asks us to embed the 
> images inside the xml instead of sending the images files 
> separately and they prefer to use base 64 representation for 
> the same. We have a generalize xml application where we put 
> image as <img.embed>base 64 representation of the 
> image</img.embed> in the form of tag. Now we need to 
> transform this tag (img.embed) into <![CDATA[base 64 
> representation of the image]]>. They have their own 
> application where they use php to generate the image once again.
> 
> Thanks
> ...JSR 

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.