cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Michels <step...@vern.chem.tu-berlin.de>
Subject FragmentExtractorTransformer
Date Fri, 25 Jan 2002 10:38:10 GMT
Hi,

I would like to ask, if you could write the Extractor more flexible. I
need a transformer like the FragmentExtractorTransformer for my
project(http://sourceforge.net/projects/jeuclid/). I had also ask
the Author of this class, but got no answer.

I suggestion is like this:
sitemap.xmap:

   <map:transformer     name="extractor"
       src="org.apache.cocoon.transformation.FragmentExtractorTransformer"/>
    <extract-uri>http://www.w3.org/2000/svg</extract-uri>
    <extract-element>svg</extract-element>
   </map:transformer>

   <map:transformer     name="mml-extractor"
      src="org.apache.cocoon.transformation.FragmentExtractorTransformer">
    <extract-uri>http://www.w3.org/1998/Math/MathML</extract-uri>
    <extract-element>math</extract-element>
   </map:transformer>

I have attached a patch file for this.

Thank you, Stephan Michels.

Mime
View raw message