Is it possible to test in an XSL(T)-stylesheet whether a string from the 
XML source is a valid XPath or not? As far as I know there is no 
possibility in the XSL(T)-standard. Maybe Xalan-C implements some extra 
functions or can be cheated :^)

HolgeR

For example:

Document:
<A>
   <TEST me="//x"/>
   <TEST me=""/>
</A>

The XSL(T)-Stylesheet should complain the XPath in Attribute 'me' of the 
second 'TEST' is illegal.

-- 
holger floerke                     d  o  c  t  r  o  n  i  c
email [EMAIL PROTECTED]         information publishing + retrieval
phone +49 2222 9292 90             http://www.doctronic.de

Reply via email to