|
Hi Folks,
i would like to change a XSL-file to the dom4j but it doesn't work can anybody help me?
XSL-Code
----------------
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="text" omit-xml-declaration="yes" indent="yes"/> <xsl:template match="/">
<xsl:apply-templates select="/probability_group"/> </xsl:template> <xsl:template
match="probability_group">
switch (probability) { <xsl:apply-templates select="./probability"/> default: <xsl:value-of
select="./text()"/>
break; } </xsl:template> <xsl:template
match="probability">
case <xsl:value-of select="@value"/>: <xsl:value-of select="./text()"/> <xsl:apply-templates select="./probability_group"/> break; </xsl:template> </xsl:stylesheet>
---------------------- Regards Ado |
- Re: [dom4j-user] XSL -> DOM4J Adnan Oeztuerk
- Re: [dom4j-user] XSL -> DOM4J James Strachan
- Re: [dom4j-user] XSL -> DOM4J James Strachan
