Subject: Re: [xsl] 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Insert elment in XSD, igutierrez027 | Thread | Re: [xsl] Insert elment in XSD, Martin Honnen |
[xsl] Xquery-Update, deepa.tigadi | Date | Re: [xsl] Insert elment in XSD, Martin Honnen |
Month |