Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] Default actions in XSLT 2.1

From: Jirka Kosek <jirka@-------->
To:
Date: 11/1/2008 8:34:00 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dimitre Novatchev wrote:

> Going further, I'd propose that the *default value* for the
> "default-action" attribute of the unnamed <xsl:mode> be
>    "xslmode:clone"
> if the "version" attribute of the <xsl:stylesheet>    is    >=   2
> 
> and
>   "xslmode:copy-text"  (the current processing behaviour for version 1.0)
> otherwise.

This is not very good idea. Suppose that you have existing stylesheet in
XSLT 1.0 or 2.0 and you will upgrade it to 2.1 in order to use some new
useful XPath function. With your proposal which breaks backwards
compatability you will have to update existing code to accommodate to
new set of built-in template rules.

- --
- ------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@xxxxxxxx      http://xmlguru.cz
- ------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
- ------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
- ------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJDL0WzwmSw7n0dR4RAjmcAJ4yskBNZdpIieML1hyfYTDrzjFGKQCgg+0R
J/W0meBL4Mx1+OVuSftYFjs=
=fCeR
-----END PGP SIGNATURE-----


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent