waqas khalid wrote:
> Hi,
>
> i am trying to include different other xml pages in a
page like
> footer,righ hand navigation bar etc. I have figured out
that following
> code is use to copy the nodes from an xml file:
>
> <xsl:template match=" *|node()">
> <xsl:copy>
> <xsl:apply-templates select=" *|node()"/>
> </xsl:copy>
> </xsl:template>
>
> here i want to place a check that when a particular
node occurs it
> include other xml file or xslt file.
> but i am unable to place that check i am trying to use
several if
> combinations but in vain.
> Could any one help me out i am new on xsl..
>
> Am i on right track ....
>
> regards,
> --Waqas
I would suggest you go ask over on the user list for these
sorts of
things. They might have a good resource for XSLT tutorials.
You need to
be looking at page2xhtml.xsl's code under the default pub. I
am not
familiar with how Lenya 1.2 does things exactly. You might
be able to
find documentation on the website.
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe lenya.apache.org
For additional commands, e-mail: dev-help lenya.apache.org
|