Skip to Content
XSLT and XPATH: A Guide to XML Transformations
book

XSLT and XPATH: A Guide to XML Transformations

by John Robert Gardner, Zarella L. Rendon
July 2001
Intermediate to advanced
592 pages
11h 16m
English
Pearson
Content preview from XSLT and XPATH: A Guide to XML Transformations

6.4. The <xsl:attribute-set> Top-Level Element

The <xsl:attribute-set> top-level element provides the ability to set up a group of <xsl:attribute> elements that generate attributes that can be inserted collectively into an element in the result tree.

The <xsl:attribute-set> element has two attributes: the name attribute, which is used to name and call the attribute set created, and the use-attribute-set attribute. The allowed content of the <xsl:attribute-set> element is zero or more <xsl:attribute> elements, as shown in the following element model definition:

<!-- Category: top-level-element -->

<xsl:attribute-set

  name = qname

  use-attribute-sets = qnames>

  <!-- Content: xsl:attribute* -->

</xsl:attribute-set>

Having a content of zero or more ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning XSLT and XPath: Transforming XML Documents and Data

Beginning XSLT and XPath: Transforming XML Documents and Data

Ian Williams
Java and XSLT

Java and XSLT

Eric M. Burke
Learning XSLT

Learning XSLT

Michael Fitzgerald

Publisher Resources

ISBN: 0130404462Purchase book