RE: XalanNode.cloneNode() issue !!

2003-06-20 Thread KHARE,MAYANK (HP-India,ex2)
:-) Thanks again Mayank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 1:31 PM To: 'xalan-c-users@xml.apache.org' Subject: RE: XalanNode.cloneNode() issue !! Hi Mayank, The problem is you are initializing and shutting down Xa

RE: XalanNode.cloneNode() issue !!

2003-06-20 Thread david_n_bertoni
To: "'xalan-c-users@xml.apache.org'" | |cc: (bcc: David N Bertoni/Cambridge/IBM)

RE: XalanNode.cloneNode() issue !!

2003-06-20 Thread KHARE,MAYANK (HP-India,ex2)
bjects are so tricky. Probaly I'm missing something very basic here :-( Mayank -Original Message- From: Anthony Zawacki [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 9:17 AM To: KHARE,MAYANK (HP-India,ex2) Cc: 'xalan-c-users@xml.apache.org' Subject: Re: XalanNode.cloneNo

RE: XalanNode.cloneNode() issue !!

2003-06-20 Thread KHARE,MAYANK (HP-India,ex2)
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 9:14 AM To: 'xalan-c-users@xml.apache.org' Subject: Re: XalanNode.cloneNode() issue !! > I'm new to XSL and related technologies. Was trying my hands on Xalan > 1.5 library for C++ and faced th

Re: XalanNode.cloneNode() issue !!

2003-06-20 Thread Anthony Zawacki
This is just a guess, because a key portion of the code is missing (in the do xpath query stuff ...) My guess is that when you clone the node, it is still owned by the original document. When that document goes out of scope, the clone goes out of scope. So what you probably want to do is

Re: XalanNode.cloneNode() issue !!

2003-06-20 Thread david_n_bertoni
> I'm new to XSL and related technologies. Was trying my hands on Xalan 1.5 > library for C++ and faced the following issue: > > Actually I tried to perform a Xpath query on a XML document. Xpath Query is > working fine. The problem is to encapsulate the query result(XObjectPtr) > into my own c