You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by waqas khalid <ge...@hotmail.com> on 2007/03/16 14:58:07 UTC
modification in xhtml2xhtml
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
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: modification in xhtml2xhtml
Posted by Richard Frovarp <Ri...@sendit.nodak.edu>.
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