Re: accessing nodes appended in Xalan

2001-07-02 Thread Charlie Hart
I have subscripted elements like: When I get a nodeRefList of all changed child elements using xpath, I will get element 2. I want to update the same element in another document. How can I find the index of the element node? thanks...charlie

file status after parse

2001-04-16 Thread Charlie Hart
After I parse the source file, is the file still open? I'm trying to rename it for archive and I get an errno of 13 (EACCES). thanks...charlie - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

finding given node in copy of DOM_Document

2001-04-11 Thread Charlie Hart
I have a Dom_Document and I have a node. I create a new document with the copy constructor. Is there any easy way to find the same node in the new document? thanks...charlie - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

xalan question

2001-04-05 Thread Charlie Hart
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

Re: Using both xalan and xerces

2001-03-30 Thread Charlie Hart
With my limited experience I will say yes it does and yes you can. However, if you make any change to the xerces dom (adding or deleting nodes), you need to create a new XalanDocument with the update Dom in order for the xalan doc to correctly reflect the xerces dom. Simply do XalanDoc = the

get children using attributes

2001-03-27 Thread Charlie Hart
Every element has a date and time attribute. I want to get only the elements that have certain timestamps, say only those after 03/01/2001. How can I select based on attribute or do I have to get them all and then look at the attributes and select based on the criteria? thanks...charlie