O'Reilly logo

Sams Teach Yourself XSLT in 21 Days by Michiel van Otegem

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

Day 15 Working with Namespaces

In yesterday’s lesson, you learned to work with multiple XML sources. By loading additional documents into a variable, you can use one stylesheet to operate on separate datasets in different files. This capability is very useful if different files contain related data.

One of the problems of working with multiple data structures is that their elements may have the same name but a different meaning. In most cases, that also means that they need to be processed and displayed differently. This is where XML namespaces come in, which is the key topic of today’s lesson. Throughout this book, you have informally been working with namespaces, but the time has come to bring this topic more to the foreground and formalize ...

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