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] How to set up profiling in customization layer?


ofcourse... I should have thought of that. But no, adding inner quotes did not do any difference
 
Best Regards,
Bergfrid Skaara

On Tue, Sep 29, 2009 at 2:01 PM, Camille Bégnis <camille@neodoc.biz> wrote:
Hello,

<xsl:param name="profile.audience" select="None"/>

Will try to select a "None" element. Try this instead:

<xsl:param name="profile.audience" select="'None'"/>

With the word 'None' into simple quotes so it's taken as a string.... I
was caught a number of times on this :-)

Camille.

Bergfrid Skaara wrote:
> Hi,
> I'm trying to introduce profiling to the following scenario, so far
> without success:
>
> DocBook 5, modular with xincludes and olinks. Have unique xml:id and
> profiling attributes set
> XSL customization layer which imports fo/profile-docbook.xsl
> oxygen XML Editor 10.3 with saxon6.5.5 and FOP0.95 stylesheets 1.75.1
>
> problem:
> I have <section audience="All">... and add <xsl:param
> name="profile.audience" select="None"></xsl:param> to my cust.layer
> and the generated PDF is not filtered (everything is included). Both
> validation and transformation are successfull and
> fo/profile-docbook.xsl is read at processing. It seems like the
> profile param is ignored.
>
> I believe I've followed the instructions in the book to the letter,
> but clearly I must be missing something. Suggestions?
>
> Best regards,
> Bergfrid Skaara



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