I am trying to select a set of nodes in an xml document. (like xmlDocument.Sel ectNodes(xPath) ) but the nodes are at different levels. so am not getting all the node with that node name in all the levels.
how to select nodes with a specific name which are at different level?
thanx in advance.
User Profile
Collapse
-
are you familiar with docx package structure!
I am required to insert bullets to a list of items in a docx document.
forexample i have done.
<w:p w:rsidR="00FA3E 6F" w:rsidRDefault= "00FA3E6F" w:rsidP="00D335 6D">
- <w:pPr>
- <w:numPr>
<w:ilvl w:val="0" />
<w:numId w:val="0" />
</w:numPr>
</w:pPr>
- <w:r>
<w:t>A</w:t>... -
Thanx for early response Mishra.
the namespace uri returned was null string. may thats d reason. -
I want to put prefix a node with "w"
Hi,
I need to put prefixed nodes in the document like <w:footnotes ...>...</w:footnotes>.
i tried providing the prefix all the ways possible like...
1)
XmlElement RootElement = masterFootNoteD ocument.CreateE lement("w", "footnotes" , childDocument.N amespaceURI);
2)
RootElement.Pre fix = "w";
3)
XmlElement RootElement = masterFootNoteD ocument.CreateE lement("w:footn otes",...
No activity results to display
Show More
Leave a comment: