[Bug 9722] New: [XSLT 2.1] Enhancement to conditional modes

http://www.w3.org/Bugs/Public/show_bug.cgi?id=9722

           Summary: [XSLT 2.1] Enhancement to conditional modes
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 2.1
        AssignedTo: mike@saxonica.com
        ReportedBy: evan@evanlenz.net
         QAContact: public-qt-comments@w3.org


I like being able to set mode="#current". It allows me to set the mode
conditionally, based on the current mode. But I have repeatedly come across the
situation where I want to make the mode conditional (dependent on current) but
not be the *same as* current. In other words, I want to dispatch to a different
mode depending on what the current mode is. I can think of several ways of
designing this into the language (without allowing mode names to be dynamic or
directly accessible as values).

Let me know your thoughts on this. I have both specific use cases and design
ideas, but this is the essence of what I want.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 12 May 2010 20:08:39 UTC