1XML::RegExp(3)        User Contributed Perl Documentation       XML::RegExp(3)
2
3
4

NAME

6       XML::RegExp - Regular expressions for XML tokens
7

SYNOPSIS

9        use XML::RegExp;
10
11        if ($my_name =~ /^$XML::RegExp::Name$/)
12        {
13          # $my_name is a valid XML 'Name'
14        }
15

DESCRIPTION

17       This package contains regular expressions for the following XML tokens:
18       BaseChar, Ideographic, Letter, Digit, Extender, CombiningChar,
19       NameChar, EntityRef, CharRef, Reference, Name, NmToken, and AttValue.
20
21       The definitions of these tokens were taken from the XML spec (Extensi‐
22       ble Markup Language 1.0) at <http://www.w3.org/TR/REC-xml>.
23
24       Also contains the regular expressions for the following tokens from the
25       XML Namespaces spec at <http://www.w3.org/TR/REC-xml-names>:
26       NCNameChar, NCName, QName, Prefix and LocalPart.
27

AUTHOR

29       Original Author is Enno Derksen <enno@att.com>
30
31       Please send bugs, comments and suggestions to T.J. Mather
32       <tjmather@tjmather.com>
33
34
35
36perl v5.8.8                       2001-06-20                    XML::RegExp(3)
Impressum