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] Re: XInclude in sitemap problem


Yes, please file a feature request on DocBook SourceForge with any details 
you can provide.  Thanks.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Marco" <mercuron@gmx.ch>
To: <docbook-apps@lists.oasis-open.org>
Sent: Friday, August 22, 2008 1:10 PM
Subject: [docbook-apps] Re: XInclude in sitemap problem


> Mauritz Jeanson <mj <at> johanneberg.com> writes:
>
>>
>> > -----Original Message-----
>> > From: mercuron <at> gmx.ch
>> >
>> > I'm using Xalan-2.7.0 with Xerces-2.7.1 and docbook-xsl-1.73.2.
>>
>> [...]
>>
>> > Is there any way to force the docbook stylesheets not to use
>> > named entities for the target db?
>> > Are there any other tricks?
>>
>> With Xalan, you can use the xalan:entities extension attribute on the
>> xsl:output element. To completely disable output of entity references,
>> create an empty file and let the attribute value point to that file:
>>
>> <xsl:output encoding="UTF-8"
>>             xalan:entities="somefile"/>
>>
>> See http://xml.apache.org/xalan-j/usagepatterns.html#outputprops.
>>
>> /MJ
>>
>
> Mauritz,
>
> Nice solution. Thanks.
> The advantage of my solution is that the generated db can be validated 
> against
> the targetdatabase.dtd. Any tags that appear in <ttl> or <xreftext> as 
> well as
> any named entities will be put in a CDATA section and are therefore 
> treated as
> pure text.
>
> I wonder if there is any chance to get this into one of the next builds 
> (that
> would simplify my customization layer a bit).
> Does anybody think its worth filing a report?
>
> Cheers,
> Marco
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
> 



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