RE: [xsl] Select entire XML doc

Subject: RE: [xsl] Select entire XML doc
From: "Dhiraj Torane" <dhirajtorane@xxxxxxxxxxxx>
Date: Mon, 3 Mar 2003 11:14:28 +0530
Hello,
You should copy all the XML to the <TextArea>
Following template should answer your query..

	<xsl:template match="/">
		<textarea rows="10" cols="30">
		<xsl:copy-of select="*"> </xsl:copy-of>
		</textarea>
	</xsl:template>

Thanks,
Dhiraj

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Karl
Stubsjoen
Sent: Thursday, February 27, 2003 9:00 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] Select entire XML doc


Hello,

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>

Thanks for the help : )

Karl


 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