Crate rxml_proc

Source
Expand description

§Macros for XML strings

This crate provides macros to check XML string syntax at compile time.

§Example

use rxml::{NcNameStr, xml_cdata, xml_ncname};

const XML_PREFIX: &'static NcNameStr = xml_ncname!("xml");
const XML_QNAME: &'static NameStr = xml_name!("xml:lang");

§See also

This crate bases on the rxml_validation crate and it primarily intended for use with the rxml crate.

Macros§

xml_name
XML 1.0 Name compliant string
xml_ncname
Namespaces for XML 1.0 NCName compliant string