這是我的XML文檔,我需要在C#.NET創建這個XML文檔如何創建C#.NET中的XML文檔
<RoleHierarchyDetails xmlns="http://cts.com/rhms/RoleHierarchyEvent">
<RoleHierarchyDetail>
<AssociateID></AssociateID>
<UserName>Sandeep Mutha</UserName>
<RoleId>R_ID_0018</RoleId>
<RoleName>SBU2 Head</RoleName>
<PortfolioName>AXA SWISS</PortfolioName>
<PortfolioType>SBU2</PortfolioType>
<PortfolioId>222</PortfolioId>
<HierarchyId>HT_ID_001</HierarchyId>
<HierarchyName>BU Hierarchy</HierarchyName>
<AlternatePortfolioId></AlternatePortfolioId>
<AlternateNodeName></AlternateNodeName>
<ActiveFlag>1</ActiveFlag>
</RoleHierarchyDetail>
</RoleHierarchyDetails>
我需要UR幫助 預先感謝
做ü想通過運行C#來創造這種類型的XML文檔。淨。??? – Rudrik 2011-03-01 05:18:53