[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: IE6:clientside - XML to string?

Subject: RE: IE6:clientside - XML to string?
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Date: Sat, 23 Jun 2001 06:28:50 +0100
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.