|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Question about xsl-xslt
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








