[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] IE6:clientside - XML to string?


Subject: Re: [xsl] IE6:clientside - XML to string?
From: "Robert Koberg" <rob@xxxxxxxxxx>
Date: Fri, 22 Jun 2001 22:47:00 -0700

That does it! Thank you sir!

where do you find this stuff?


----- Original Message -----
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, June 22, 2001 10:28 PM
Subject: RE: [xsl] 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: [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
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xml