summaryrefslogtreecommitdiffhomepage
path: root/xml.html.markdown
diff options
context:
space:
mode:
authorniuzhist <checkcheckzach@gmail.com>2014-05-31 14:13:23 -0700
committerniuzhist <checkcheckzach@gmail.com>2014-05-31 14:13:23 -0700
commit070df0635c70dd214fee43b522c2d55523c182f4 (patch)
tree6f7ee69c2d7c2199f6045e74ed516855e2ed8cc0 /xml.html.markdown
parent7a5b695486c1d0aead348aff09191f91559ab011 (diff)
XML: Chinese translation
Diffstat (limited to 'xml.html.markdown')
-rw-r--r--xml.html.markdown10
1 files changed, 5 insertions, 5 deletions
diff --git a/xml.html.markdown b/xml.html.markdown
index c072e0c7..1e1eff86 100644
--- a/xml.html.markdown
+++ b/xml.html.markdown
@@ -37,7 +37,7 @@ Unlike HTML, XML does not specifies how to display or to format data, just carry
</bookstore>
<!-- Above is a typical XML file.
- It starts with a declaration, informing some metadata (optional)
+ It starts with a declaration, informing some metadata (optional).
XML uses a tree structure. Above, the root node is 'bookstore', which has
three child nodes, all 'books'. Those nodes has more child nodes, and so on...
@@ -51,8 +51,8 @@ Unlike HTML, XML does not specifies how to display or to format data, just carry
Usually, the XML parser uses this information to store the data properly.
It is characterized by appearing in parenthesis within the opening tag
2 - Elements -> That's pure data.
- That's what the parser will retrive from the XML file.
- Elements appear between the open and close tags, without paranthesis. -->
+ That's what the parser will retrieve from the XML file.
+ Elements appear between the open and close tags, without parenthesis. -->
<!-- Below, an element with two attributes -->
@@ -64,7 +64,7 @@ Unlike HTML, XML does not specifies how to display or to format data, just carry
* Well-Formated Document x Validation
A XML document is well-formated if it is syntactically correct.
-However, is possible to inject more constraints in the document,
+However, it is possible to inject more constraints in the document,
using document definitions, such as DTD and XML Schema.
A XML document which follows a document definition is called valid,
@@ -100,7 +100,7 @@ With this tool, you can check the XML data outside the application logic.
<!-- The DTD starts with a declaration.
Following, the root node is declared, requiring 1 or more child nodes 'book'.
- Eeach 'book' should contain exactly one 'title' and 'price' and an attribute
+ Each 'book' should contain exactly one 'title' and 'price' and an attribute
called 'category', with "Literature" as its default value.
The 'title' and 'price' nodes contain a parsed character data.-->