Hi Dan,
how does your input look like? and the output you want to get?
do you want to generate <xml> elements only for <file-acl>
having a name attribute? or only if that name equals 'c:\boot.ini'?
<xslt:template match="//file-acl-list/file-acl">
<xslt:choose>
<xslt:when test="@name='c:\boot.ini'">
<xml file-acl="boot.ini">
<xslt:apply-templates/>
</xml>
</xslt:when>
...
</xslt:choose>
</xslt:template>
That would give the same output as yours, but without
all those empty <xml file-accl=""></xml>
Anton Triest