Subject: No match or what... From: "Hakan Pettersson" <hakanxsl15@xxxxxxxxxxx> Date: Thu, 04 May 2000 07:33:40 GMT |
library book chapter
library book chapter book chapter chapter
my files: =========================================== <?xml version="1.0" encoding="ISO-8859-1"?> <?xml:stylesheet type="text/xsl"?> <library> library <book> book <chapter> chapter </chapter> </book> </library> =========================================== <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/"> <HTML> <HEAD> <TITLE>Test</TITLE> </HEAD>
<BODY> <xsl:apply-templates select="library"/> </BODY> </HTML> </xsl:template>
<xsl:template match = "library"> <xsl:value-of select="."/> <BR/> <xsl:apply-templates select="book"/> </xsl:template>
<xsl:template match = "book"> <xsl:value-of select="."/> <BR/> <xsl:apply-templates select="chapter"/> </xsl:template>
<xsl:template match = "chapter"> <xsl:value-of select="."/> <BR/> </xsl:template>
</xsl:transform> =========================================== ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: xsl:import xsl:include, Mike Brown | Thread | Re: No match or what..., David Carlisle |
Re: Attributes, modes and templates, Alex Lancaster | Date | Font size problem with fo:block, Sydney |
Month |