I wish to extract the tag "/task/title" from my XML generated.
I think that using a XSL for that is a bit heavy, so I would like to use
an existing transformer.

I tried FragmentExtractorTransformer, but I think the name
of the tag that is used for extraction must be declared not in
the map:pipeline (instanciation part), but in the map:components 
(declaration part). Am I wrong?
It seems also that the tag must have a namespace or the transformer does 
not trigger.
Am I wrong?

So I have tried the FilterTransformer.
It seems that 3 parameters must be filled:
element-name (here i said "title")
but also the block number (what is it???)
and the number of rows(???)

It seems strange that those very specific transformers exist, and there 
is no default
transformer that can accept simply the name of a tag and extract the 
sub-tree that corresponds.

Any information is welcome.


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to