Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Reply
Please help in preparing xml file from another raw xml file using C#.net programmatically
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
chiru ommi
12y
1.2k
1
Reply
Hi
Please help in preparing the xml dynamically ( programmatically) from another raw xml file( input file)
my raw xml file is as below
******************************************
<browse>
<efsName>JTEST5</efsName>
<icon>user_16.png</icon>
<folders>
<folder>
<folderName>Application</folderName>
<foldericon>files_16.png</foldericon>
<source>
<sourceName>Document Correspondence - gm22_1.gif</sourceName>
<sourceId>2011-11-24 03:48:14.677407O01</sourceId>
<key>5</key>
<sourceType>EFSDOC</sourceType>
<sourceIcon>document_16.png</sourceIcon>
</source>
</folder>
<folder>
<folderName>Approval Form</folderName>
<foldericon>files_16.png</foldericon>
<source>
<sourceName>Document tes - Index.JPG</sourceName>
<sourceId>2012-01-17 05:24:04.360768O01</sourceId>
<key>6</key>
<sourceType>EFSDOC</sourceType>
<sourceIcon>document_16.png</sourceIcon>
</source>
</folder>
</folders>
<businessArea>INSURANCE</businessArea>
<ownerField>FPCD</ownerField>
</browse>
***************************************
Now my new xml file is below (more this is need to be prepare programmaticlly using C#.net)
<browse>
<user text="JTEST5" icon="user_16.png">
<folder text="Application" icon="files_16.png">
<source text="Document Correspondence - gm22_1.gif" sourceID="2011-11-24 03:48:14.677407O01" key="5" sourceType="EFSDOC" icon="document_16.png"></source>
</folder>
<folder text="Approval Form" icon="files_16.png">
<source text="Document tes - Index.JPG " sourceId="2012-01-17 05:24:04.360768O01" key="6" sourceType="EFSDOC" icon="document_16.png"></source>
</folder>
</user>
</browse>
Hence please help out in this
Thanks in advance
Thanks
Chiranjeevi
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Regular expression validation
Seperate characters of an image