1778Re: [emacs-nxml-mode] Genshi and nxml-mode
- Feb 7, 2008"Lennart Borgman (gmail)" wrote:
> Can Genshi be supported by nxml-mode? Have someone alreadyIt depends what you mean by 'support' and by 'adding namespace'. If
> written support for it?
> Genshi adds an additional name space like this:
> <html xmlns="http://www.w3.org/1999/xhtml"
you just need an extra namespace declaration, well, that's out of the
box ;-). If you want nXML to validate elements in that namespace, then
you have to provide the appropriate schema. That is, Genshi + HTML.
From the Genshi user guide, excerpt of the ToC of "Genshi XML
That sounds very like reinventing XSLT. And having a schema for such
a templating language and its 'hosted' language (in your case HTML)
sound pretty hard. Elements of the hosted language can appear
everywhere in the template language, and are not required to have a
valid content regarding their original schema.
IMHO, not feasible unless either hard schema writing or nXML
modifications. But should be an excellent exercise, in either case ;-)
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr
- << Previous post in topic Next post in topic >>