Skip to content

Namespaces

Syd Bauman edited this page Mar 8, 2023 · 9 revisions

Namespaces for use in ATOP

Our namespaces

  • tei: = http://www.tei-c.org/ns/1.0: main TEI namespace for document instances
  • teix: = http://www.tei-c.org/ns/Examples: TEI namespace for examples in ODD instances
  • atop: = http://www.tei-c.org/ns/atop: Namespace for XSLT templates and functions in atop project
  • atop_test = http://www.tei-c.org/ns/atop/test_suite: The base namespace for defining ODD components in our test suite; we use a variety of namespaces (with a variety of prefixes), each of which starts with this base (and a slash).

The usual suspects

  • xi: = http://www.w3.org/2001/XInclude for XInclude
  • xsl: = http://www.w3.org/1999/XSL/Transform for XSLT
  • xs: = http://www.w3.org/2001/XMLSchema for XSD datatypes
  • math: = http://www.w3.org/2005/xpath-functions/math for XPath mathematic functions (I never use them — do you?)
  • xd: = http://www.oxygenxml.com/ns/doc/xsl for OXygen documentation
  • fn: (or nil) = http://www.w3.org/2005/xpath-functions for XPath functions
  • map: = http://www.w3.org/2005/xpath-functions/map for XPath maps
  • rng: = http://relaxng.org/ns/structure/1.0 for RELAX NG
  • ann: = http://relaxng.org/ns/compatibility/annotations/1.0 for RELAX NG annotations
  • sch: = http://purl.oclc.org/dsdl/schematron for ISO Schematron
  • err: = http://www.w3.org/2005/xqt-errors for XPath and XSLT errors.