[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Re: xhtml via xslt failure


Subject: Re: [xsl] Re: xhtml via xslt failure
From: e-letter <inpost@xxxxxxxxx>
Date: Tue, 17 Dec 2013 17:08:29 +0000

On 17/12/2013, David Carlisle <davidc@xxxxxxxxx> wrote:
>
> You presumably haven't really got the author template nested
> inside the bookstore/book one? (otherwise you would get no output at
> all, as it's a syntax error)
>

Don't understand, seems nested:

...
	<xsl:template
		match="bookstore/book"
		>
		<p >
			<xsl:template
				match="author"
				>
				<xsl:apply-templates/>
				<xsl:if
					test="following-sibling::author">
					,
				</xsl:if>
			</xsl:template>
			<xsl:apply-templates
				select='author'
				/>
		</p>
	</xsl:template>
...

Where is this syntax error, because none is reported.


Current Thread