xsl-list
[Top] [All Lists]

Re: Select entire XML doc

2003-02-27 10:09:45
Yes Correct, entire XML document in serialized form.  Why do we refer to
this as being in serialized form?  That is a new term for me.

Per Brian Martinez's suggestion to xsl:copy-of, I have succesfully
accomplished the task!

Thanks,
Karl

----- Original Message -----
From: "Oleg Tkachenko" <olegt(_at_)multiconn(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Thursday, February 27, 2003 9:16 AM
Subject: Re: [xsl] Select entire XML doc


Karl Stubsjoen wrote:

How do I select the entire XML document?  I need to write this out in a
text
area.  This didn't work:

  <xsl:template match="/*">
    <textarea>
       <xsl:value-of select="/*"/>
   </textarea>
  </xsl:template>
The whole document is represented by root node, which is accesible as "/".
But what do you need to be in a textarea? I presume you want the whole xml
in
serialized form?
--
Oleg Tkachenko
Multiconn Technologies, Israel


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




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



<Prev in Thread] Current Thread [Next in Thread>