OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] titlepage.xsl anomaly


On 11.9.2012 0:02, Richard Hamilton wrote:

> The titlepage template file (I presume you mean titlepage.xml) does
> have a default declaration (xhtml, as expected). In fact, once this
> started happening, I re-generated the distributed titlepage.xml file
> and got a generated titlepage.xsl file that was identical to the one
> in epub3/titlepage.xsl, except that the <div> elements have no
> namespace declaration on them and there is no default declaration.

This is really strange. On my machine deleting
epub3/titlepage.templates.xsl and running make produces file identical
to the distribution with XHTML namespace declared on each <div>

> So, I can manually fix the problem by adding a default namespace
> declaration to the generated titlepage.xsl file. However, I don't
> know why the epub3/titlepage.xsl file in the distribution puts <div>
> in a namespace, but a file generated from the same xml file doesn't.

Ah, you have been using xsl-ns, right? I see the problem now,
template/titlepage.xsl in xsl-ns distribution doesn't support ns
parameter which is cruical. I have to investigate how xsl-ns is
generated, I'm not using them regularly.


			Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@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
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]