List Info

Thread: modification in xhtml2xhtml




modification in xhtml2xhtml
country flaguser name
Pakistan
2007-03-16 08:58:07
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-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: modification in xhtml2xhtml
country flaguser name
United States
2007-03-16 09:31:21
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-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )