Modify ↓
Ticket #26 (new enhancement)
Add namespace filters
| Reported by: | jgou | Owned by: | jgou |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.5 |
| Component: | universe/kauri-template | Version: | trunk |
| Keywords: | Cc: |
Description (last modified by jgou) (diff)
We should provide namespace filters, for the following use cases:
- strip xhtml namespace when output format is html
- if the default namespace is xhtml, then the html tags will not be recognized (<br> is indeed not the same as <xhtml:br>) by the html serializer (and possibly all who's next in the chain, including the browser).
- This can be a bit annoying when you write your templates in xhtml, but want to publish it as html (because IE7 doesn't support xhtml or ...).
- add missing xmlns attributes
- e.g. when referencing an above declared variable or ...
- maybe have a look at the XmlSerializer in Daisy
- drop unneccesary namespace declarations
- e.g. the ktl-namespace isn't used anymore after leaving the template engine
Attachments
Change History
Note: See
TracTickets for help on using
tickets.