|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] SV: Find node-set from string
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@xxxxxxxx] Sendt: 29. november 2006 13:46 Til: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Emne: Re: 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 riinvente le mail ! Dicouvrez le nouveau Yahoo! Mail et son interface rivolutionnaire. http://fr.mail.yahoo.com
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






