Validating xml against xsd java
For example, if you were to go to any ecommerce Website and download a product listing, you’d probably get something like this: Product One is an exciting new widget that will simplify your life. Cost: .95 This is such a terrific widget that you will most certainly want to buy one for your home and another one for your office! Take a good look at this – admittedly simple – code sample from a computer’s perspective.
In layman’s terms, HTML is a presentation language, whereas XML is a data-description language.
From there, you could make the leap to other wild cats, then to house cats and maybe even dogs (cats and dogs are both pets, after all).
With very little effort, you’d be able to build a stunning semantic landscape, as it were.
Here it is again, with a few more nodes added to it: Example 1.1.
If you have Internet Explorer 5 or higher installed on your machine, you can view your newly-created XML file. Notice the little minus signs next to some of the XML nodes? The little plus sign next to the first product node indicates that the node has children.