xsl-list
[Top] [All Lists]

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

2005-01-10 09:21:31
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--