| | Lesson 3: Data Strings and Comments  | Data strings are the percentage of XML code that is pertinent to anyone viewing your page. XML is a container file that holds information. That information is the data string. You should have a solid understanding of the declaration statement, root element and how to nest child elements. Now it is time to add some data to the XML code, so your readers have something to see when they visit your page. Comment tags are details you add to clarify the code for yourself or others. A comment tells anyone looking at the code why you did something or other information, such last update. Anything you need to keep track of when writing XML code. | | | Click on the Link Below to See the Class Online | Lesson 3: Data Strings and Comments | | Things You Need: | Text Editor | | Learn XML | Adding Data Strings and Comments This tutorial takes you through the process of adding data strings to your XML file. Data is what you want anyone visiting your site to see. For example, you might add the employee names or an inventory item. | How to Write Your First XML Document By now you should have played around with writing XML code. This step-by-step article will review topics from the lessons so far, and guide you through writing an XML file. This is the first tutorial of a two-part series that explains the basics of creating XML. | | Homework | Homework for Lesson 3 Open the two XML files you have saved on your hard drive for lesson 1 and lesson 2. Practice adding data to the files. Look closely at your element tags. The element tags should relate in some way to the data. For instance, if creating a file about inventory, you would not write the child element <vacuums> for a listing of available bikes. Add comment tags to your file. Consider what information you might need to know in two months when you update the file. If you would like help with the homework, or want to discuss the class, you can do so in the HTML / XML Forum. | | Administrativa | Do You Need a Lesson Again? This is a self-paced class. This means that if you need more time than a week to study the lessons, that is fine. And if you finish the lessons before the next lesson is mailed to you, you may request it early. | | | | | | Missing a lesson? Click here. About U. is our collection of free online courses designed to help you learn a new skill, solve a problem, get something done, or just learn more about your world. Sign up now, and we will email you lessons on a daily or weekly basis. | | | | You are receiving this email because you subscribed to the About.com 'XML 101' email. If you wish to unsubscribe, please click here. About respects your privacy: Our Privacy Policy Contact Information: 249 West 17th Street New York, NY, 10011 © 2010 About.com | | | | | | Advertisement | |
No comments:
Post a Comment