Subject: Re: [xsl] Re: xhtml via xslt failure From: Martin Holmes <mholmes@xxxxxxx> Date: Tue, 17 Dec 2013 15:05:07 -0800 |
<xsl:apply-templates select='author' />
Cheers, Martin
You might want to try changing the match to:
<xsl:template match="bookstore/book/author">
Tried and the (undesired) result:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta content="xhtml document created by xml transformation" name="notice" /><title>Test output web page</title></head><body> Everyday Italian <p /> 2005 30.00 Harry Potter <p /> 2005 29.99 XQuery Kick Start <p> and </p> <p> and </p> <p> and </p> <p> and </p> <p /> 2003 49.99 Learning XML <p /> 2003 39.95 </body></html> .
-- Martin Holmes University of Victoria Humanities Computing and Media Centre (mholmes@xxxxxxx)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Re: xhtml via xslt failur, e-letter | Thread | [xsl] Will an <xsl:result-document>, Dimitre Novatchev |
Re: [xsl] Select All Except First a, Wendell Piez | Date | Re: [xsl] Select All Except First a, Dimitre Novatchev |
Month |