Expand description
§Macros for XML strings
This crate provides macros to check XML string syntax at compile time.
§Example
ⓘ
use rxml::{CDataStr, NCNameStr, xml_cdata, xml_ncname};
const XML_NAMESPACE: &'static CDataStr = xml_cdata!("http://www.w3.org/XML/1998/namespace");
const XML_PREFIX: &'static NCNameStr = xml_ncname!("xml");
§See also
This crate bases on the rxml_validation
crate and it primarily intended
for use with the rxml
crate.
Macros§
- XML 1.0 CData compliant string
- XML 1.0 Name compliant string
- Namespaces for XML 1.0 NCName compliant string