hi all,

inside a stylesheet i am using a default copy rule

<xsl:template match="*">
        <xsl:copy>
                <xsl:apply-templates select="*|@*|text()"/>
        </xsl:copy>
</xsl:template>

to copy tags with no templates as-is.  when i call this stylesheet from the
command line, it works as it should.  however, when it is called from
within a jsp, it fails (nothing at all is copied).  the closest thing i can
get to work is

<xsl:template match="*">
        <xsl:copy>
                <xsl:apply-templates select="*|text()"/>
        </xsl:copy>
</xsl:template>

which will copy all tags and text, but no attributes.

i am using tomcat 3.1 standalone (port 8080), jdk 1.2.2, xerces 1.1.2,
xalan 1.2 on a sun solaris box.

any ideas?




==================================================================================

This  email  (and  any  attachments)  is  intended  only for the use of the
addressee(s)  and  may  contain  proprietary,  privileged  or  confidential
information.   If you are not the intended recipient, you may not use, copy
or  disclose to anyone this message or any information contained in it.  If
you  have received this message in error, please notify the sender by reply
email  @thestreet.com and delete the original and any copy of this message.
Thank you.
==================================================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to