From 6c3fb00239fc0a6bb518a5b086827140403bbb1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Guilherme=20Farias=20Duda?= Date: Fri, 14 Mar 2014 14:37:48 -0200 Subject: Create xml.html.markdown --- xml.html.markdown | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 xml.html.markdown (limited to 'xml.html.markdown') diff --git a/xml.html.markdown b/xml.html.markdown new file mode 100644 index 00000000..4063afdc --- /dev/null +++ b/xml.html.markdown @@ -0,0 +1,7 @@ +--- +language: xml +filename: learnxml.xml +contributors: + - ["João Farias", "https://github.com/JoaoGFarias"] +--- + -- cgit v1.2.3 From 91bab3c90cd8b8b16521b7359977edcd90bc6bdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Guilherme=20Farias=20Duda?= Date: Fri, 14 Mar 2014 15:53:38 -0200 Subject: XML - Syntax and Document Definition using DTD The only problem was highlighting the DTD code without breaking the XML code block. --- xml.html.markdown | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) (limited to 'xml.html.markdown') diff --git a/xml.html.markdown b/xml.html.markdown index 4063afdc..349d4763 100644 --- a/xml.html.markdown +++ b/xml.html.markdown @@ -5,3 +5,127 @@ contributors: - ["João Farias", "https://github.com/JoaoGFarias"] --- +XML is a markup language designed to store and transport data. + +Unlike HTML, XML does not specifies how to display or to format data, just carry it. + +* XML Syntax + +```XML + + + + + + Everyday Italian + Giada De Laurentiis + 2005 + 30.00 + + + Harry Potter + J K. Rowling + 2005 + 29.99 + + + Learning XML + Erik T. Ray + 2003 + 39.95 + + + + + + + + + + +computer.gif + + +``` + +* 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, +using document definitions, such as DTD and XML Schema. + +A XML document which follows a document definition is called valid, +regarding that document. + +With this tool, you can check the XML data outside the application logic. + +```XML + + + + + + + + Everyday Italian + 30.00 + + + + + + + + + + +]> + + + + + + + + + + + + + +]> + + + + Everyday Italian + 30.00 + + + + +``` + + + -- cgit v1.2.3 From 4f540a6f6e4bb5a520988fe8a8822c259dc3d495 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 11 May 2014 20:56:22 -0230 Subject: Fix xml --- xml.html.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xml.html.markdown') diff --git a/xml.html.markdown b/xml.html.markdown index 349d4763..c072e0c7 100644 --- a/xml.html.markdown +++ b/xml.html.markdown @@ -11,7 +11,7 @@ Unlike HTML, XML does not specifies how to display or to format data, just carry * XML Syntax -```XML +```xml @@ -72,7 +72,7 @@ regarding that document. With this tool, you can check the XML data outside the application logic. -```XML +```xml -- cgit v1.2.3 From 070df0635c70dd214fee43b522c2d55523c182f4 Mon Sep 17 00:00:00 2001 From: niuzhist Date: Sat, 31 May 2014 14:13:23 -0700 Subject: XML: Chinese translation --- xml.html.markdown | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'xml.html.markdown') 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 + That's what the parser will retrieve from the XML file. + Elements appear between the open and close tags, without parenthesis. --> @@ -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. -- cgit v1.2.3 From c93bb219f50b22105e51082824bdf0c98b3fc2b3 Mon Sep 17 00:00:00 2001 From: niuzhist Date: Sat, 31 May 2014 15:18:05 -0700 Subject: remove white space at the end of both xml files --- xml.html.markdown | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'xml.html.markdown') diff --git a/xml.html.markdown b/xml.html.markdown index 1e1eff86..94fc93f4 100644 --- a/xml.html.markdown +++ b/xml.html.markdown @@ -123,9 +123,4 @@ With this tool, you can check the XML data outside the application logic. 30.00 - - -``` - - - +``` \ No newline at end of file -- cgit v1.2.3 From 274ecf07e1187eb83af0cc243b7625451c02d5d8 Mon Sep 17 00:00:00 2001 From: Dreftymac Date: Wed, 11 Mar 2015 17:38:42 -0700 Subject: Update xml.html.markdown --- xml.html.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xml.html.markdown') diff --git a/xml.html.markdown b/xml.html.markdown index 94fc93f4..fce1a3a4 100644 --- a/xml.html.markdown +++ b/xml.html.markdown @@ -7,7 +7,7 @@ contributors: XML is a markup language designed to store and transport data. -Unlike HTML, XML does not specifies how to display or to format data, just carry it. +Unlike HTML, XML does not specify how to display or to format data, just carry it. * XML Syntax @@ -123,4 +123,4 @@ With this tool, you can check the XML data outside the application logic. 30.00 -``` \ No newline at end of file +``` -- cgit v1.2.3 From 6f9ce2ebf10d94c00f555ad62abf0bb2820f2b13 Mon Sep 17 00:00:00 2001 From: Leo Arias Date: Wed, 30 Sep 2015 11:36:34 -0600 Subject: Fixed the description of attributes and elements. Fixes issue #1154 --- xml.html.markdown | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xml.html.markdown') 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 + Elements appear between the open and close tags. --> -- cgit v1.2.3 From 960ee4a1856db8eadb96277bb2422edfa8f2a81c Mon Sep 17 00:00:00 2001 From: Gabriel Halley Date: Wed, 7 Oct 2015 23:11:24 -0400 Subject: removing whitespace all over --- xml.html.markdown | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'xml.html.markdown') diff --git a/xml.html.markdown b/xml.html.markdown index 059ea132..d407512d 100644 --- a/xml.html.markdown +++ b/xml.html.markdown @@ -38,10 +38,10 @@ Unlike HTML, XML does not specify how to display or to format data, just carry i @@ -54,8 +54,8 @@ Unlike HTML, XML does not specify how to display or to format data, just carry i 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. --> - - + + computer.gif @@ -68,14 +68,14 @@ A XML document is well-formated if it is syntactically correct. 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, -regarding that document. +A XML document which follows a document definition is called valid, +regarding that document. With this tool, you can check the XML data outside the application logic. ```xml - -- cgit v1.2.3