This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: templates around templates.
- To: <xsl-list at mulberrytech dot com>
- Subject: RE: templates around templates.
- From: "Igor Nakshin" <inakshin at sprynet dot com>
- Date: Wed, 26 Apr 2000 06:49:37 -0500
- Reply-To: xsl-list at mulberrytech dot com
> The XML------------
> <Conversation>
> <Request>
> <RequestLine>
> request line 1
> </RequestLine>
> <RequestLine>
> request line 2
> </RequestLine>
> </Request>
> </Conversation>
> --------- End XML
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
version="1.0">
<xsl:template match="/">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="Conversation">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="Request">
<P style="color-red">
<xsl:apply-templates/>
</P>
</xsl:template>
<xsl:template match="RequestLine">
<I>
<xsl:value-of select="."/>
</I>
</xsl:template>
</xsl:stylesheet>
Igor.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list