eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'XML::ElementContext':

Home

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

Class: ElementContext (in XML)


Inheritance:

   Object
   |
   +--XML::ElementContext

Package:
stx:goodies/xml/vw
Category:
XML-VW-Parsing
Version:
rev: 1.11 date: 2021/01/20 15:36:55
user: cg
file: ElementContext.st directory: goodies/xml/vw
module: stx stc-classLibrary: vw

Description:


This class includes some functionality to support XML namespaces. XML namespaces provide a simple method for qualifying element and attribute names used in XML documents  It stands as a proxy for an element when the element cannot yet be created, or when the element will never be created, but where information about the element must be recorded while processing its content.

Instance Variables:
	tag     <XML.NodeTag>
	namespaces      <Dictionary>


Instance protocol:

accessing
o  namespaces

o  namespaces: something

o  tag

o  tag: aTag

namespaces
o  defineDefaultNamespace: attribute

o  defineNamespace: attribute

o  findNamespace: ns

printing
o  printOn: aStream
(comment from inherited method)
append a user printed representation of the receiver to aStream.
The format is suitable for a human - not meant to be read back.

The default here is to output the receiver's class name.
BUT: this method is heavily redefined for objects which
can print prettier.

testing
o  definesNamespaces



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:30:24 GMT