XML DOM အကို

XML DOM အရ အားလုံး အချက်အလက် လိုက်သည်လိုက်

  • တစ်ရပ်လုံး အချက်အလက်လိုက်သည်
  • ခုနစ်အရာဝတ္တုတခုခု အရာဝတ္တုလိုက်သည်
  • XML အရာဝတ္တုတွင် အချက်အလက် အချက်အလက်လိုက်သည်
  • အချက်အလက်တခုခု အချက်အလက်လိုက်သည်
  • မှတ်ချက်များ မှတ်ချက်လိုက်သည်

DOM Example

အော်ခဲ့တာကျမ်းကို ကျွန်ုပ်ကျော် ကြည့်ရှုပါ ->段集27):

<?xml version="1.0" encoding="UTF-8"?>
段集10
段集9
  段集8
  段集7
  段集6
  段集5
  段集4
  <ISBN>9787539962771</ISBN>
段集2
<book category="ကလေးသူ">
  <title lang="zh">ကျွန်ုပ်တို့ အသက်မွေးမြူးသော ငွေရောင်းတိုက်</title>
  <author>လောင်းရှင်</author>
  <translator>ဒေါ်ကျော်</translator>
  <press>မနေ့ပြည်တွင်း စာအုပ် ထုတ်ဝေရေး နှင့် ပြုပြင်ရေး စင်တာ</press>
  <year>2009</year>
  <price>10</price>
  <ISBN>9787533259563</ISBN>
段集2
<book category="လက်ရသီသုတေသန">
  <title lang="zh">လူတို့ကို သိမြင်ချင်တာ သို့ ပြောင်းလဲစေရန်</title>
  <author>ဇီဗာမောင်</author>
  <author>ပီတာဟင်ဟန်နာ</author>
  <translator>ဝင်းရောင်း</translator>
  <press>နောင်တော် အသင်း</press>
  <year>2023</year>
  <price>68</price>
  <ISBN>9787305269387</ISBN>
段集2
<book category="နိုင်ငံရေး">
  <title lang="zh">သင် ပျံသန်းလိမ့်မယ်လား? မိုးနတ်ကဲ့သို့</title>
  <author>ရှစ်ချ်ခ်</author>
  <author>အန်နားရီးရား</author>
  <translator>ဂျိုမ်းလ်</translator>
  <press>ထိုင်ဟန် နိုင်ငံပြည်တွင်း နိုင်ငံရေး စကားလုံး နှင့် သုတေသန ပြုပြင်ရေး နှင့် စာပေ ထုတ်ဝေရေး နှင့် ပြုပြင်ရေး စင်တာ</press>
  <year>2023</year>
  <price>88</price>
  <ISBN>9787571019075</ISBN>
段集2
<book category="နိုင်ငံရေး" cover="ပေါင်းပိတ် စာအုပ်">
  <title lang="zh">အမေရိကန် လူမျိုးများ အကြောင်း</title>
  <author>တာကွန်းဗလီ</author>
  <translator>ဒေါ်ချမ်းမွေး</translator>
  <press>ဝိသုဝဏီ သုတေသနမြို့</press>
  <year>1989</year>
  <price>60</price>
  <ISBN>9787100124553</ISBN>
段集2
段集1

အပြင်းအထန် အခြေခံ <bookstore> လက်တွေးသည်。

အခြေခံ <bookstore> လက်တွေးတွင် အခြား လက်တွေးများအား ပါဝင်စေသည်。

အခြေခံ <bookstore> လက်တွေးသည် ၅ ခုရှိသော <book> လက်တွေးများကို ပါဝင်သည်。

ပထမ <book> လက်တွေးသည် ၆ ခုရှိသော လက်တွေးများကို ပါဝင်သည်: <title>、<author>、<press>、<year>、<price> နှင့် <ISBN>。

段集48

  • 段集47
  • 段集46
  • 段集45
  • 段集44
  • 段集43
  • 段集42

段集41

段集40

段集39

段集38段集5段集37

段集36 段集35 段集34

段集33

段集32段集31段集26

段集30

段集29

DOM သုံးစက် သုံးစံ

段集28 段集27段集26

段集25

段集24

段集23

  • 段集22
  • 段集21
  • 段集20
  • 段集19
  • 段集18

段集17

DOM သုံးစက် သုံးစံ

段集16

段集15

段集14段集13

段集12

段集11

段集10
  段集9
    段集8
    段集7
	段集6
    段集5
    段集4
	段集3
  段集2
段集1

在上面的 XML 中, 元素是 <book> 元素的第一个子节点,<ISBN> 元素是 <book> 元素的最后一个子节点。</p> <p>此外,<book> 元素是 <title>、<author>、<year>、<press>、<price> 和 <ISBN> 元素的父节点。</p> </section> <div class="prenextnav"> <ul> <li> 上一页 <a href="/my/xml/dom_intro.html" title="XML DOM အကျဉ်း">DOM 简介</a></li> <li> 下一页 <a href="/my/xml/dom_nodes_access.html" title="XML DOM အကို ခွင့်">DOM 访问节点</a></li> </ul> </div><div style="background-color:#fcfdf8; padding:0;"> </div> </div> <!-- maincontent end --> <div id="sidebar"> <div><h3><center> 工具箱 </center><h3> <h5 id="tools_reference"><a href="/my/xml/xml_reference.html">XML 参考手册</a></h5> <h5 id="tools_example"><a href="/my/xml/xml_examples.html">XML အမှတ်</a></h5> <h5 id="tools_quiz"><a href="/my/xml/xml_quiz.html">XML အစစ်</a></h5> </div> <div><h3><center> 赞助商链接 </center><h3> <div id="sbtg"> <script src="/myjs/zzsr.js"></script> </div> </div> </div> <div id="footer"> <p id="p1"> CodeW3C.com 提供的内容仅用于培训和测试,不保证内容的正确性。通过使用本站内容随之而来的风险与本站无关。版权所有,保留一切权利。 </p> <p id="p2"> <a href="/my/about/index.html" title="အခြေခံ CodeW3C.com">အခြေခံ CodeW3C.com</a> <a href="/my/about/about_helping.html" title="CodeW3C.com အကူအညီ">CodeW3C.com အကူအညီ</a> <a href="/my/about/about_use.html" title="အသုံးပြု အခြေခံ">အသုံးပြု အခြေခံ</a> <a href="/my/about/about_privacy.html" title="ယုံကြည်ရေး အခြေခံ">ယုံကြည်ရေး အခြေခံ</a> <a href="http://www.comfortsoftwaregroup.com/" target="_blank"><img src="/comfortsoftwaregroup.png"></a> <a href="http://www.ce4e.com/" target="_blank"><img src="/poweredby.png" alt="Ce4e.com အားဖြင့် လုပ်ဆောင်"></a> </p> </div> </div> <!-- wrapper end --> <script src="/myjs/tongji.js"></script> </body> </html>