Defines a number of tokens used for parsing XML. Not for general consumption.

Constants

REFERENCE = "(?:&#{NAME};|&#\\d+;|&#x[0-9a-fA-F]+;)"

NMTOKENS = "#{NMTOKEN}(\\s+#{NMTOKEN})*"

NMTOKEN = "(?:#{NAMECHAR})+"

NAME = "([\\w:]#{NAMECHAR}*)"

NAMECHAR = '[\-\w\.:]'

NAME_STR = "(?:#{NCNAME_STR}:)?#{NCNAME_STR}"

NCNAME_STR = '[\w:][\-\w.]*'

Attributes

Show files where this module is defined (1 file)
Register or log in to add new notes.