Ticket #336 (new task)
Opened 3 years ago
Allow for DOM node variables to be streamed out in t:insert
| Reported by: | mpo | Owned by: | jgou |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.5 |
| Component: | universe/kauri-template | Version: | |
| Keywords: | Cc: | kauri-discuss@… |
Description
In r1564 we introduced the ability to insert the XML captured in a template-variable.
However this new feature will not work with variables holding DOM tree nodes (docs, fragments, elements, text nodes...) in stead of their string representation.
Using an 'no-transformation' transformerhandler from javax.xml.tranform. it should be possible to convert the dom-node into a stream of sax-events used in the template-engine.
Note: See
TracTickets for help on using
tickets.