RE: [xsl] xsl:include not at top level

Subject: RE: [xsl] xsl:include not at top level
From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx>
Date: Wed, 2 Jun 2004 11:06:02 -0500
António, 

this is a multiple stylesheet FAQ:

http://sources.redhat.com/ml/xsl-list/2000-07/msg00766.html 

HTH,
<prs/>

-----Original Message-----
From: Pieter Reint Siegers Kort [mailto:pieter.siegers@xxxxxxxxxxx] 
Sent: Wednesday, June 02, 2004 11:01 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] xsl:include not at top level

No António, you've sent me a mail, see below:

******************************

Citando Pieter Reint Siegers Kort :

> The question is WHAT you want to do... please provide more information!

Weel, i have a xslt that is getting bigger and bigger

  <xsl:template match="/">
    <XPage class="Tester">
      <Components>
        <xsl:apply-templates select="/Formatos/Forms/Form[1]" />
        <xsl:apply-templates select="/Formatos/Forms/Form[1]/Campos" />
         (...)
      </Components>
      <Events>
        <Event method="changeValue" target="btnProceed" type="ActionHandler"
/>
        <Event method="addNewRecord" target="btnAddNew" type="ActionHandler"
/>
          (...)
      </Events>
      <Data>
        <Bind target="tblOne" source="Empreitada" />
         (...)
      </Data>
    </XPage>
  </xsl:template>

and wanted to put it like

  <xsl:template match="/">
    <XPage class="Tester">
      <xsl:include href="xcomponents.xsl" />
      <xsl:include href="xevents.xsl" /> 
      <xsl:include href="xdata.xsl" /> 
    </XPage>
  </xsl:template>

Maybe i've overlooked something, but i'm not much experienced in XSL.

Thanks.

*********************************** 


<prs/>

-----Original Message-----
From: xptm@xxxxxxx [mailto:xptm@xxxxxxx]
Sent: Wednesday, June 02, 2004 10:35 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] xsl:include not at top level

Citando Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>:

> Hi Anonymous,

My name is António Mota, xptm is just a nick i use in technology related
sites.
Note that's "xptm", not "xpto" :)

> If you told us why you want to do this, we might have other ideas.

I've just post that...

Thanks.







O SAPO já está livre de vírus com a Panda Software, fique você também!
Clique em: http://antivirus.sapo.pt

--+------------------------------------------------------------------
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@xxxxxxxxxxxxxxxxxxxxxx>
--+--

--+------------------------------------------------------------------
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@xxxxxxxxxxxxxxxxxxxxxx>
--+--

Current Thread