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.
- Per Osnes -
-----Opprinnelig melding-----
Fra: Florent Georges [mailto:darkman_spam(_at_)yahoo(_dot_)fr]
Sendt: 29. november 2006 13:46
Til: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Emne: Re: [xsl] Find node-set from string
Per Osnes wrote:
Hi
Q1: Is there any other alternatives for such a conversion?
You want to parse the string as XML. It is not standard, but some
processors provide an extension function to do that, for example
saxon:parse().
Regards,
--drkm
___________________________________________________________________________
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son
interface révolutionnaire.
http://fr.mail.yahoo.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--