XML ကျူတိုရီရယ်

XML ပင်မစာမျက်နှာ XML နိဒါန်း XML အသုံးပြုပုံ XML သစ်ပင် XML Syntax XML ဒြပ်စင်များ XML အရည်အချင်းများ XML Namespaces XML မျက်နှာပြင် XML Http တောင်းဆိုချက် XML Parser XML DOM XML XPath XML XSLT XML XQuery XML XLink XML စစ်ဆေးခြင်း XML DTD XML Schema XML ဆာဗာ XML နမူနာများ XML Quiz XML လက်မှတ်

XML AJAX

AJAX နိဒါန်း AJAX XMLHttp AJAX တောင်းဆိုချက် AJAX တုံ့ပြန်မှု AJAX XML ဖိုင် AJAX PHP AJAX ASP AJAX ဒေတာဘေ့စ် AJAX အပလီကေးရှင်းများ AJAX ဥပမာများ

XML DOM

DOM နိဒါန်း DOM Nodes DOM အသုံးပြုခြင်း DOM Node အချက်အလက် DOM Node စာရင်း DOM လမ်းလျှောက်ခြင်း။ DOM လမ်းကြောင်းပြခြင်း။ DOM တန်ဖိုးများရယူပါ။ DOM Change Nodes DOM သည် Nodes များကို ဖယ်ရှားပါ။ DOM သည် Nodes များကို အစားထိုးပါ။ DOM သည် Nodes ကိုဖန်တီးပါ။ DOM Add Nodes DOM Clone Nodes DOM ဥပမာများ

XPath ကျူတိုရီရယ်

XPath နိဒါန်း XPath Nodes XPath Syntax XPath Axes XPath အော်ပရေတာများ XPath ဥပမာများ

XSLT ကျူတိုရီရယ်

XSLT မိတ်ဆက် XSL ဘာသာစကားများ XSLT အသွင်ပြောင်း XSLT < template> XSLT <value-of> XSLT <for-every> XSLT <sort> XSLT <if> XSLT <choose> XSLT လျှောက်ထားပါ။ Client ပေါ်ရှိ XSLT ဆာဗာပေါ်ရှိ XSLT XSLT တည်းဖြတ် XML XSLT နမူနာများ

XQuery ကျူတိုရီရယ်

XQuery နိဒါန်း XQuery ဥပမာ XQuery FLWOR XQuery HTML XQuery စည်းမျဥ်းများ XQuery Syntax XQuery Add XQuery ကို ရွေးပါ။ XQuery လုပ်ဆောင်ချက်များ

XML DTD

DTD နိဒါန်း DTD ဆောက်လုပ်ရေးလုပ်ကွက်များ DTD ဒြပ်စင်များ DTD အရည်အချင်းများ DTD Elements များနှင့် Attr DTD အဖွဲ့အစည်းများ DTD ဥပမာများ

XSD Schema

XSD မိတ်ဆက် XSD လုပ်နည်း XSD <schema> XSD ဒြပ်စင်များ XSD ရည်ညွှန်းချက်များ XSD ကန့်သတ်ချက်များ

XSD Complex

XSD ဒြပ်စင်များ XSD ဗလာ XSD ဒြပ်စင်များသာ XSD စာသားသီးသန့် XSD ရောနှောထားသည်။ XSD အညွှန်းကိန်းများ XSD <any> XSD <anyAttribute> XSD အစားထိုးခြင်း။ XSD ဥပမာ

XSD ဒေတာ

XSD ကြိုး XSD ရက်စွဲ XSD ဂဏန်း XSD ထွေ XSD အကိုးအကား

ဝဘ် ဝန်ဆောင်မှုများ

XML ဝန်ဆောင်မှုများ XML WSDL XML ဆပ်ပြာ XML RDF XML RSS

ကိုးကား

DOM Node အမျိုးအစားများ DOM Node DOM NodeList DOM အမည်ရှိNodeMap DOM စာရွက်စာတမ်း DOM ဒြပ်စင် DOM ရည်ညွှန်းချက် DOM စာသား DOM CDATA DOM မှတ်ချက် DOM XMLHttp တောင်းဆိုချက် DOM Parser XSLT ဒြပ်စင်များ XSLT/XPath လုပ်ဆောင်ချက်များ

XML DOM - Attr Object


Attr အရာဝတ္ထု

Attr object သည် Element object တစ်ခု၏ attribute ကိုကိုယ်စားပြုသည်။ ရည်ညွှန်းချက်များအတွက် ခွင့်ပြုနိုင်သောတန်ဖိုးများကို DTD တွင် အများအားဖြင့် သတ်မှတ်ထားသည်။

Attr အရာဝတ္ထုသည် Node တစ်ခုလည်းဖြစ်သောကြောင့်၊ ၎င်းသည် Node အရာဝတ္ထု၏ ဂုဏ်သတ္တိများနှင့် နည်းလမ်းများကို အမွေဆက်ခံသည်။ သို့ရာတွင်၊ ရည်ညွှန်းချက်တစ်ခုတွင် parent node မပါရှိပြီး element တစ်ခု၏ ကလေး node တစ်ခုအဖြစ် မယူဆဘဲ Node ဂုဏ်သတ္တိများစွာအတွက် null ပြန်ပေးမည်ဖြစ်သည်။

Attr Object Properties

Property Description
baseURI Returns the absolute base URI of the attribute
isId Returns true if the attribute is known to be of type ID, otherwise it returns false
localName Returns the local part of the name of the attribute
name Returns the name of the attribute
namespaceURI Returns the namespace URI of the attribute
nodeName Returns the name of the node, depending on its type
nodeType Returns the type of the node
nodeValue Sets or returns the value of the node, depending on its type
ownerDocument Returns the root element (document object) for an attribute
ownerElement Returns the element node the attribute is attached to
prefix Sets or returns the namespace prefix of the attribute
schemaTypeInfo Returns the type information associated with this attribute
specified Returns true if the attribute value is set in the document, and false if it's a default value in a DTD/Schema.
textContent Sets or returns the textual content of an attribute
value Sets or returns the value of the attribute