You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Dave Brosius <db...@qis.net> on 2005/05/03 06:06:32 UTC
Confused again - please check
In org.apache.xalan.xsltc.dom.SAXImpl
is method:
public DTMAxisIterator getNthDescendant(int type, int n, boolean includeself)
{
DTMAxisIterator source = (DTMAxisIterator) new TypedDescendantIterator(type);
return new NthDescendantIterator(n);
}
Is the TypeDescendantIterator actually needed?
thanks, dave
Re: Confused again - please check
Posted by Henry Zongaro <zo...@ca.ibm.com>.
Hi, Dave.
"Dave Brosius" <db...@qis.net> wrote on 2005-05-03 12:06:32 AM:
> In org.apache.xalan.xsltc.dom.SAXImpl
> public DTMAxisIterator getNthDescendant(int type, int n, boolean
> includeself)
> {
> DTMAxisIterator source = (DTMAxisIterator) new
> TypedDescendantIterator(type);
> return new NthDescendantIterator(n);
> }
>
> Is the TypeDescendantIterator actually needed?
Good observation. No, the TypedDescendantIterator doesn't seem to be
needed.
Thanks,
Henry
------------------------------------------------------------------
Henry Zongaro Xalan development
IBM SWS Toronto Lab T/L 969-6044; Phone +1 905 413-6044
mailto:zongaro@ca.ibm.com
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org