xsl-list
[Top] [All Lists]

RE: [xsl] CDATA Handling

2009-01-06 05:51:33

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(_at_)aptaracorp(_dot_)com] 
Sent: 06 January 2009 10:45
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com; 
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] 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 



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>