Hello.

Somebody contacted me directly today about a problem they were having with 
evaluating an XPath expression in an attribute of an extension element. 
(This person is using Xalan-J Interpretive.)  I pointed out the 
ElemExtensionCall.getAttribute method,[1] which allows you to treat an 
attribute in an extension element as an AVT and get the effective value of 
the attribute.

He seemed happy with that, but wanted to know how to treat an attribute as 
an XPath expression which could be evaluated to a node set.  So far as I 
can tell, there is no simple API that exists.  Instead users have had to 
do things along the lines of what Simon Kitching describes in [2].  Is 
anybody aware of a simpler way of doing this?  If not, is anybody aware of 
whether the project has ever received a request for a new feature along 
these lines?

Thanks,

Henry
[1] 
http://xml.apache.org/xalan-j/apidocs/org/apache/xalan/templates/ElemExtensionCall.html#getAttribute(java.lang.String,%20org.w3c.dom.Node,%20org.apache.xalan.transformer.TransformerImpl)
[2] http://marc.theaimsgroup.com/?l=xalan-j-users&m=102400418815043&w=2
------------------------------------------------------------------
Henry Zongaro      XSLT Processors Development
IBM SWS Toronto Lab   T/L 969-6044;  Phone +1 905 413-6044
mailto:[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to