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] Entityref + docbookxsl: unparsed-entity-uri()does not resolve


Mauritz Jeanson wrote:
>>-----Original Message-----
>>From: Diego Ballve 
>>
>>I'm experiencing a strange behaviour with entityrefs and docbook xsl.
>>Shortly, entityrefs do not get resolved (unparsed-entity-uri 
>>returns "")
>>when docbook xsl is imported, but works as expected if they are not
>>used. I've tried saxon and xalan, w/ xml-commons-resolver.. 
>>same behaviour.
> 
> 
> [...]
>  
> 
>>CUSTOM LAYER XSL:
>>
>><?xml version="1.0" encoding="UTF-8" ?>
>><xsl:stylesheet
>> xmlns:fo="http://www.w3.org/1999/XSL/Format";
>> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
>> version="1.0">
>>  <xsl:import
>>href="http://docbook.sourceforge.net/release/xsl/current/fo/pr
>>ofile-docbook.xsl"/>
> 
> 
> 
> 
> As far as I can tell, entityrefs don't work when you use profiling. The
> filtered result from the first profiling step is stored in a temporary
> node-set. When this result is processed in turn and unparsed-entity-uri() is
> applied, the entity declared in the source document is no longer available.

Thanks! That was exactly the problem here.
Entityrefs work if I use ../fo/docbook.xsl

Regards
Diego



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