xml namespace





13.9.1 XML Namespaces
















Python Library Reference




Previous: 13.9 xmllib
Up: 13.9 xmllib
Next: 14. Multimedia Services





13.9.1 XML Namespaces



This module has support for XML namespaces as defined in the XML
Namespaces proposed recommendation.



Tag and attribute names that are defined in an XML namespace are
handled as if the name of the tag or element consisted of the
namespace (i.e. the URL that defines the namespace) followed by a
space and the name of the tag or attribute. For instance, the tag
<html xmlns='http://www.w3.org/TR/REC-html40'> is treated as if
the tag name was 'http://www.w3.org/TR/REC-html40 html', and
the tag <html:a href='http://frob.com'> inside the above
mentioned element is treated as if the tag name were
'http://www.w3.org/TR/REC-html40 a' and the attribute name as
if it were 'http://www.w3.org/TR/REC-html40 href'.


An older draft of the XML Namespaces proposal is also recognized, but
triggers a warning.



See Also:


Namespaces in XML

This World-Wide Web Consortium recommendation describes the
proper syntax and processing requirements for namespaces in
XML.










Python Library Reference




Previous: 13.9 xmllib
Up: 13.9 xmllib
Next: 14. Multimedia Services



See About this document... for information on suggesting changes.





Wyszukiwarka

Podobne podstrony:
function xml set start namespace decl handler
function xml set end namespace decl handler
function xml set end namespace decl handler
function xml set end namespace decl handler
function xml parse into struct
pai XML
namespacekeycode 1 1 properties
2001 04 Xml Content Management
ref xml
namespacescript connector
Wykład 12 XML NOWOCZESNY STANDARD ZAPISU I WYMIANY DOKUMENTU
function xml set notation decl handler
Jezyk XML w aplikacjach z bazami danych
xml sgml
xml
namespacemembers eval
function xml set external entity ref handler

więcej podobnych podstron