Subject: Re: Insert elment in XSD
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Thu, 28 Feb 2008 13:14:49 +0100 (CET)
|
igutierrez027@xxxxxxxxxxxxx wrote:
> I know how to create the element, but I need the template's
> instructions to instert it into the XSD using the Stylesheet.
After your email, it seems you have a stylesheet yet that makes the
copy. I guess you are using the Modified Identity Transform pattern.
So just add a customized template rule for xs:all:
<xsl:template match="xs:all">
<xsl:copy>
<xsl:apply-templates select="@*|text()[1]"/>
<xs:element .../>
<xsl:apply-templates select="node()"/>
</xsl:copy>
</xsl:template>
Regards,
--drkm
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr
|