xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] SAXON: How to run?


Subject: Re: [xsl] SAXON: How to run?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 18 Nov 2003 15:06:37 GMT

> <saxon:output file="{$file}">
> It does not allow Attribute FILE
> It is looking for href attribute

Isn't it clear? saxon:output takes an href attribute not a file one, so
your stylesheet is in error. See the saxon documentation for details of
saxon:output.

> <xsl:copy select="."/>
> It does not allow select statement as well.

<xsl:copy does not have a select attribute, your probably meant to write
<xsl:copy-of select="."/>
        ^^^

Also your stylesheet is in error as it has two templates matching
stanza, the system could stop and report an error although by default
saxon will justgive a warning, then process your stylesheet, ignoring
the first template for stanza.

David

-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor