Learnthat.com Free Certification and Computer Online Courses
ThatNetwork.com Internet Media Network Exampractice.com free certification practice exams, mcse, comptia Definethat.com - Free technical definitions, define Free Romance Tips, Romantic Tips, Date Ideas Free POD publisher comparison print on demand
Learnthat.com Free A+ Certification, Computer Classes, Certification Courses, Business, Lifestyle, ApplicationsFree business tutorials and definitionsFree certification tutorials and definitionsFree computer and technical tutorials and technical definitionsFree Finance Tutorials and DefinitionsFree House Repair TutorialsFree Lifestyle and Fun Tutorials
  All Online CoursesNew Courses QuickTipsWord DefinitionsSubmit a TutorialLinks
÷ Resources
Home
free tech tutorials
Free Tutorials
free tech tutorials
Certifications
free tech tutorials
Definitions
free tech tutorials
Resources/Links
free tech tutorials
Forums
free tech tutorials
Distance Education
free tech tutorials
Highest Rated Tutorials
÷ Popular Tutorials
÷ New Tutorials

Learn XML programming in this free XML training course

 

What are well formed XML documents?

Though there are many places where you can run your code together without encountering errors, it tends to make it more difficult to troubleshoot or modify your code later (and makes it extremely difficult for someone else to do anything with your code!)  Whenever possible, you should use appropriate white space and indentation to make your code more easily readable.

When creating a well-formed XML document, you don’t need to use DTD’s… the elements are defined by their usage, not by a set of pre-made rules that you declare early in the file.  Stylesheets are used to help to define the elements, and are used to format the final work.

The early work that you did with stylesheets and XML documents was an example of creating a well-formed XML document.  Open up your editor and go through the same process, but talk about something other than just Tooter and Shade this time.  The stylesheet reference needs to be there, but it doesn’t need to be an actual stylesheet at this point.

Your finished document might look a little something like this:

            <?xml version=”1.0”?>

            <?xml-stylesheet type=”text/css” href=”dogs.css”?>

            <dogs_info>

                        <dogs>Tamerlane, Shadow, and Jake are wonderful dogs!</dogs>

                        <neighbor_dogs>Of course, Lucy and Sarah are good dogs, too.</neighbor_dogs>

            </dogs_info>

All of the defining characteristics of the elements should be defined in dogs.css, just as they were when dealing with out cat examples.

 

by John Casteele

Find more free Internet tutorials from Learnthat.com.

More Information:

Help us by rating this tutorial: [---] [--] [+] [++] [+++]
[---] lowest; [+++] highest

 

 

 


Learn: Free Tutorials - Links to Free Tutorials
Understand: Free Technical Definitions - ExplainThat Whitepapers
Use: Certification Section - Discussion Forum

Visit Our Network Sites:

DefineThat.com Technical Defintions Romancetips.com
Free Gift Ideas - GiveThat Planthat.com Free Unique Business Ideas
PublishOnDemand.net - Learn about Print on Demand (POD) - Self Publishing Seekthat.com - Technical Search Engine
ThatNetwork.com  

About Us : Contact Us : Advertise : Privacy Information

© 1998-2004 Learnthat.com