[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] xsl:copy-of problem with < and > chars by html output


Subject: Re: [xsl] xsl:copy-of problem with < and > chars by html output
From: Jim Fuller <jim.fuller@xxxxxxxxxxxxxx>
Date: Mon, 10 Jan 2005 11:21:31 -0500

mozilla shows no content in the textarea; problem are the < and > chars!

so I assume 'view source' shows the hidden content ? If not then your select statement is not 'selecting' anything....


if you want all children of <interview/> element your select statement should be something like;

<textarea name="forms" rows="30" cols="80">
	<xsl:copy-of select="interview/forms"/>
</textarea>

there are many equivelent select statements...e.g.

<textarea name="forms" rows="30" cols="80">
	<xsl:copy-of select="interview/node()"/>
</textarea>

or maybe u wanted to use relative addressing...

<textarea name="forms" rows="30" cols="80">
	<xsl:copy-of select="../forms"/>
</textarea>

though u have to make sure that when u hit this statement that the current context is correct.

gl, Jim Fuller


Current Thread