& XSLT To EXSLT
Looking for following type of support. Does ESXLT have plans to help
in supporting the following? In other words support for something like
document-uri function of XSLT 2.0 as an extensiuon of XSLT 1.0. Thank
you.
When using xslt on the browser to transform static xml it woul be very
useful to be able to get the uri with parameters so the xslt could use
the parameters of the uri to conditionally determine what
"subtransform" to perform.
Condition
1) static xml on the server
2) perform xslt on the brower
3) xslt style sheet uses the parameters of the uri to decide what
transform to perform
In the example below page.xsl might
1) if uri is http://mywebsite.org/page.xml then create table of content
2) if uri is http://mywebsite.org/page.xml?page=1 then create page 1
2) if uri is http://mywebsite.org/page.xml?page=2 then create page 2
<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="page.xsl"?>
<pages>
<page>
<information> Page 1<information>
</page>
<page>
<information> Page 2<information>
</page>
</pages>
--
John Perkins
Salem, NH
_______________________________________________
exslt mailing list
list@[...].org
http://www.exslt.org/list