Re: [xsl] Select entire XML doc

Subject: Re: [xsl] Select entire XML doc
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Thu, 27 Feb 2003 18:16:54 +0200
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



Current Thread