Subject: Re: [xsl] Question about xsl-xslt From: Ingo Schildmann <ingoschi@xxxxxx> Date: Tue, 22 May 2001 12:29:34 +0200 |
On Tuesday 22 May 2001 11:43, cutlass wrote: > ok will take a look now at your specific problem > > > <?xml version="1.0" encoding="UTF-8"?> > > <xsl:stylesheet version="1.0" > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > > <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> > > <xsl:template match="/"> > > <xsl:variable name="level" select="3"></xsl:variable> > > <xsl:choose> > > <xsl:when test="$level=3"> > > <xsl:value-of select="/filevideo/campi/campo1"> > > </xsl:value-of> > > </xsl:when> > > </xsl:choose> > > </xsl:template > > there were some mistakes in your syntax I don't see any XSLT syntax mistakes (besides the missing "></xsl:stylesheet>" at the end). Sure, he could use empty tags for xsl:variable and xsl:value-of but this is no mistake. Like Michael Kay said the problem is that Microsoft WD-xsl syntax is expected therefore the xsl:choose isn't recognized. -- Ingo Schildmann ingoschi@xxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Question about xsl-xslt, cutlass | Thread | Re: [xsl] Question about xsl-xslt, David Carlisle |
[xsl] HTML input-Tag and XSLT, UweLoydl | Date | Re: [xsl] HTML input-Tag and XSLT, cutlass |
Month |