Subject: RE: [xsl] IE6:clientside - XML to string? From: "Chris Bayes" <Chris@xxxxxxxxxxx> Date: Sat, 23 Jun 2001 06:28:50 +0100 |
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: [xsl] 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] IE6:clientside - XML to strin, Robert Koberg | Thread | Re: [xsl] IE6:clientside - XML to s, Robert Koberg |
[xsl] Re: xsl:transform, Dimitre Novatchev | Date | Re: [xsl] IE6:clientside - XML to s, Robert Koberg |
Month |