[xml] adding attributes to nodeset



Using the API's

xmlXPathNodeSetCreate and xmlXPathNodeSetAdd




I am using this as i need to canonicalize a portion of the xml (sub-tree). 

Basically i am iterating over each node and recursively  adding the node and its children and next nodes to the nodeset  . 



I am able to add element nodes and the element content however after canonicalization i find that all attributes are missing. 


Is there a different API / option to add the attributes to the nodeset  ? 







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