OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   [xml-dev] images and urls in xml

[ Lists Home | Date Index | Thread Index ]

XML is oblivious to the HTML style hrefs.  And binary data cannot be used
inside XML.  So, I recommend the following:

1.  Base64 encode the image data (there are many samples online on how to do
this) 2.  Create an element similar to the following:

<Image Encoding="base64" OriginalFilename="original image filename goes
here"> Base64 encoded image data goes here </Image>

J. Keith Wedinger
Senior Software Developer
Sterling Commerce
keith_wedinger@stercomm.com


-----Original Message-----
From: Wilde, Mark [mailto:mark.wilde@eds.com] 
Sent: Friday, December 07, 2001 10:03 AM
To: 'xml-dev@lists.xml.org'
Subject: [xml-dev] images and urls in xml


Hello,

I require a little help, how do you store a url and an img in xml I tried
using CDATA but when the page is rendered it gives a text string of the
html.

in html it's <a href="url"><img src="image"></a> how would I do this in XML.
?


> Mark Wilde
> 
> 
> 

-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an initiative
of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS