|
What error do you get? What source XML document are
you using? If there's a problem we can try fix it.
James
----- Original Message -----
Sent: Friday, June 08, 2001 6:49 AM
Subject: [dom4j-user] XSL ->
DOM4J
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: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
|