Community
Participate
Working Groups
When a mode attribute has been used or defined either within a apply-templates or a xsl:templates it would be nice to have a suggested list of the already existing mode attribute values.
Use the Stylesheet model to obtain the modes that are defined. Only add unique modes (no duplicates) to the possible selection list. A couple of rules depending on where the mode attribute occurs: xsl:template - only add modes that have either been defined on other templates or on apply-templates. xsl:apply-templates - this is the opposite of the xsl:template
Added some basic ability to get a list of mode proposals for templates. This requires using the StylesheetModel and looking at all the templates to determine if the mode should be available. Duplicate modes are filtered so mode names need to be unique. It will search included and imported stylesheets.
Added basic support for the mode attribute on apply-templates and apply-imports. Resolving this as fixed, and will open new bugs for further enhancements.
mass update to 3.1 target due to movement from wtp incubator to wtp source editing lost the original milestones.