Plus, stree is going away with the new DTM implementation so it's
probably not worth the work.
Gary
Jason Harrop wrote:
>
> Yes, thanks Gary, you are quite right, my Java code is receiving stree's
> ElemImpl. I ended up doing what i needed to do with vanilla XSL -
> although its not as neat. Going through my classes and converting
> everything to the subset of DOM calls which stree supports doesn't
> thrill me at all! cheers, Jason
>
> Gary L Peskin wrote:
>
> > It sounds like the DOM implementation that you're using (probably stree)
> > just does not support the getAttributeNode(..) call. The stree DOM
> > implementation was designed to support XSLT and was not intended as a
> > full DOM implementation so it does not support all of the DOM calls.
> >
> > It does support getAttribute(...) which might get you what you need.
> >
> > Have a look at the class of nList.item(0) to see what DOM implementation
> > you're using.
> >
> > HTH,
> > Gary