[Bug 24619] Conditional using of packages

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24619

--- Comment #2 from Michael Kay <mike@saxonica.com> ---
I would like to pursue the general solution of providing a mirror for every
attribute of every XSLT instruction which allows the value of the attribute to
be computed by means of a static expression; the only exception would be
attributes that are already static expressions, such as @use-when and
xsl:variable[@static="yes"]/@select. It would include standard attributes such
as default-collation on XSLT elements, but not on literal result elements.

We should put these in a namespace, say compute for computed XSLT attribute; so
for example

<xsl:output compute:indent="if (system-property(x)=y) then 'yes' else 'no'"/>

The attributes X and cxa:X would be mutually exclusive (static error if both
are present).

We wouldn't try to reflect this in the schema for XSLT; this is consistent with
our treatment of use-when.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Sunday, 16 February 2014 20:06:05 UTC