Hi Mukul, That's probably by design. importNode() is only defined to copy over certain things. Is there a specific reason that you think you need to do this?
Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] Mukul Gandhi <[email protected]> wrote on 05/18/2009 08:05:56 AM: > Hi all, > I have a PSVI enabled element node as below: > > PSVIElementNSImpl elemPSVINode = ... > > I need to do an importNode as below (with deep copying). > > PSVIDocumentImpl doc = new PSVIDocumentImpl(); > Node node = doc.importNode(elemPSVINode, true); > doc.appendChild(node); > > Here method importNode doesn't seem to copy PSVI information from the > source node (it copies all other properties of the element tree). > > How do I use importNode where I am able to copy PSVI information from > source to destination? It seems I may have to implement a custom > importNode for PSVIDocumentImpl :-(. Should I attempt this? Or does > something already exists in Xerces for this? > > -- > Regards, > Mukul Gandhi > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]
