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 1.0 Name compliant string
  • Namespaces for XML 1.0 NCName compliant string