RE: [xsl] SAXON: How to run?

Subject: RE: [xsl] SAXON: How to run?
From: "SHEIKH Sajjad" <Sajjad.SHEIKH@xxxxxxxxxxx>
Date: Wed, 19 Nov 2003 11:20:20 +0100
Thanks David.


-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx] 
Sent: 18 November 2003 16:07
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] SAXON: How to run?



> <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


______________________________________________________________
This message has been scanned for all viruses by BTnet VirusScreen. The
service is delivered in partnership with MessageLabs.

This service does not scan any password protected or encrypted
attachments.  

If you are interested in finding out more about the service, please
visit our website at
http://www.btignite.com/internetservices/btnet/products_virusscreen.htm
==============================================================

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


Current Thread