Difference between revisions of "libxml"

(Documentation)
m
 
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:
  
 
== Articles / Tutorials ==
 
== Articles / Tutorials ==
 +
 +
*[https://love2d.org/forums/viewtopic.php?f=5&t=10809 Forum Post]
  
 
== Download ==
 
== Download ==
Line 12: Line 14:
  
 
For bugs or feature requests, please use the "Issues" section over at [https://github.com/admin36/libxml/issues github]
 
For bugs or feature requests, please use the "Issues" section over at [https://github.com/admin36/libxml/issues github]
 
== Documentation ==
 
  
 
== Documentation ==
 
== Documentation ==
Line 39: Line 39:
 
! align="left" style="padding-left:10px;" | Description
 
! align="left" style="padding-left:10px;" | Description
 
! align="left" style="padding-left:10px;" | Implemented  
 
! align="left" style="padding-left:10px;" | Implemented  
 +
! align="left" style="padding-left:10px;" | W3C
 
|-
 
|-
 
|[[libxml.dom.node|DOM Node]]
 
|[[libxml.dom.node|DOM Node]]
 
|style="padding-left:10px;"|The Node object represents a single node in the document tree
 
|style="padding-left:10px;"|The Node object represents a single node in the document tree
 +
|style="padding-left:10px;"|Yes
 
|style="padding-left:10px;"|Yes
 
|style="padding-left:10px;"|Yes
 
|-
 
|-
 
|[[libxml.dom.nodelist|DOM NodeList]]
 
|[[libxml.dom.nodelist|DOM NodeList]]
 
|style="padding-left:10px;"|The NodeList object represents an ordered list of nodes
 
|style="padding-left:10px;"|The NodeList object represents an ordered list of nodes
 +
|style="padding-left:10px;"|Yes
 
|style="padding-left:10px;"|Yes
 
|style="padding-left:10px;"|Yes
 
|-
 
|-
 
|[[libxml.dom.namednodemap|DOM NamedNodeMap]]
 
|[[libxml.dom.namednodemap|DOM NamedNodeMap]]
 
|style="padding-left:10px;"|The NamedNodeMap object represents an unordered list of nodes.  
 
|style="padding-left:10px;"|The NamedNodeMap object represents an unordered list of nodes.  
 +
|style="padding-left:10px;"|Yes
 
|style="padding-left:10px;"|Yes
 
|style="padding-left:10px;"|Yes
 
|-
 
|-
|[[libxml.dom.document|DOM document]]
+
|[[libxml.dom.document|DOM Document]]
 
|style="padding-left:10px;"|The Document object represents the entire XML/HTML document.
 
|style="padding-left:10px;"|The Document object represents the entire XML/HTML document.
 +
|style="padding-left:10px;"|Yes
 
|style="padding-left:10px;"|Yes
 
|style="padding-left:10px;"|Yes
 
|-
 
|-
 
|[[libxml.dom.element|DOM Element]]
 
|[[libxml.dom.element|DOM Element]]
 
|style="padding-left:10px;"|The Element object represents an element in an XML/HTML document
 
|style="padding-left:10px;"|The Element object represents an element in an XML/HTML document
 +
|style="padding-left:10px;"|Yes
 
|style="padding-left:10px;"|Yes
 
|style="padding-left:10px;"|Yes
 
|-
 
|-
 
|[[libxml.dom.attribute|DOM Attribute]]
 
|[[libxml.dom.attribute|DOM Attribute]]
 
|style="padding-left:10px;"|The Attr object represents an attribute of an Element object.
 
|style="padding-left:10px;"|The Attr object represents an attribute of an Element object.
 +
|style="padding-left:10px;"|Yes
 
|style="padding-left:10px;"|Yes
 
|style="padding-left:10px;"|Yes
 
|-
 
|-
 
|[[libxml.dom.text|DOM Text]]
 
|[[libxml.dom.text|DOM Text]]
 
|style="padding-left:10px;"|The Text object represents the textual content of an element or attribute.
 
|style="padding-left:10px;"|The Text object represents the textual content of an element or attribute.
 +
|style="padding-left:10px;"|Yes
 
|style="padding-left:10px;"|Yes
 
|style="padding-left:10px;"|Yes
 
|-
 
|-
 
|[[libxml.dom.cdata|DOM CDATA]]
 
|[[libxml.dom.cdata|DOM CDATA]]
 
|style="padding-left:10px;"|The CDATASection object represents a CDATA section in a document.
 
|style="padding-left:10px;"|The CDATASection object represents a CDATA section in a document.
 +
|style="padding-left:10px;"|Yes
 
|style="padding-left:10px;"|Yes
 
|style="padding-left:10px;"|Yes
 
|-
 
|-
 
|[[libxml.dom.comment|DOM Comment]]
 
|[[libxml.dom.comment|DOM Comment]]
 
|style="padding-left:10px;"|The Comment object represents the content of comment nodes in a document.
 
|style="padding-left:10px;"|The Comment object represents the content of comment nodes in a document.
|style="padding-left:10px;"|No
+
|style="padding-left:10px;"|Partial
 +
|style="padding-left:10px;"|Yes
 
|-
 
|-
 
|[[libxml.dom.DOMParser|DOM DOMParser]]
 
|[[libxml.dom.DOMParser|DOM DOMParser]]
 
|style="padding-left:10px;"|DOMParser object parses xml/html text and returns a DOM Object
 
|style="padding-left:10px;"|DOMParser object parses xml/html text and returns a DOM Object
 
|style="padding-left:10px;"|Yes
 
|style="padding-left:10px;"|Yes
 +
|style="padding-left:10px;"|No
 
|}
 
|}
 
 
  
 
{{#set:LOVE Version=Any}}
 
{{#set:LOVE Version=Any}}
 
{{#set:Description=Lua XML Library}}
 
{{#set:Description=Lua XML Library}}
 +
{{#set:Keyword=Serializing}}
 
[[Category:Libraries]]
 
[[Category:Libraries]]
 +
 +
== Other Languages ==
 +
{{i18n|libxml}}

Latest revision as of 00:23, 16 December 2019

Summary

libxml is a minimal XML Dom library which enables lovers to load, save, and traverse xml documents within their love2d applications

Articles / Tutorials

Download

Download libxml at github

Bugs / Feature Requests

For bugs or feature requests, please use the "Issues" section over at github

Documentation

Namespaces

Namespace Description Implemented
libxml libxml Root Namespace Yes
libxml.dom libxml Document Object Model namespace Yes

libxml DOM Object Reference

Object Description Implemented W3C
DOM Node The Node object represents a single node in the document tree Yes Yes
DOM NodeList The NodeList object represents an ordered list of nodes Yes Yes
DOM NamedNodeMap The NamedNodeMap object represents an unordered list of nodes. Yes Yes
DOM Document The Document object represents the entire XML/HTML document. Yes Yes
DOM Element The Element object represents an element in an XML/HTML document Yes Yes
DOM Attribute The Attr object represents an attribute of an Element object. Yes Yes
DOM Text The Text object represents the textual content of an element or attribute. Yes Yes
DOM CDATA The CDATASection object represents a CDATA section in a document. Yes Yes
DOM Comment The Comment object represents the content of comment nodes in a document. Partial Yes
DOM DOMParser DOMParser object parses xml/html text and returns a DOM Object Yes No

Other Languages