eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'XML::NamePattern':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: NamePattern (in XML)


Inheritance:

   Object
   |
   +--XML::Pattern
      |
      +--XML::ConcretePattern
         |
         +--XML::NamePattern

Package:
stx:goodies/xml/vw
Category:
XML-VW-Patterns
Version:
rev: 1.9 date: 2021/01/20 14:56:52
user: cg
file: NamePattern.st directory: goodies/xml/vw
module: stx stc-classLibrary: vw

Description:


This class represents a content constraint in an element type declaration such that the declaration includes the names of the element types that may appear as children in the element's content

Instance Variables:
	name    <XML.NodeTag>


Class protocol:

instance creation
o  named: aName


Instance protocol:

accessing
o  description

o  name

initialization
o  named: aName

testing
o  matches: aNode
trying a simple solution: while validating, we only compare the tag type and prefix.
this works unless the prefix is reused for different namespaces



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 22 Dec 2024 03:48:50 GMT