NVDL and custom XHTML 5
Posted: Fri Apr 04, 2014 6:40 pm
I'm an XML beginner so bare with me.
From what I understand by searching in the forums XHTML Validation is done using NVDL schema
e.g role attribute can only have values: x|y|z
if I'm not mistaken there is no .xsd for XHTML 5 available so this could possibly be achieved by learning Relax NG Compact.
What would be a good way of doing this - should I be editing the already existing rnc files?
From what I understand by searching in the forums XHTML Validation is done using NVDL schema
Among other things I'm looking for a way to customize the available attributes and their values for the "section" element in XHTML 5
Oxygen uses the following NVDL schema to provide validation and content completion for XHTML 5 documents:
OXYGEN_INSTALL_DIR/frameworks/xhtml/xhtml5 (epub3)/epub-xhtml-30.nvdl
e.g role attribute can only have values: x|y|z
if I'm not mistaken there is no .xsd for XHTML 5 available so this could possibly be achieved by learning Relax NG Compact.
What would be a good way of doing this - should I be editing the already existing rnc files?