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

Re: Installing exslt for Saxon

Subject: Re: Installing exslt for Saxon
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 28 Feb 2010 15:27:36 -0500
Re:  Installing exslt for Saxon
At 2010-02-28 20:20 +0000, Peter Flynn wrote:
I think I have lost the plot here a little.

I need to use Saxon 9he from the command line under Ubuntu 9.10 for an XSLT 1.0 application which requires exsl:node-set. Saxon itself is working fine, but it's so long since I used it with exslt extensions that I can't remember where I got the code last time -- I looked at http://www.exslt.org but all the downloads seem to be samples and tests: no actual implementation of any functions. What am I missing here?

That EXSLT defines an interface ... the processor itself implements the interface.


T:\ftemp>type peter.xsl
<?xml version="1.0" encoding="US-ASCII"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:exslt="http://exslt.org/common"
                exclude-result-prefixes="exslt"
                version="1.0">

<xsl:template match="/">
  <xsl:variable name="x"><a><b/><c/></a></xsl:variable>

  <xsl:copy-of select="exslt:node-set($x)/*/*"/>
</xsl:template>

</xsl:stylesheet>
T:\ftemp>java -jar saxon.jar peter.xsl peter.xsl
<?xml version="1.0" encoding="utf-8"?><b/><c/>
T:\ftemp>

I'm only running the Saxon 6.5.5 jar file ... nothing else is needed.

I hope this helps.

. . . . . . . . . . Ken

--
XSLT/XQuery training:      after http://XMLPrague.cz 2010-03-15/19
XSLT/XQuery training:         San Carlos, California 2010-04-26/30
Principles of XSLT for XQuery Writers: San Francisco,CA 2010-05-03
XSLT/XQuery training:                 Ottawa, Canada 2010-05-10/14
XSLT/XQuery/UBL/Code List training: Trondheim,Norway 2010-06-02/11
Vote for your XML training:   http://www.CraneSoftwrights.com/s/i/
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

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.