a text.xml fajlod:
<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet version="1.0" type="text/xsl" href="test.xsl" ?>
<content>
<A>Két </A>
<A>hete másé </A>
<A>már </A>
<A>a Szabó János.</A>
</content>
a test.xsl fajlod:
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" omit-xml-declaration="yes" encoding="UTF-8" indent="yes"/>
<xsl:template match="/content">
<xsl:value-of select="concat('<','A','>')"/>
<xsl:apply-templates/>
<xsl:value-of select="concat('<','/A','>')"/>
</xsl:template>
<xsl:template match="/content/A">
<xsl:apply-templates select="node()"/>
</xsl:template>
</xsl:stylesheet>