Hello,

I have a .xml document with an <gap id="1"> element. I want to apply a
transformer (maybe and xslt) that convert this element into <xi:include
href="http://www.example.org";>, where "http://www.example.org"; is
obtained from a database "test", table "gap2xinclude", using the "id"
attribute of the "gap" element.

More or less:

* <gap id="1"> --[Transformer]--> <xi:include
href="http://www.example.org";>

* Database test. Table gap2xinclude.
  id | href
  ---------------------------
   1 | http://www.example.org

How can I do it in cocoon 2.2?

Regards,

Carlos Tejo Alonso
R&D and Innovation Department
CTIC Foundation [Asturias, Spain]
www.fundacionctic.org

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

Reply via email to