Login 
 
 Pref   Your subscriptions   Home   Help 
users@ml.mod-xslt2.com
mod-xslt2 - Users Mailing List
   
 
List info
 
 
 
Subscribe
 
 
Unsubscribe
 
 
Archive
 
 
Post
 



Advanced search
2004 01 02 03 04 05 06 07 08 09 10 11 12
2005 01 02 03 04 05 06 07 08 09 10 11 12
2006 01 02 03 04 05 06 07 08 09 10 11 12
2007 01 02 03 04 05 06 07 08 09 10 11 12
2008 01 02 03 04 05 06 07 08 09 10 11 12

  previous   Chronological   next       previous   Thread   next  

Re: [mod-xslt users] XSLT2 and node-set() ? Carlo Contavalli
  • From: Carlo Contavalli <ccontavalli@xxxxxxxxxxx>
  • To: users@xxxxxxxxxxxxxxxx
  • Subject: Re: [mod-xslt users] XSLT2 and node-set() ?
  • Date: Sat, 18 Dec 2004 13:59:37 +0100
  • References: <20041213190952.GA3696@hwi>


  • On Mon, Dec 13, 2004 at 07:09:52PM +0000, joeyslists@xxxxxxxxxxxxx wrote:
    > Hi I would really like to make use of the XSLT node-set() function.
    > Does anyone know if/how this is possible with mod-xml2?
    >
    > The node-set() function will allow me to convert a Result Tree Fragment
    > (XML created and stored inside a variable) into a proper Node Set, so
    > that it can be re-used as input to other templates or XPath queries.
    >
    > http://www.exslt.org/ has implementations of node-set() for many XSLT
    > processors, but I could not get any working in mod-xslt2.
    Did you specify --enable-exslt to the configure script? It should be
    supported. If it doesn't work, it probably is a bug, either in libexslt
    or mod-xslt. Please let me know :)

    > Is mod-xslt2 supposed to implement XSLT standard 1 or standard 2? The
    > latter suggests that the node-set() function should be built-in. (Some
    > XSLT processors have even decided to implement RTFs as NodeSets.)
    mod-xslt2 uses libxslt, libexslt and libxml2, available at
    http://www.xmlsoft.org/. Take a look there, the documentation is
    quite complete. Almost everything supported by those libraries is
    supported by mod-xslt :)

    > For example, does anyone know of another way by which I may accept a
    > string of XML as a CGI parameter, and then appy-templates to that XML,
    > or query it with XPath?
    :), wow .. courious :)

    > PS, iff I find a solution, then this page may become more interesting!
    > http://hwi.ath.cx/xslt/live/jumpgate/jumpgate.xml

    Thanks,
    Cheers,
    Carlo

    --
    GPG Fingerprint: 2383 7B14 4D08 53A4 2C1A CA29 9E98 5431 1A68 6975
    -------------
    Asynchronous inputs are at the root of our race problems.
    -- D. Winker and F. Prosser

      Powered by Sympa