On 04/07/2010 10:53 AM, Stefan Kost wrote:
hi,

Stefan Seefeld wrote:
On 04/07/2010 05:24 AM, Jacques Foucry wrote:
Hello list,

I would like to make a kind of "preprocess" to my docbook's files but
I don't know How to do that. Let me explain.

Inside my sources file there is a lot of
<imageobject conformance="custom_size">
     <imagedata fileref="picture.tiff"/>
</imageobject>
<imageobject conformance="USLetters">
     <imagedata fileref="picture.png"/>
</imageobject>

The value of profile.conformance is defined inside my custom stylesheet.

The problem is how can I generate a docbook file (not a fop one) with
only the right imageobject ?

I believe that's exactly what profiling allows you to do.
Specifically, with two-phase processing:
http://www.sagehill.net/docbookxsl/AlternateText.html#ProfileFilter

     Stefan

This is interesting. Do you think one could use it to create a variant
of the xsl? This would be useful if you need to apply the very same xsl
to dozens of xml sources.

I'm afraid I don't understand the question. What do you mean by "variant of the xsl" ? Are you suggesting to profile the stylesheets instead of the docbook sources themselves ?



Sorry,
        Stefan


--

      ...ich hab' noch einen Koffer in Berlin...


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to