Re: [exslt] output methods (Was: Re: [xsl] Twig::, Xalan, and Character Escaping)

Subject: Re: [exslt] output methods (Was: Re: [xsl] Twig::, Xalan, and Character Escaping)
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 23 Mar 2001 10:11:38 -0500
At 01/03/21 03:57 +0000, Jeni Tennison wrote:
Absolutely.  I think there are several output methods that might be
useful to standardise on, so that you can get URL encoding and named
entities rather than character entities where appropriate.

For example:

  exslt:xhtml
  exslt:svg
  exslt:mathml
  ...

Any other suggestions for standard output methods?

Have you considered perhaps[1]:


<xsl:output
    method="exslt:uri"
    exslt:uri="http://www.w3.org/TR/REC-MathML"/>

That way one wouldn't have to maintain an enumeration of the recognized name tokens in the definition of exslt, only in the list of supported URI values by individual processors.

................... Ken

[1] from Section 2.1 of XSLT 1.0: An element from the XSLT namespace may have any attribute not from the XSLT namespace, provided that the expanded-name of the attribute has a non-null namespace URI. The presence of such attributes must not change the behavior of XSLT elements and functions defined in this document.


-- G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995) Web site: XSL/XML/DSSSL/SGML/OmniMark services, training, products. Book: Practical Transformation Using XSLT and XPath ISBN 1-894049-06-3 Article: What is XSLT? http://www.xml.com/pub/2000/08/holman/index.html Next public instructor-led training: 2001-03-21,2001-03-21,2001-04-06, - 2001-05-01,2001-05-14,2001-05-15,2001-05-16,2001-05-17,2001-05-21, - 2001-05-22,2001-06-18,2001-06-21,2001-07-20,2001-07-21,2001-09-19


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread