[thelist] binary data in XML + XSL

David Travis dwork at macam.ac.il
Thu Apr 3 03:51:42 CST 2003


Hi All,

XSL can generate an HTML output from an XML document, so far so good...

If I want to add an image to this output a reasonable way to do it is to
have a node in the XML which will contain a reference to the image location
on some server, the XSL will generate the <IMG> tag with the appropriate
value for the SRC attribute from the XML.

Now comes the question...

I know it is possible to store binary data in an XML node (base64). Would it
be possible to store the whole image in an XML node (binary data) and
somehow to add it to the HTML output generated by the XSL???


Thanks,
David.



More information about the thelist mailing list