Daniel,
If I have XML that is being rendered in a Web Browser I don't have
control
over the XSL library they use - is there any way to easily get the same
functionality in firefox / internet explorer etc - As I dont think the
browsers fully support exslt yet?
as you suspected browsers do not support EXSLT at all or partially only
[1].
Even mozilla does not support the dyn extension package.
But there seems to be a solution for your problem [2].
This works as long as your references are element hierarchies -- but in
your
sample this is the case.
Since this is a pure XSLT 1.0 solution you can use that in the browser with
<?xml-stylesheet type="text/xsl" href="yourStylesheet.xsl"?>
in the XML files.
[1] https://developer.mozilla.org/en/EXSLT
[2]
http://stackoverflow.com/questions/3015942/retrieving-xml-node-from-a-path-specified-in-an-attribute-value-of-another-node/3017752#3017752
Mit besten Gruessen / Best wishes,
Hermann Stamm-Wilbrandt
Developer, XML Compiler, L3
WebSphere DataPower SOA Appliances
----------------------------------------------------------------------
IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschaeftsfuehrung: Dirk Wittkopp
Sitz der Gesellschaft: Boeblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
From: Daniel Laird <danieljlaird(_at_)hotmail(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Date: 08/13/2010 10:46 AM
Subject: Re: [xsl] Howto follow embedded Xpaths in XSL
All,
Many thanks for the feedback, I have now played with and used the
<dyn:evaluate> function and it all does what I want.
However this only works when I run the XML through a PC based XSL transform
library (libxslt, saxon etc).
If I have XML that is being rendered in a Web Browser I don't have control
over the XSL library they use - is there
any way to easily get the same functionality in firefox / internet explorer
etc - As I dont think the browsers fully support
exslt yet?
Many thanks for the help
Daniel Laird
--~------------------------------------------------------------------
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>
--~--