Is it possible to make an xsl statement that would print the content of
the <text> tag and all sub tags
Note that XSLT doesn't deal with tags it can not access the tags in the
input or directly generate tags in the output.
(<xsl:value of select="text"/>)
value-of gives the string value of its argument you don't want the
string you want the node itself so that would be
(<xsl:copy-of select="text"/>)
except that you don't want a copy at all, you need to change somthing,
so use the indentity transformation (posted to this list most weeks,
also in the faq and explictly in the xslt spec)
then you want
<xsl:apply-templates/>
together with a template for sw that does not copy the element node
<xsl:template match="sw">
<xsl:value-of select="."/>
</xsl:template>
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list