summaryrefslogtreecommitdiffhomepage
path: root/xml.html.markdown
diff options
context:
space:
mode:
authorLevi Bostian <levi.bostian@gmail.com>2015-10-01 09:34:55 -0500
committerLevi Bostian <levi.bostian@gmail.com>2015-10-01 09:34:55 -0500
commit3c6480da0cb4f27f4241abc58f821e540e731fb2 (patch)
tree3fa61543e458484b7accf96553112da4edb6fbe0 /xml.html.markdown
parent1717ee9d881366c069cbb6b3b9eab1a3050d3b4a (diff)
parent6f9ce2ebf10d94c00f555ad62abf0bb2820f2b13 (diff)
Merge pull request #1260 from elopio/patch-1
Fixed the description of attributes and elements.
Diffstat (limited to 'xml.html.markdown')
-rw-r--r--xml.html.markdown5
1 files changed, 3 insertions, 2 deletions
diff --git a/xml.html.markdown b/xml.html.markdown
index fce1a3a4..059ea132 100644
--- a/xml.html.markdown
+++ b/xml.html.markdown
@@ -49,10 +49,11 @@ Unlike HTML, XML does not specify how to display or to format data, just carry i
<!-- XML carries two kind of data:
1 - Attributes -> That's metadata about a node.
Usually, the XML parser uses this information to store the data properly.
- It is characterized by appearing in parenthesis within the opening tag
+ It is characterized by appearing with the format name="value" within the opening
+ tag.
2 - Elements -> That's pure data.
That's what the parser will retrieve from the XML file.
- Elements appear between the open and close tags, without parenthesis. -->
+ Elements appear between the open and close tags. -->
<!-- Below, an element with two attributes -->