christoph(_dot_)naber(_at_)daimler(_dot_)com wrote:
Hi
<xsl:template match="/xs:schema/xs:element[(_at_)name]" >
<xsl:element name="{(_at_)name}">
<xsl:apply-templates />
</xsl:element>
</xsl:template>
This apply templates for text nodes too. So text nodes are added to
the element before any attribute. You can either strip the withespace
text nodes in the input or selectively apply templates only to child
element nodes.
Regards,
--drkm
_____________________________________________________________________________
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--