xsl-list
[Top] [All Lists]

Re: [xsl] Insert elment in XSD

2008-02-28 05:18:16
igutierrez027(_at_)ikasle(_dot_)ehu(_dot_)es 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


--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>