The xsl-list (http://www.mulberrytech.com/xsl/xsl-list/index.html) is probably the 
best place to ask generic XSLT question.  [EMAIL PROTECTED] is for comments that 
affect all Apache XML Projects
or the incubation of new sub-projects.

However, my take is that the template matches the document root and all elements that 
don't match a more specific pattern and for those nodes, forces their child nodes 
through the available templates.

So if you had:

<xsl:transform>
<xsl:template match="*|/"><xsl:apply-templates/></xsl:template>

<xsl:template match="foo"><myfoo/></xsl:template>
</xsl:transform>

You would get a <myfoo> at the top level for every <foo> element that appeared 
anywhere in the document (except as the child of another <foo> element).


---------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to