Community-Credit.com | NonProfitWays.com | SOAPitstop.com   Skin:   
      User: Not logged in 
Home
Newsletter Signup
XSLT Library
Latest XML Blogs
Featured Examples
Presentations
Featured Articles
Book Chapters
Training Courses
Events
NewsGroups
 
Discussions
Examples
Tutorials
Tools
Articles
Resources
Websites
 
Sign In
My Profile
My Articles
My Examples
My Favorites
My Resources
Add a Resource
Logout
 
About Me
My Blog
HeadGeek Articles
Talking Portfolio
Resume
Pictures
World Trip Pics

Effective XML: 50 Specific Ways to Improve Your XML Chapter 1

10 11 12 13 14 15 16 17 18 19 20 

29837 01 pp001-288 r9ah.ps  8/18/03  4:40 PM  Page 1
Item 1
Include an XML Declaration
Although XML declarations are optional, every XML document should
have one. An XML declaration helps both human users and automated
software identify the document as XML. It identifies the version of XML
in use, specifies the character encoding, and can even help optimize the
parsing. Most importantly, it’s a crucial clue that what you’re reading is in
fact an XML document in environments where file type information is
unavailable or unreliable.
The following are all legal XML declarations.
<?xml version="1.0"?>
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<?xml version="1.0" standalone="yes"?>
In general the XML declaration must be the first thing in the XML docu-
ment. It cannot be preceded by any comments, processing instruction, or
1
"/>
29837 01 pp001-288 r9ah.ps  8/18/03  4:40 PM  Page 1
Item 1
Include an XML Declaration
Although XML declarations are optional, every XML document should
have one. An XML declaration helps both human users and automated
software identify the document as XML. It identifies the version of XML
in use, specifies the character encoding, and can even help optimize the
parsing. Most importantly, it’s a crucial clue that what you’re reading is in
fact an XML document in environments where file type information is
unavailable or unreliable.
The following are all legal XML declarations.
<?xml version="1.0"?>
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<?xml version="1.0" standalone="yes"?>
In general the XML declaration must be the first thing in the XML docu-
ment. It cannot be preceded by any comments, processing instruction, or
1

10 11 12 13 14 15 16 17 18 19 20 

Fans of "The Office"
Dwight Bobbleheads are here!
  “It's me! I'm the bobblehead! Yes!”



Advertise on XMLPitstop

Advertise on XMLPitstop


EggHead Cafe
Web Servicee development
DotNetSlackers
laser hair removal
electronic water conditioner
Pet Supplies
online business degree
email security
invoice factoring
Wedding Favors
Theme Parties
Accredited Degrees
Color Laser Printer

Interested in Text ads?
1,812 Total Members
68 members(last 30 days)
17 members(last 7 days)
0 members(today)

1,451 Total Discussions
14 Posts(last 30 days)
3 Posts(last 7 days)
0 Posts(today)

7,320 Total Blog Posts
1,275 Blogs(last 30 days)
321 Blogs(last 7 days)
2 Blogs(today)

8,699 Newsgroup Posts
0 Posts(last 30 days)
0 Posts(last 7 days)
0 Posts(today)

13,737 Total Resources
26 Resources(last 30 days)
21 Resources(last 7 days)
0 Resources(today)


 

David Silverlight's XMLPitstop.com| 2801 Florida Ave #225|Miami, FL 33133|Ph:305-447-1139