Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have XML code as follows


?xml version="1.0"?>
-<root>
-<Role Name="CONSLT">
<Category Name="EMR" General="No" Sitemap="Yes" SubCat="No" SeqNo="10" Desc="Others">

<Screen Name="Photo Capture" Path="../../Registration/PhotoCapture/PhotoCapture.aspx" SeqNo="1" ID="PHOTO1"> <Access_Rights AllowDelete="false" AllowModify="false" AllowAdd="false" AllowQuery="false"/>


<Screen Name="ServiceCalls" Path="../../HMSServiceCalls/HMSServiceCalls/HMSServiceCalls.aspx" SeqNo="6" ID="ServiceCalls"> <Access_Rights AllowDelete="False" AllowModify="False" AllowAdd="True" AllowQuery="True"/>


Screen Name="HelpVideos" Path="../../HMSServiceCalls/HelpVideos/HelpVideos.aspx" SeqNo="7" ID="HelpVideos"> <Access_Rights AllowDelete="False" AllowModify="False" AllowAdd="True" AllowQuery="True"/>







how to convert the above xml code into aspx page using visual studio.

What I have tried:

  i have XML code as follows


?xml version="1.0"?>
-<root> 
-<Role Name="CONSLT">
<Category Name="EMR" General="No" Sitemap="Yes" SubCat="No" SeqNo="10" Desc="Others"> 

<Screen Name="Photo Capture" Path="../../Registration/PhotoCapture/PhotoCapture.aspx" SeqNo="1" ID="PHOTO1"> <Access_Rights AllowDelete="false"   AllowModify="false"   AllowAdd="false" AllowQuery="false"/> 
</Screen>

<Screen Name="ServiceCalls" Path="../../HMSServiceCalls/HMSServiceCalls/HMSServiceCalls.aspx" SeqNo="6" ID="ServiceCalls"> <Access_Rights AllowDelete="False" AllowModify="False" AllowAdd="True" AllowQuery="True"/> 
</Screen> 

Screen Name="HelpVideos" Path="../../HMSServiceCalls/HelpVideos/HelpVideos.aspx" SeqNo="7" ID="HelpVideos"> <Access_Rights AllowDelete="False" AllowModify="False" AllowAdd="True" AllowQuery="True"/> 
</Screen> 

</Category>
 </Role> 
</root>


how to convert the above xml code into aspx page using visual studio.
Posted
Updated 11-Nov-17 22:24pm
Comments
CHill60 11-Nov-17 9:04am    
What have you tried?
Karthik_Mahalingam 11-Nov-17 10:18am    
what is the mapping relation ?

1 solution

There is no way VS can know how to translate/transform your XML into HTML, because there are no general rules for that...
There is the XSLT option open for you, which even can be debugged in VS...
You may stat with this list:
XML Tools in Visual Studio[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900