cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conal Tuohy" <>
Subject how to use JXTemplateTransformer?
Date Wed, 02 Feb 2005 03:55:14 GMT
I have searched without success for documentation about the JXTemplateTransformer. Is there

I want to transform an XHTML document, and for each hyperlink in the XHTML, I want to use
JXPath to look it up in a Java model, and add some resulting data as a "title" attribute for
the link. e.g.

Source document (start of pipeline) contains:
<a href="foo.html">Foo</a>

look up "foo.html" in data model, return "Foo Bar Baz", update the hyperlink to:
<a href="foo.html" title="Foo Bar Baz">Foo</a>

I'm sure this is probably really easy ... can someone give me a hint? Thanks


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message