JWorld@TW the best professional Java site in Taiwan
      註冊 | 登入 | 全文檢索 | 排行榜  

» JWorld@TW » .Net Framework  

按列印兼容模式列印這個話題 列印話題    把這個話題寄給朋友 寄給朋友    訂閱主題
reply to postflat modego to previous topicgo to next topic
本主題所含的標籤
無標籤
作者 [請問]如何用.net 2003 c#讀入xml語言
ivan88





發文: 2
積分: 0
於 2004-11-11 23:06 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
請問一下..要如何用.net2003將此一xml檔案讀成樹狀結構呢?
因為我只找到xml用treenode去寫就能讀入..
謝謝
xml原始檔如下:

?xml version="1.0" standalone="no" ?>
<manifest identifier="photo-MANIFEST-none" version="1.3"
xmlns="http://www.imsglobal.org/xsd/imscp_v1p1"
xmlns:adlcp="http://www.adlnet.org/xsd/adlcp_v1p3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.imsglobal.org/xsd/imscp_v1p1 imscp_v1p1.xsd
http://www.adlnet.org/xsd/adlcp_v1p3 adlcp_v1p3.xsd">
<metadata>
<schema>ADL SCORM</schema>
<schemaversion>CAM 1.3</schemaversion>
</metadata>

<organizations default="TOC1">
<organization identifier="TOC1">
<title>Photoshop Example -- None</title>
<item identifier="INTRO" identifierref="RESOURCE_INTRO">
<title>Introduction</title>
</item>
<item identifier="MODULE1">
<title>Module 1 -- Basics</title>
<item identifier="LESSON1" identifierref="RESOURCE_LESSON1">
<title>Lesson 1 -- Interface</title>
</item>
<item identifier="LESSON2" identifierref="RESOURCE_LESSON2">
<title>Lesson 2 -- Toolbox</title>
</item>
<item identifier="LESSON3" identifierref="RESOURCE_LESSON3">
<title>Lesson 3 -- Palettes</title>
</item>
<item identifier="LESSON4" identifierref="RESOURCE_LESSON4">
<title>Lesson 4 -- Layers</title>
</item>
</item>
<item identifier="MODULE2">
<title>Module 2 -- Enhancing Images</title>
<item identifier="LESSON5" identifierref="RESOURCE_LESSON5">
<title>Lesson 5 -- Color Balance</title>
</item>
<item identifier="LESSON6" identifierref="RESOURCE_LESSON6">
<title>Lesson 6 -- Brightness and Contrast</title>
</item>
<item identifier="LESSON7" identifierref="RESOURCE_LESSON7">
<title>Lesson 7 -- Hue and Saturation</title>
</item>
</item>
<item identifier="MODULE3">
<title>Module 3 -- Blending Images</title>
<item identifier="LESSON8" identifierref="RESOURCE_LESSON8">
<title>Lesson 8 -- Selection Tools</title>
</item>
<item identifier="LESSON9" identifierref="RESOURCE_LESSON9">
<title>Lesson 9 -- Transform</title>
</item>
</item>
<item identifier="EXAM">
<title>Exam</title>
<item identifier="QUESTION1" identifierref="RESOURCE_QUESTION1" parameters="?main=Exam&sub=Question 1">
<title>Question 1</title>
</item>
<item identifier="QUESTION2" identifierref="RESOURCE_QUESTION2" parameters="?main=Exam&sub=Question 2">
<title>Question 2</title>
</item>
<item identifier="QUESTION3" identifierref="RESOURCE_QUESTION3" parameters="?main=Exam&sub=Question 3">
<title>Question 3</title>
</item>
<item identifier="QUESTION4" identifierref="RESOURCE_QUESTION4" parameters="?main=Exam&sub=Question 4">
<title>Question 4</title>
</item>
<item identifier="QUESTION5" identifierref="RESOURCE_QUESTION5" parameters="?main=Exam&sub=Question 5">
<title>Question 5</title>
</item>
<item identifier="QUESTION6" identifierref="RESOURCE_QUESTION6" parameters="?main=Exam&sub=Question 6">
<title>Question 6</title>
</item>
<item identifier="QUESTION7" identifierref="RESOURCE_QUESTION7" parameters="?main=Exam&sub=Question 7">
<title>Question 7</title>
</item>
<item identifier="QUESTION8" identifierref="RESOURCE_QUESTION8" parameters="?main=Exam&sub=Question 8">
<title>Question 8</title>
</item>
<item identifier="QUESTION9" identifierref="RESOURCE_QUESTION9" parameters="?main=Exam&sub=Question 9">
<title>Question 9</title>
</item>
</item>
</organization>
</organizations>
<resources>
<resource identifier="RESOURCE_INTRO" adlcp:scormType="asset" type="webcontent" href="intro.htm">
<file href="intro.htm" />
<file href="images/headerside.gif" />
<file href="images/headertop.gif" />
<file href="images/pssidebar.gif" />
</resource>
<resource identifier="RESOURCE_LESSON1" adlcp:scormType="asset" type="webcontent" href="Lesson1.htm">
<file href="Lesson1.htm" />
<file href="images/EndOfLesson.gif" />
<file href="images/LessonTitle1.gif" />
<file href="images/headerside.gif" />
<file href="images/headertop.gif" />
<file href="images/interfacesmall.jpg" />
<file href="images/pssidebar.gif" />
</resource>
<resource identifier="RESOURCE_LESSON2" adlcp:scormType="asset" type="webcontent" href="Lesson2.htm">
<file href="Lesson2.htm" />
<file href="images/EndOfLesson.gif" />
<file href="images/HandTool.gif" />
<file href="images/LessonTitle2.gif" />
<file href="images/ZoomToolIcon.gif" />
<file href="images/box.gif" />
<file href="images/colorselect.gif" />
<file href="images/enhancementtools.gif" />
<file href="images/eyedroppertool.gif" />
<file href="images/headerside.gif" />
<file href="images/headertop.gif" />
<file href="images/navagationtools.gif" />
<file href="images/objecttools.gif" />
<file href="images/pssidebar.gif" />
<file href="images/selectiontools.gif" />
<file href="images/toolbox.gif" />
</resource>
<resource identifier="RESOURCE_LESSON3" adlcp:scormType="asset" type="webcontent" href="Lesson3.htm">
<file href="Lesson3.htm" />
<file href="images/EndOfLesson.gif" />
<file href="images/LessonTitle3.gif" />
<file href="images/defaultpalettes.gif" />
<file href="images/headerside.gif" />
<file href="images/headertop.gif" />
<file href="images/pssidebar.gif" />
</resource>
<resource identifier="RESOURCE_LESSON4" adlcp:scormType="asset" type="webcontent" href="Lesson4.htm">
<file href="Lesson4.htm" />
<file href="images/37.gif" />
<file href="images/EndOfLesson.gif" />
<file href="images/LessonTitle4.gif" />
<file href="images/eyeicon.gif" />
<file href="images/flatlayers.gif" />
<file href="images/headerside.gif" />
<file href="images/headertop.gif" />
<file href="images/layerarrows.gif" />
<file href="images/layers.gif" />
<file href="images/linkicon.gif" />
<file href="images/newlayericon.gif" />
<file href="images/paintbrush.gif" />
<file href="images/pssidebar.gif" />
</resource>
<resource identifier="RESOURCE_LESSON5" adlcp:scormType="asset" type="webcontent" href="Lesson5.htm">
<file href="Lesson5.htm" />
<file href="images/EndOfLesson.gif" />
<file href="images/LessonTitle5.gif" />
<file href="images/Tree-and-DragonsGreen.jpg" />
<file href="images/Tree-and-Dragonsnot-Green.jpg" />
<file href="images/box.gif" />
<file href="images/colorbalancebox.gif" />
<file href="images/colorbalancemenu2.gif" />
<file href="images/headerside.gif" />
<file href="images/headertop.gif" />
<file href="images/pssidebar.gif" />
</resource>
<resource identifier="RESOURCE_LESSON6" adlcp:scormType="asset" type="webcontent" href="Lesson6.htm">
<file href="Lesson6.htm" />
<file href="images/EndOfLesson.gif" />
<file href="images/Jar-GateDark.jpg" />
<file href="images/Jar-GateLight.jpg" />
<file href="images/LessonTitle6.gif" />
<file href="images/box.gif" />
<file href="images/brightnesscontrastbox.gif" />
<file href="images/brightnesscontrastmenu.gif" />
<file href="images/headerside.gif" />
<file href="images/headertop.gif" />
<file href="images/pssidebar.gif" />
</resource>
<resource identifier="RESOURCE_LESSON7" adlcp:scormType="asset" type="webcontent" href="Lesson7.htm">
<file href="Lesson7.htm" />
<file href="images/Circular-GateDark.jpg" />
<file href="images/Circular-GateLight.jpg" />
<file href="images/EndOfLesson.gif" />
<file href="images/LessonTitle7.gif" />
<file href="images/box.gif" />
<file href="images/headerside.gif" />
<file href="images/headertop.gif" />
<file href="images/huesaturationbox.gif" />
<file href="images/huesaturationmenu.gif" />
<file href="images/pssidebar.gif" />
</resource>
<resource identifier="RESOURCE_LESSON8" adlcp:scormType="asset" type="webcontent" href="Lesson8.htm">
<file href="Lesson8.htm" />
<file href="images/Addition.gif" />
<file href="images/EndOfLesson.gif" />
<file href="images/IntersectionIcon.gif" />
<file href="images/LessonTitle8.gif" />
<file href="images/MagicWandBar.gif" />
<file href="images/MagicWandIcon.gif" />
<file href="images/Selection.gif" />
<file href="images/SubtractionIcon.gif" />
<file href="images/addtosubtractfromselection.gif" />
<file href="images/dafbackground.jpg" />
<file href="images/dafmagicselect.jpg" />
<file href="images/headerside.gif" />
<file href="images/headertop.gif" />
<file href="images/lassotools.gif" />
<file href="images/marqueetools.gif" />
<file href="images/originaldaf.jpg" />
<file href="images/pssidebar.gif" />
<file href="images/selectiontools.gif" />
<file href="images/singledafselection.jpg" />
</resource>
<resource identifier="RESOURCE_LESSON9" adlcp:scormType="asset" type="webcontent" href="Lesson9.htm">
<file href="Lesson9.htm" />
<file href="images/EndOfLesson.gif" />
<file href="images/LessonTitle9.gif" />
<file href="images/TransformFlyout.gif" />
<file href="images/birdfeeder.jpg" />
<file href="images/birdfeederdistort.gif" />
<file href="images/birdfeederflip.gif" />
<file href="images/birdfeederperspective.gif" />
<file href="images/birdfeederrotated.jpg" />
<file href="images/birdfeederscaled.jpg" />
<file href="images/birdfeederskewed.gif" />
<file href="images/box-distort.gif" />
<file href="images/box-flip.gif" />
<file href="images/box-perspective.gif" />
<file href="images/box-rotate.gif" />
<file href="images/box-scale.gif" />
<file href="images/box-skew.gif" />
<file href="images/box.gif" />
<file href="images/headerside.gif" />
<file href="images/headertop.gif" />
<file href="images/pssidebar.gif" />
<file href="images/transformCheck.gif" />
<file href="images/transformX.gif" />
</resource>
<resource identifier="RESOURCE_QUESTION1" adlcp:scormType="sco" type="webcontent" href="Question1.htm">
<file href="Question1.htm" />
<file href="util/Photoshop_APIWrapper.js" />
</resource>
<resource identifier="RESOURCE_QUESTION2" adlcp:scormType="sco" type="webcontent" href="Question2.htm">
<file href="Question2.htm" />
<file href="util/Photoshop_APIWrapper.js" />
</resource>
<resource identifier="RESOURCE_QUESTION3" adlcp:scormType="sco" type="webcontent" href="Question3.htm">
<file href="Question3.htm" />
<file href="util/Photoshop_APIWrapper.js" />
</resource>
<resource identifier="RESOURCE_QUESTION4" adlcp:scormType="sco" type="webcontent" href="Question4.htm">
<file href="Question4.htm" />
<file href="util/Photoshop_APIWrapper.js" />
</resource>
<resource identifier="RESOURCE_QUESTION5" adlcp:scormType="sco" type="webcontent" href="Question5.htm">
<file href="Question5.htm" />
<file href="util/Photoshop_APIWrapper.js" />
</resource>
<resource identifier="RESOURCE_QUESTION6" adlcp:scormType="sco" type="webcontent" href="Question6.htm">
<file href="Question6.htm" />
<file href="util/Photoshop_APIWrapper.js" />
</resource>
<resource identifier="RESOURCE_QUESTION7" adlcp:scormType="sco" type="webcontent" href="Question7.htm">
<file href="Question7.htm" />
<file href="util/Photoshop_APIWrapper.js" />
</resource>
<resource identifier="RESOURCE_QUESTION8" adlcp:scormType="sco" type="webcontent" href="Question8.htm">
<file href="Question8.htm" />
<file href="util/Photoshop_APIWrapper.js" />
</resource>
<resource identifier="RESOURCE_QUESTION9" adlcp:scormType="sco" type="webcontent" href="Question9.htm">
<file href="Question9.htm" />
<file href="util/Photoshop_APIWrapper.js" />
</resource>
</resources>
</manifest>


reply to postreply to post
話題樹型展開
人氣 標題 作者 字數 發文時間
5348 [請問]如何用.net 2003 c#讀入xml語言 ivan88 13812 2004-11-11 23:06
4639 Re:[請問]如何用.net 2003 c#讀入xml語言 asker 31 2004-11-15 11:58
4549 Re:[請問]如何用.net 2003 c#讀入xml語言 Davidsiwa 245 2004-11-15 15:27
4584 Re:[請問]如何用.net 2003 c#讀入xml語言 ray_linn 569 2004-11-15 17:12
4552 Re:[請問]如何用.net 2003 c#讀入xml語言 Davidsiwa 413 2004-11-15 18:11
4377 Re:[請問]如何用.net 2003 c#讀入xml語言 aladdin 372 2004-12-16 09:11
4383 Re:[請問]如何用.net 2003 c#讀入xml語言 ray_linn 135 2004-12-16 12:19
4582 Re:[請問]如何用.net 2003 c#讀入xml語言 ivan88 23 2004-11-22 13:15
4225 Re:[請問]如何用.net 2003 c#讀入xml語言 hambking 66 2005-04-29 10:15
4114 Re:[請問]如何用.net 2003 c#讀入xml語言 StephenHuang 71 2006-03-10 15:22
» JWorld@TW »  .Net Framework

reply to postflat modego to previous topicgo to next topic
  已讀文章
  新的文章
  被刪除的文章
Jump to the top of page

JWorld@TW 本站商標資訊

Powered by Powerful JuteForum® Version Jute 1.5.8