well_formed

well_formed - Well-Formed XML Documents Basics: Respect...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Well-Formed XML Documents Basics: Respect tags: o matching o case sensitive Space characters Requirements: Start and end tags must match Element tags must be properly nested (+ Other syntactical requirements) How does an XML document look like? Browser: IE, Netscape Editors XML Notepad Command Line: msxml.exe A. Bellaachia Page: 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
XML Structure: Declaration Content Declaration: To specify that your document is XML you would begin your document with: <?xml version="1.0" encoding="UTF-8" standalone="yes/no" ?> Components: Version : Describes the version that is used in the document Encoding : Specifies the character encoding used in the document. Standalone : Must be the last attribute in the declaration . Specifies whether the document uses external markup declarations. The value for the standalone component is either “yes” or “no”. Content: Elements: ...<mytag attrOfmytag="val" . ..> ... </mytag>. .. | | | | | | | | | | | a matching
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 9

well_formed - Well-Formed XML Documents Basics: Respect...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online