Hi,
can anybody tell me, why the following xsl file (transformation with Sablotron) outputs the selected title-tag and then the rest of the xml. the xml file has some story-tags, but only one with a child-tag called "media".
so it should output only one title.
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="backslash">
<i><xsl:apply-templates/></i>
</xsl:template>
<xsl:template match="story[child::media[@typ='text']]">
<b><xsl:value-of select="title"/></b>
</xsl:template>
</xsl:stylesheet>
sorry, but i'm a XSLT beginner!
thanks,
michael