On Tue, 19 Mar 2002, Tom Preston wrote:

> Yes. Of course I was using the wrong syntax to get a list of Attributes.
> This way I will get list of Attributes or Elements...I can test using
> instanceof whether to cast to Attribute or Element and problem solved.
> Thanks.

Well, since the last step of the location path is an attribute-step
(it starts with '@'), then you're guaranteed to only get back attributes,
not elements.

        -bob



_______________________________________________
Jaxen-interest mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jaxen-interest

Reply via email to