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

Re: Find node-set from string

Subject: Re: Find node-set from string
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Wed, 29 Nov 2006 14:15:13 +0000
Re:  Find node-set from string
On 11/29/06, Per Osnes <per.osnes@xxxxxx> wrote:
Exactly.
As mentioned in my original posting, I have tried some of these extensions,
and obviously there's some basics I'm missing.
I'm using the <oXygen/> debugger with the a test file:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:transform version="2.0"
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
        xmlns:xs="http://www.w3.org/2001/XMLSchema"
        xmlns:fn="http://www.w3.org/2005/xpath-functions"
        xmlns:xdt="http://www.w3.org/2005/xpath-datatypes"
        xmlns:dyn="http://exslt.org/dynamic"
        xmlns:exsl="http://exslt.org/common"
        xmlns:saxon="http://saxon.sf.net"
        extension-element-prefixes="saxon dyn exsl">
  <xsl:template match="/">
        A: <xsl:value-of select="function-available('dyn:evaluate')"/>
        B: <xsl:value-of select="function-available('exsl:node-set')"/>
        C: <xsl:value-of select="function-available('saxon:evaluate')"/>
        D: <xsl:value-of select="function-available('saxon:parse')"/>
  </xsl:template>
</xsl:transform>

Result specifying Saxon processor:
<?xml version="1.0" encoding="UTF-8"?>
        A: false
        B: true
        C: false
        D: false

Result specifying Xalan processor:
<?xml version="1.0" encoding="UTF-8"?>
        A: true
        B: false
        C: false
        D: false

Kind of strange that Saxon does not support the Saxon extensions?
But perhaps this is an <oXygen/> dependant issue, I guess.

The Saxon namespace has a trailing slash "http://saxon.sf.net/"


:0)

cheers
andrew

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.