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] profiling docbook-like documents


Justus H. Piater wrote:

> I tried to do two-step profiling using profile.xsl from the 1.65.1
> stylesheets, and it generated a file of type "-//OASIS//DTD DocBook
> XML V4.2//EN".
> 
> However, the source file is of a docbook-slides type, with all kinds
> of extra stuff inside the DOCTYPE declaration.
> 
> Would it be possible to write profile.xsl such that the original
> doctype is preserved? Or to allow the user to specify the doctype,
> including parameter entities? (Or no doctype at all, greetings from
> Relax-NG.)

This is not possible with XSLT 1.0. But you can create customization of 
profile.xsl which will overwrite identifiers. Something like:

<xsl:stylesheet ...>

<xsl:import href="profile.xsl"/>

<xsl:output doctype-public="desired FPI"
             doctype-system="desired system identifier URI"/>

</xsl:stylesheet>

				Jirka

-- 
-----------------------------------------------------------------
   Jirka Kosek  	
   e-mail: jirka@kosek.cz
   http://www.kosek.cz

S/MIME Cryptographic Signature



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