This is a discussion on How to generate nodes of XML in the required format? within the ASP and ASP.NET Programming forums, part of the Web Development category; Hi, I am getting XML file in the following format, <ViewCategory > <Menu Id="21" MenuName=&...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi, I am getting XML file in the following format, <ViewCategory > <Menu Id="21" MenuName="Test1" cId="2" CategoryName="Book"/> <Menu Id="21" MenuName="Test1" cId="3" CategoryName="Computer"/> <Menu Id="22" MenuName="Test2" cId="4" CategoryName="Book1"/> <Menu Id="21" MenuName="Test2" cId="5" CategoryName="Computer1"/> </ViewCategory> How to convert into the following format? <Menu Id="21" MenuName="Test1"> <Category cId="2" CategoryName="Book" /> <Category cId="3" CategoryName="Computer" /> </Menu> <Menu Id="22" MenuName="Test2"> <Category cId="4" CategoryName="Book"1 /> <Category cId="5" CategoryName="Computer1" /> </Menu> </ViewCategory> |
| Sponsored Links |
| |||
| Using For XML Explicit u can create customized XML Format |
![]() |
| Thread Tools | |
| Display Modes | |
| |
LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/asp-asp-net-programming/5245-how-generate-nodes-xml-required-format.html | |||
| Posted By | For | Type | Date |
| DiscussWeb IT Community - Technical Support and Technology Discussions | This thread | Refback | 02-13-2008 05:18 AM |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to Read xml nodes using XPathNavigator? | oxygen | C# Programming | 3 | 02-22-2008 10:29 PM |
| How do I generate a random number from php? | itbarota | PHP Programming | 2 | 09-25-2007 08:57 AM |
| Explain why encapsulation is required? | vigneshgets | C and C++ Programming | 1 | 08-01-2007 03:10 AM |
| How do I generate a random number from php? | kingmaker | PHP Programming | 2 | 07-24-2007 02:56 AM |
| Is it required ? | Maneel | Game Development | 4 | 03-14-2007 09:11 PM |