Re: [docbook-apps] profiling=hiding?

From
Ken Morse <>
Date
2007-05-24T11:29:52+00:00
ID
Thread
Re: [docbook-apps] profiling=hiding?
Hi Dmitry,

Actually, if an empty string is used, the profiled section will
disappear. For example:

xsltproc --stringparam profile.condition '' --output output.xml
profiling/profile.xsl input.xml

You're right about not setting profile.condition at all though; in
that case the profiled section remains.

Ken

On 5/24/07, Dmitry Mukhin <> wrote:
> Hi.
>
> You a wrong about "no setting at all" elements disappearing in target document.
>
> If element's profiling attribute is not set, it will show up.
> And if $profile.condition or other profiling variable is not set, elements will not be filtered.