|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: IE6:clientside - XML to string?
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
|
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








