W3C home > Mailing lists > Public > xsl-editors@w3.org > July to September 1998

[2.7.12] Constants and Macro Arguments

From: G. Ken Holman <gkholman@CanadaMail.com>
Date: Sat, 12 Sep 1998 08:11:25 -0400
Message-Id: <Version.32.19980912074506.00f68a80@CraneSoftwrights.com>
Message-Id: <Version.32.19980912074506.00f68a80@CraneSoftwrights.com>
Message-Id: <Version.32.19980912074506.00f68a80@CraneSoftwrights.com>
Message-Id: <Version.32.19980912074506.00f68a80@CraneSoftwrights.com>
To: XSL Editors <xsl-editors@w3.org>
[2.7.12] Constants and Macro Arguments
- I see how to put a constants and macro arguments into attribute values
using ConstantRef and MacroArgRef, but how would I put these references
into the content of a flow object?  Is there something along the lines of:

  <xsl:define-constant name="bullet" value="&#x00B3;"/>
  ...
  <xsl:text><xsl:use constant-name="bullet"> </xsl:text>

and:

  <xsl:define-macro name="list-item-label">
      <xsl:macro-arg name="bullet" default="-"/>
      <xsl:text><xsl:use arg-name="bullet"> </xsl:text>
  </xsl:define-macro>

.......... Ken




--
G. Ken Holman               mailto:gkholman@CanadaMail.com
Crane Softwrights Ltd.  http://www.CraneSoftwrights.com/s/
Box 266,                                V: +1(613)489-0999
Kars, Ontario CANADA K0A-2E0            F: +1(613)489-0995
Training:   http://www.CraneSoftwrights.com/s/schedule.htm
Resources: http://www.CraneSoftwrights.com/s/resources.htm
Shareware: http://www.CraneSoftwrights.com/s/shareware.htm
Received on Saturday, 12 September 1998 08:51:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:49 GMT