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 :)
--
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