Hi Charlie,

Are you sure you're not just getting one of the text node children of the
element?  I can't tell anything from this code because I have no idea what
it's doing and what the tree looks like.  Can you reduce this to a small
input document and stylesheet, or are you building this document
dynamically?

Dave



                                                                                       
                                           
                    Charlie Hart                                                       
                                           
                    <[EMAIL PROTECTED]        To:     xerces forum 
<[EMAIL PROTECTED]>                                       
                    com>                 cc:     (bcc: David N Bertoni/CAM/Lotus)      
                                           
                                         Subject:     xalan question                   
                                           
                    04/05/2001                                                         
                                           
                    06:28 AM                                                           
                                           
                    Please                                                             
                                           
                    respond to                                                         
                                           
                    xerces-c-dev                                                       
                                           
                                                                                       
                                           
                                                                                       
                                           



Please excuse the non-xerces posting but I have tried posting this to
xalan-c-dev but it never appears on the posting so I am trying it here.

I have the following

NodeRefList nodeset = getNodeRefList(_context,_expr) ;
if ( nodeset.getLength() >= 1 )
  DOM_NOde aNode =
(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



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






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

Reply via email to