[Home] [By Thread] [By Date] [Recent Entries]
David Carlisle wrote:
The restriction is only a restriction on the authoring of the documentation, not where it appears. With the method I suggested if you put a (namespaced) id attribute on any element internal to the template then you can sticka <xhtml:span (or div or p or anything elese) with a namedspaced ref attribute and that documentation will be taken as documenting the xslt instruction with the id, and shown just before that instruction.
Sneaky - and effective! Tiny bit more processing than weaving, but meets the need. Full xhtml solution Ken!
regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk
|

Cart



