Chapter 15. Namespaces

Most of the examples in previous chapters have included a mixture of XSLT elements and HTML elements, and namespaces have been used to distinguish between them. The problem of mixing fragments of XML from different sources within a single data file is widely recognized, well beyond the application of XML being discussed in this book. The solution to this problem is the standard called 'Namespaces in XML'. This standard was produced by W3C and released as a recommendation on 14 January 1999. It can be found at http://www.w3.org/TR/REC-xml-names. It has already been described sufficiently to illustrate the previous examples, but this chapter explains the namespaces standard in more detail and also addresses the complex issues that arise when using namespaces in this application. In particular, the complications are discussed that arise from the fact that source documents, stylesheets and output documents may all use namespaces.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset