2
我一直試圖在C#麻煩解析使用LINQ深層嵌套的屬性,以XML
<schema uri=http://blah.com/schema >
<itemGroups>
<itemGroup description="itemGroup1 label="itemGroup1">
<items>
<item description="The best" itemId="1" label="Nutella"/>
<item description="The worst" itemId="2" label="Vegemite"/>
</items>
</itemGroup>
</itemGroups>
</schema>
\itemGroup1\Nutella-The best
\itemGroup1\Vegemite-The worst
任何幫助或方向來解析這個XML,將不勝感激。
非常感謝!從未解析過xml,你的解釋非常有幫助。乾杯 – smashbourne 2010-09-12 05:30:54