Samling af links
Jeg har følgende XML data:-----------------------------------------------------------------
<LinkCategory Name="Hardware" >
<Link LinkName="hardwarelink1" LinkUrl="www.msn.com" PlusLink="False"/>
<Link LinkName="hardwarelink2" LinkUrl="www.msn.com" PlusLink="True"/>
<Link LinkName="hardwarelink3" LinkUrl="www.msn.com" PlusLink="True"/>
<Link LinkName="hardwarelink4" LinkUrl="www.msn.com" PlusLink="False"/>
<Link LinkName="hardwarelink5" LinkUrl="www.msn.com" PlusLink="True"/>
</LinkCategory>
<LinkCategory Name="Software" >
<Link LinkName="Softwarelink1" LinkUrl="www.msn.com" PlusLink="False"/>
<Link LinkName="Softwarelink2" LinkUrl="www.msn.com" PlusLink="True"/>
<Link LinkName="Softwarelink3" LinkUrl="www.msn.com" PlusLink="False"/>
<Link LinkName="Softwarelink4" LinkUrl="www.msn.com" PlusLink="False"/>
<Link LinkName="Softwarelink5" LinkUrl="www.msn.com" PlusLink="True"/>
</LinkCategory>
-----------------------------------------------------------------
Og jeg vil gerne på en eller anden måde samle de links med "PlusLink" sat til "True".
Mit output skal se ud som dette:
-----------------------------------------------------------------
David’s Plus hardware links:
hardwarelink2
hardwarelink3
hardwarelink5
Other Hardware links:
hardwarelink1
hardwarelink4
David’s Plus software links:
Softwarelink2
Softwarelink5
Other software links:
Softwarelink1
Softwarelink3
Softwarelink4
-----------------------------------------------------------------
Håber der en nogen der kna hjælpe!