Subject: RE: templates around templates. From: "Igor Nakshin" <inakshin@xxxxxxxxxxx> Date: Wed, 26 Apr 2000 06:49:37 -0500 |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: templates around templates., Mike Brown | Thread | string handling, Jeff Lansing |
Driving XSL based on WAP phone char, Neill James | Date | RE: Driving XSL based on WAP phone , Steven Livingstone |
Month |