Re: [xml] How do you detect if a xml file has a root node??

Kali, Jayashree wrote:
Thanks for your instant reply. But my requirement is if the first node
is the main node containing other nodes I need to ignore it. But if it
contains that data then I need to include it.

Can anyone suggest me a method to do it.

You should look into XSL. You can apply transformations that can totally change the document structure using libxslt.

- Rush

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]