You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Charlie Hart <ch...@nc.rr.com> on 2001/03/23 21:44:23 UTC

getNode returns text instead of node

I have the following

  NodeRefList nodeset = getNodeRefList(_context,_expr) ;
  if ( nodeset.getLength() >= 1 )
    return ((XercesDocumentBridge*)(doc))->mapNode(nodeset.item(0));

the node returned is the text node of the node rather than the node. Any
idea on why?  thanks...charlie