[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: "Joshua Allen" <joshuaa@xxxxxxxxxxxxx>
Date: Fri, 22 Jun 2001 20:22:48 -0700
javascript xml getelementbyname
You could try
http://msdn.microsoft.com/newsgroups/loadframes.asp?icp=msdn&slcid=us&ne
wsgroup=microsoft.public.xml
(I apologize if line breaks appear; should be all one URL) and probably
get a better answer.

Some things to note -- it is not technically valid in XML to have a tag
with the name "XML", although IE is lax on this.  Another thing to note
is that the XML DOM and the DHTML DOM are not the same DOM; they are two
different W3C specs.  You are probably looking for something like
getElementByName or getElementById("source").innerHTML, which is also
valid in Netscape 6 now.

Regards,
Joshua

> -----Original Message-----
> From: Robert Koberg [mailto:rob@xxxxxxxxxx]
> Sent: Friday, June 22, 2001 7:22 PM
> 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.