G
graphicsxp
Hi,
I' ve converted an HTML page to valid XML document and now I want to
find a specific node in the hierarchy.
All I now is the id of one of its parents and the path from the parent
to the node I'm looking for :
<div id="core">
<div class="colFormat4">
<div class="colFormat1 articleType">
<div class="blocE1B-1r">
<h5>
<a href="/societe">
<text>hello</text>
</a>
<text>some text</text>
</h5>
<h1>
Node I'm looking for
So I need to find the node with id="core" and then since I know that
the path from the parent is div/div/div/h1, what would be the LINQ
code for that ?
Thanks
I' ve converted an HTML page to valid XML document and now I want to
find a specific node in the hierarchy.
All I now is the id of one of its parents and the path from the parent
to the node I'm looking for :
<div id="core">
<div class="colFormat4">
<div class="colFormat1 articleType">
<div class="blocE1B-1r">
<h5>
<a href="/societe">
<text>hello</text>
</a>
<text>some text</text>
</h5>
<h1>
Node I'm looking for
So I need to find the node with id="core" and then since I know that
the path from the parent is div/div/div/h1, what would be the LINQ
code for that ?
Thanks