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: [email protected]      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
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to