$Id: markup.html,v 1.4 2004/10/10 06:18:57 balls Exp $
Copyright © 2003, 2001 Steve Ball
Table of Contents
markup:xml-declaration — Create an XML Declaration
<xsl:template name="markup:xml-declaration"><xsl:param name="version" select="'1.0'"/><xsl:param name="standalone"/><xsl:param name="encoding"/> ...</xsl:template>
This template returns an XML Declaration. Although the XSLT standard provides control over the generation of the XML Declaration, this template may be useful in circumstances where the values must be computed at runtime.
markup:doctype-declaration — Create a Document Type Declaration
<xsl:template name="markup:doctype-declaration"><xsl:param name="docel"/><xsl:param name="publicid"/><xsl:param name="systemid"/><xsl:param name="internaldtd"/> ...</xsl:template>
This template returns a Document Type Declaration. Although the XSLT standard provides control over the generation of a Document Type Declaration, this template may be useful in circumstances where the values for the identifiers or the internal subset must be computed at runtime.
markup:element-declaration — Create an Element Declaration
<xsl:template name="markup:element-declaration"><xsl:param name="type"/><xsl:param name="content-spec" select="'ANY'"/> ...</xsl:template>
markup:attlist-declaration — Create an Attribute List Declaration
<xsl:template name="markup:attlist-declaration"><xsl:param name="type"/><xsl:param name="attr-defns"/> ...</xsl:template>
markup:attribute-definition — Create an Attribute Definition
<xsl:template name="markup:attribute-definition"><xsl:param name="name"/><xsl:param name="type"/><xsl:param name="default"/> ...</xsl:template>
markup:entity-declaration — Create an Entity Declaration
<xsl:template name="markup:entity-declaration"><xsl:param name="name"/><xsl:param name="parameter" select="false()"/><xsl:param name="text"/><xsl:param name="nodes"/><xsl:param name="publicid"/><xsl:param name="systemid"/><xsl:param name="notation"/> ...</xsl:template>
This template returns an entity declaration.
If the 'text' parameter is given a value, then an internal entity is created. If either the 'publicid' or 'systemid' parameters are given a value then an external entity is created. It is an error for the 'text' parameter to have value as well as the 'publicid', 'systemid' or 'notation' parameters.
The entity name.
Boolean value to determine whether a parameter entity is created. Default is 'false()'.
The replacement text. Must be a string.
The replacement text as a nodeset. The nodeset is formatted as XML using the as-xml template. If both text and nodes are specified then nodes takes precedence.
The public identifier for an external entity.
The system identifier for an external entity.
The notation for an external entity.
markup:quote-value — Quote an Attribute Value
<xsl:template name="markup:quote-value"><xsl:param name="value"/> ...</xsl:template>
markup:external-identifier — Create an External Identifier
<xsl:template name="markup:external-identifier"><xsl:param name="publicid"/><xsl:param name="systemid"/><xsl:param name="leading-space" select="false()"/> ...</xsl:template>
markup:entity-reference — Create an Entity Reference
<xsl:template name="markup:entity-reference"><xsl:param name="name"/> ...</xsl:template>
markup:notation-declaration — Create a Notation Declaration
<xsl:template name="markup:notation-declaration"><xsl:param name="name"/><xsl:param name="publicid"/><xsl:param name="systemid"/> ...</xsl:template>
markup:cdata-section — Create a CDATA Section
<xsl:template name="markup:cdata-section"><xsl:param name="text"/> ...</xsl:template>
This template returns a CDATA Section. The XSLT specification provides a mechanism for instructing the XSL processor to output character data in a CDATA section for certain elements, but this template may be useful in those circumstances where not all instances of an element are to have their content placed in a CDATA section.
markup:as-xml — Format Nodeset As XML Markup
<xsl:template name="markup:as-xml"><xsl:param name="nodes"/> ...</xsl:template>