Skip to main content

Module xml_parser

Module xml_parser 

Source
Expand description

W3C XML / SVG 構文解析純粋モジュール

XML 1.0 および W3C DOM Parsing §4.1 に準拠し、 大文字小文字の完全保持、自己終了タグ(<rect ... />)、 タグ整合性検査、および <parsererror> 診断を提供する。

Structs§

XmlError
XML パースエラー

Enums§

SupportedMimeType
DOMParser がサポートする MIME タイプ。

Functions§

create_parsererror_node
W3C DOM Parsing 仕様準拠の <parsererror> 要素ノードを生成する。
input_matches_at 🔒
parse_mime_type
MIME タイプ文字列を判定する(純粋関数)。
parse_xml
XML 文字列をパースし、case-sensitive な DOM ノードツリーを構築する(純粋関数)。
read_attributes 🔒
read_name 🔒
skip_whitespace_and_misc 🔒
skip_whitespace_chars 🔒
unescape_xml_entities
XML の標準エンティティ(<, >, &, ", ')をアンエスケープする。