July 2001
Intermediate to advanced
592 pages
11h 16m
English
Creating new XML elements
<xsl:element>
<xsl:attribute>
Literal result elements (LREs)
Attribute value templates (AVTs)
<xsl:processing-instruction>
<xsl:comment>
<xsl:namespace-alias>
One of the most convenient features of XSLT stylesheets is the ability to generate new content in the process of transformation. This generated content can be derived through a series of XPath expressions in combination with LREs, text that you add, or with other elements in XSLT yet to be introduced.
There are many ways to work with the existing structure and content of an XML document. However, there are only a few specific XSLT elements that deal directly with the creation of new elements and content. In this chapter, ...