14.5 Summary

There is more than one way to write a stylesheet. In addition to the traditional way, you can also create a stylesheet using literal result elements, though you get only one implicit template in such a case. Embedded stylesheets let you include a stylesheet within a source document. The namespace-alias element helps you hoodwink an XSLT processor, letting you, among other things, create XSLT elements in templates for inclusion on the result tree. You can also keep unnecessary namespace nodes out of a result tree with exclude-result-prefixes.

Now, on to an entirely different subject. Conveniently, XSLT lets itself be extended, allowing you to add your features or use someone else's enhancements. The next chapter covers XSLT extensions.



Learning XSLT
Learning XSLT
ISBN: 0596003277
EAN: 2147483647
Year: 2003
Pages: 164

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net