Hi Jirka, Thanks for the information. Is the change you describe in titlepage.xsl in 1.77.1 or is it newer? I ask because I tried this with 1.77.1 and it didn't change anything, so I suspect I don't have a version of the stylesheets that has this change.
Best regards, Dick ------- XML Press XML for Technical Communicators http://xmlpress.net hamil...@xmlpress.net On Sep 10, 2012, at 12:50 AM, Jirka Kosek wrote: > On 7.9.2012 22:29, Richard Hamilton wrote: >> I am running into something strange when building a custom titlepage.xsl for >> the epub3 stylesheets. >> >> When I built my custom titlepage.xsl file, using the template/titlepage.xsl >> file from the 1.77.1 ns distribution, the stylesheet does not put the <div> >> elements into a name space. The result is that when the epub3 stylesheets >> are run, you end up with a bunch of <div> elements in a null name space >> (i.e., <div xmlns="">), which makes some of my downstream processing >> unhappy. >> >> I went back and rebuilt the standard titlepage.xsl file, just in case I had >> changed something, but got the same result (and the same result using either >> saxon or xsltproc). >> >> It looks like epub3/titlepage.xsl was either built with a different >> template/titlepage.xsl file or some other options were used. >> >> Does anyone have any idea what might be going on? > > Hi, > > quite recently in order to support all FO, HTML and XHTML titlepage I > have introduced "ns" parameter in titlepage.xsl holding namespace of > target vocabulary. Try running titlepage.xsl and specifying > > ns=http://www.w3.org/1999/xhtml > > HTH, > > Jirka > > -- > ------------------------------------------------------------------ > Jirka Kosek e-mail: ji...@kosek.cz http://xmlguru.cz > ------------------------------------------------------------------ > Professional XML consulting and training services > DocBook customization, custom XSLT/XSL-FO document processing > ------------------------------------------------------------------ > OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member > ------------------------------------------------------------------ > --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org