Comments (5)
You mean something like
<xsl:mode name="a" on-no-match="fail" />
<xsl:mode name="b" on-no-match="deep-skip"/>
<xsl:mode name="a b" typed="no"/>
with some rule for combining the multiple declarations as with xsl:output
and xsl:decimal-format
?
Having a list of names on a single declaration would be a departure from current practice and the implications would need working through; we currently have cases where we allow multiple declarations for one component, but not the other way around.
from qtspecs.
I was thinking more like
<xsl:mode name="a b" on-no-match="fail"/>
<xsl:mode name="c d" on-no-match="deep-skip"/>
rather than allowing for combinations.
from qtspecs.
I guess the semantics aren't actually that complex; we just define
<xsl:mode name="a b" on-no-match="fail"/>
as an abbreviation for
<xsl:mode name="a" on-no-match="fail"/>
<xsl:mode name="b" on-no-match="fail"/>
But it's not at all clear to me that it's really a usability improvement.
from qtspecs.
On balance, I think the complexity exceeds the benefits, and I'm going to propose closing with no action.
from qtspecs.
Sad face :(
But understandable.
from qtspecs.
Related Issues (20)
- Canonical serialization HOT 3
- Remove fn:numeric-compare HOT 1
- Coercion rules: implicit types
- Module import: apparent contradiction HOT 2
- fn:iterate-while → fn:while-do, fn:do-until
- fn:scan-left and fn:scan-right - produce accumulation of results HOT 10
- Partial Function Applications: Allow return of function name HOT 5
- Parameters with default values: fn:lang, fn:id, fn:idref, fn:element-with-id
- Establish a default value for the XSLT fixed-namespaces attribute HOT 12
- Options parameters as record types HOT 9
- Milliseconds ↔ xs:dayTimeDuration, Unix time ↔ xs:dateTime HOT 4
- Should ??KS flatten the results HOT 4
- Simulating Objects: Performance HOT 64
- Errors in forming function items (continued) HOT 4
- fn:has-attributes HOT 5
- Rewrite spec of deep lookup operator: edits
- XPath Appendix I: Comparisons
- XQFO: Context item → value
- fn:parse-json, fn:json-to-xml: `number-parser`, `fallback`
- Rules for context-dependent function references in XSLT (e.g. regex-group#1) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qtspecs.