xsl-list
[Top] [All Lists]

Re: Select entire XML doc

2003-02-27 09:16:54
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



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