[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: templates around templates.
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|