|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: IE6:clientside - XML to string?
Rob, source.documentElement.xml will give you the xml from an XML data island but it doesn't include the xml declaration or any PIs. This works for 4, 5 and 6 Ciao Chris XML/XSL Portal http://www.bayes.co.uk/xml >-----Original Message----- >From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx >[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Robert Koberg >Sent: 23 June 2001 03:22 >To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx >Subject: IE6:clientside - XML to string? > > >Sorry for the OT post, but it seems like this is the best place to ask the >question... > >Is it possible given the following in on an html page: > ><XML id="source" src="abc.xml"></XML> > >to get the a string representation of the xml from some DOM method using >javascript? (I am having troubles finding documentation at MS for >IE6 which >is in beta) >---------------------------- >If abc.xml was: > ><article> > <para> blah blah</para> ></article> >--------------------------- >then is there something like? > >var theXMLasString= source.toString() > >which make this true: > >theXMLasString=='<article>\n%20%20<para> blah blah</para>\n</article>'; >// or whatever the proper string notation is... > >thanks for any help or pointers, >Rob > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








