[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Unanderstaing xsl:mode usage

Subject: Unanderstaing xsl:mode usage
From: "Christophe Marchand cmarchand@xxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 28 Aug 2016 14:38:05 -0000
 Unanderstaing xsl:mode usage
Hello !


I have a XSLT 3.0 that uses streaming. Trying to run it with saxon9he (9.7.0-5 or 9.7.0-7), I get this error :


java -jar ~/applications/saxon-9.7.0-7/saxon9he.jar -xsl:generation-nomenclature.xsl -s:Paye_082011.xml
Static error at xsl:mode on line 7 column 33 of generation-nomenclature.xsl:
XTSE0010: Element xsl:mode must not appear directly within xsl:stylesheet
Static error at xsl:mode on line 7 column 33 of generation-nomenclature.xsl:
XTSE0010: Element xsl:mode must not appear directly within xsl:stylesheet
Static error at xsl:mode on line 7 column 33 of generation-nomenclature.xsl:
XTSE0010: Unknown XSLT element: mode
Errors were reported during stylesheet compilation



My XSL (the beginning) is


<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    exclude-result-prefixes="xs"
    version="3.0">

<xsl:mode streamable="yes"/>

The specification does not limit xsl:mode usage inside xsl:stylesheet, so I do not understand the cause of the static error. Any help will be appreciated !


Best, Christophe

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.