A good example, I think, of where partitions are handy is the HTML
Script tag ... maybe you could see if XSL fits this model.
In the following examples, from the spec, the main partitioner doesn't
need to know much about the difference between vbscript, javascript,
and tlk, ... just know how to create partitions of the type SCRIPT_VB,
SCRIPT_JS, or SCRIPT_TLK, (based solely on the <script tag, then
others can create "smart processors" for those different languages
contained within the script tag. and, I believe, attributes such as
"onmouseover", etc., can also have different languages, so that's
where the similarity to XSL is. But ... can you really have different
"languages" in the select attributes? Or, is it something you, and the
XSL_Select processor would know about (i.e. always XPATH)?
<example>
<SCRIPT type="text/javascript">
... (SCRIPT_JS Partition)
</SCRIPT>
<SCRIPT type="text/vbscript">
... (SCRIPT_VB Partition)
</SCRIPT>
<SCRIPT type="text/tcl">
... (SCRIPT_TCL Partition)
</SCRIPT>
</example>
Hope it helps ...