xsl-list
[Top] [All Lists]

Re: [xsl] Re: xhtml via xslt failure

2013-12-17 11:08:45
On 17/12/2013, David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> 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.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--