I would like to edit the XHTML files using Emacs nxml-mode , which rnc can use to check on the fly. All of this is built into newer versions of Emacs.
However, my XHTML files contain elements from a different schema. So the <foo: foo> tags are valid, but only inside the <xhtml: head> document.
Currently, nxml is complaining because the XHTML scheme it uses does not describe the foo tag. How to create a new schema that describes the foo tag with respect to an existing XHTML schema, and how can I automatically apply this schema using the schema definition rules in the schemas.xml file?
ie: I would like to test a document using two schemes at the same time: XHTML built-in rules and some custom rules that add specific tags with a name extension.
relaaax
source
share