Thimmegowda, Balaji wrote:
Hi,
The XSLT should first get the path from the paths.xml and search the
Input.xml to see if the node specified by the path exists. Can somebody
please let me know how to go about solving this.
In general, this kind of problem is solved by transforming into a new
XSLT file (xslt is xml and as such can easily be generated from xslt)
and run that. You can simply create the paths by doing a translate() or
replace() or whatever on the input (or request valid xpath syntax to
begin with, why invent a new syntax?). In the FAQ there are some
examples on how this can be done.
Cheers
-- Abel Braaksma
--~------------------------------------------------------------------
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>
--~--