O'Reilly logo

Sams Teach Yourself XML in 10 Minutes by Andrew H. Watt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Why Change Structure?

Chapter 8, “Namespaces in XML,” mentioned problems that can occur frequently as XML documents are exchanged among increasing numbers of individuals and companies. XML namespaces do a lot to solve the problem in which two identical element type names are used with different meanings. This chapter looks at how XSLT can be used to provide a solution to the problem of different element type names being used to refer to the same concept or real-world value. In addition, it looks more generally at how XSLT can be used to restructure XML documents.

For example, one company might store an order like this, with date information in an element:

<order> 
<date>2002-12-29</date> 
<!-- More content here. --> 
</order> 

It might deal with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required