Login:  Password:    
forgot my password
sign up!
Search: 

XML - creating an external DTD - Lesson 10 | .net courses

In this video, we will see how we can generate an XSD schema for Books.xml. When you have a choice, it is better to use an XSD than a DTD.

0 0
Course:   Introduction to XML

download the application please visit www.mrbool.com/player

Title: XML - creating an external DTD - Lesson 10

Duration: 16 minutes

Summary: In this video, we are continuing our discussion of XML. In previous videos we already talked about reading and writing XML files. Here, we are concentrating on defining the structure of an XML file and being able to validate an XML file. To do that, we are introducing DTD and XSD. We can create a DTD inside and XML file and externally. I will show you how to create an external DTD and link to it from within the XML file. The DTD will define the structure of the Books.xml file by specifying the 'books' root node and 'book' node. Within the book node, we will have isbn, title, author, and comments. Also, we will see how we can generate an XSD schema for Books.xml. When you have a choice, it is better to use an XSD than a DTD because an XSD is strongly typed.

Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.

Technology Used: XML, DTD, XSD, XSLT

Keywords: XML, DTD (Document Type Definition), XSD (XML Schema Definition), XSLT (Extensible Stylesheet Language Transformation).


Ayad Boudiab
Experience: A total of 10 years experience in developing applications using C++, Java, C#, ASP.NET, and SQL Server. In addition to 6 years experience in teaching programming courses at a local college. Degree: B.S. Computer Science Location: Atla...
3 comments have been posted.   Add your comment
[Fechar]

Este post é fechado - você precisa ter acesso ao post para incluir um comentário.

Kent Lewis
I would like have the menu item you have used to create the XSD for the books file. Would you steer me in the direction for that add on for VS 2010.  Very informative as usual.

Thanks. 
[+1 year ago]    Answer it
 
Ayad
Hi Kent,
 
I contacted the publisher to provide you the code.
 
Ayad

[+1 year ago]   Answer it
 
Mr.Bool Editor
files already are available in the "download code & files"
[+1 year ago]   Answer it
 
Help us to improve! Give us your feedback:

Give your note to this post: 1 2 3 4 5 6 7 8 9 10
Is this post helpful? Yes No



[Close]
To have full access to this post (or download the associated files) you must have MrBool Credits.

  See the prices for this post in Mr.Bool Credits System below:

Individually – in this case the price for this post is US$ 2,00 (Buy it now)
in this case you will buy only this video by paying the full price with no discount.

Package of 10 credits - in this case the price for this post is US$ 1,00
This subscription is ideal if you want to download few videos. In this plan you will receive a discount of 50% in each video. Subscribe for this package!

Package of 50 credits – in this case the price for this post is US$ 0,33
This subscription is ideal if you want to download several videos. In this plan you will receive a discount of 83% in each video. Subscribe for this package!


> More info about MrBool Credits






mrbool.com
contact us   |   publish your post   |   buy credits

Copyright 2013 - all rights reserved to www.web-03.net