Hi,
i have the following xml:
<?xml version="1.0" encoding="utf-8" ?><Templates><Template id="100" title="Contenttemplate-1" file="Content1.aspx"><Nodes><Node id="101"><title>itmanagement</title><file>itmanagement.aspx</file><Nodes><Node id="102"><title>Orga</title><file>orga.aspx</file></Node><node id="106"><title>person</title><file>person.aspx</file></node></Nodes></Node><Node id="103"><title>foo</title><file>foo.aspx</file></Node><Node id="104"><title>bar</title><file>bar.aspx</file></Node></Nodes></Template><Template id="200" name="Contenttemplate-2" File="Content2.aspx"><Nodes><Node id="201"><title>foo</title><file>foo.aspx</file></Node></Nodes></Template></Templates>
1.) I need to query all nodes under the TEMPLATE Element with the attribute ID = 200 but exclude the child NODES element(s)
2.) I need to query for example the NODE Element (ID=102) and get the parent Element of it
How could i achieve this?
Best regards,
Yavuz B.
My Sharepoint and Enterprise 2.0 Blog http://www.bogazci.com |Microsoft Sharepoint Resources & Blog List