Here should go questions about transforming XML with XSLT and FOP.
I am trying to transform an XML document generated by Python Docutils to HTML. Here is a fragment from the source document:
The <target> element specifies an identifier for the next element, i.e., <section>. So I want something like<target refid="foo"/>
in the HTML output. I am unable to figure out how to attach an attribute to the next element while processing <target>. Would appreciate any help. Thanks.<section id="foo">