Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xsl] Default actions in XSLT 2.1

From: Geert Josten <Geert.Josten@----------->
To:
Date: 11/1/2008 5:54:00 PM
> 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.
>
> Dimitre Novatchev

While 'at the job' already, wouldn't one want more granularity? I see much
alternatives between 'clone' at one end and 'copy-text' at the other end. I
would find it logical if one could opt in or out the different part of which
the copying consists, independedly from each other. The options could be:

- preserve-text (the XSLT 1.0 default)
- preserve-elements
- preserve-attributes
- preserve-comments
- preserve-processing-instructions
- preserve-namespaces (??)

And what I have done quite often as well is removal of namespaces, so perhaps
something extra like: strip-namespaces?

Just some thoughts.

Kind regards,
Geert


Drs. G.P.H. Josten
Consultant


http://www.daidalos.nl/
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665 JZ Bleiswijk
Tel.: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
http://www.daidalos.nl/
KvK 27164984
De informatie - verzonden in of met dit emailbericht - is afkomstig van
Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit
bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit
bericht kunnen geen rechten worden ontleend.


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