XML Namespaces

Introduction

Namespaces play an important role in XML applications. In particular, they allow for modularity and for mixing different XML vocabularies in a single document, for example XHTML and XForms.

For more information about namespaces, please visit the XML Namespaces specification.

The number of XML namespaces used in Orbeon Forms is quite large, and it is easy for developers to lose track of which is which. The tables below summarize the usage of XML namespaces in Orbeon Forms, with links to the relevant documentation and specifications.

Orbeon forms-defined namespaces

Namespace URI Usual Prefix Usage Example Specification
http://www.orbeon.com/oxf/pipeline p XML Pipeline Language program (XPL) p:processor XML Pipeline Language
http://www.orbeon.com/oxf/processors oxf Standard Orbeon Forms processors referred from XPL programs oxf:http-serializer Orbeon Forms processors documentation
http://orbeon.org/oxf/xml/xforms xxf Orbeon Forms extensions to XForms xxforms:appearance
http://orbeon.org/oxf/xml/xinclude xxi Orbeon Forms extensions to XInclude xxi:omit-xml-base XInclude Processor
http://orbeon.org/oxf/xml/xbl xxbl Orbeon Forms extensions to XML Binding Language (XBL) xxbl:transform
http://orbeon.org/oxf/xml/formatting f Orbeon Forms view formatting f:xml-source
http://orbeon.org/oxf/xml/portlet portlet Orbeon Forms portlet tagging portlet:is-portlet-content
http://www.orbeon.com/xslt-function function Orbeon Forms XSLT functions function:evaluate
http://orbeon.org/oxf/xml/local local User-defined XSLT functions local:my-function
http://orbeon.org/oxf/xml/xmldb xdb XML:DB processors configurations xdb:query XML:DB Processors
http://orbeon.org/oxf/xml/sql sql SQL procesor configuration sql:get-column SQL Processor
http://orbeon.org/oxf/xml/delegation delegation Delegation processor delegation:execute Delegation Processor
http://orbeon.org/oxf/xml/datatypes odt SQL procesor XML data types odt:xmlFragment SQL Processor
http://orbeon.org/oxf/xml/form-runner fr Form Runner elements and attributes fr:section
http://orbeon.org/oxf/xml/form-builder fb Form Builder elements and attributes fb:metadata

Standard namespaces

Namespace URI Usual Prefix Usage Example Specification
http://www.w3.org/2001/XInclude xi XInclude elements
NOTE:

When using XInclude to perform inclusions, with the XInclude processor or during parsing, be sure to use this correct namespace instead of the older http://www.w3.org/2003/XInclude, which is used by some XML parsers (see next entry). Note that the correct version has the older year, 2001, instead of the newer year, 2003.

xi:include XML Inclusions (XInclude) Version 1.0
http://www.w3.org/2003/XInclude xi XInclude elements
NOTE:

This is an obsolete XInclude namespace. Starting with Orbeon Forms 3.6 and above, be sure to use the correct http://www.w3.org/2001/XInclude instead.

xi:include XML Inclusions (XInclude) Version 1.0
http://www.w3.org/1999/XSL/Transform xsl XSLT 1.0 or 2.0 stylesheet. xsl:transform XSL Transformations (XSLT) Version 1.0
XSL Transformations (XSLT) Version 2.0
http://www.w3.org/2005/xpath-datatypes xdt XPath 2.0 datatypes
NOTE:

This URI changes with each release of the XPath 2.0 draft specification, and with each release of the Saxon XSLT processor.

xdt:dayTimeDuration XML Path Language (XPath) 2.0
http://saxon.sf.net/ saxon Saxon XSLT processor extensions saxon:parse Saxon Extensions
http://www.w3.org/2001/XMLSchema xs XML Schema xs:schema XML Schema Part 0: Primer Second Edition
XML Schema Part 1: Structures Second Edition
XML Schema Part 2: Datatypes Second Edition
http://www.w3.org/2001/XMLSchema-instance xsi XML Schema attributes xsi:type XML Schema Part 1: Structures Second Edition
http://www.w3.org/2001/XMLSchema-datatypes N/A XML Schema datatypes, used by XML Schema and by Relax NG XML Schema Part 2: Datatypes Second Edition
http://www.w3.org/2002/xforms xf XForms markup xforms:input XForms 1.1
http://www.w3.org/2001/xml-events ev XML Events (used by XForms) ev:event XForms 1.1
http://www.w3.org/1999/xhtml xh XHTML markup xhtml:body XHTML 1.0
http://relaxng.org/ns/structure/1.0 N/A Relax NG 1.0 schema RELAX NG home page
RELAX NG Specification
http://www.w3.org/ns/xbl xbl XML Binding Language (XBL) XML Binding Language (XBL) 2.0
http://www.exforms.org/exf/1-0 exf eXforms - extending XForms 1.0 exforms:sort() eXforms extensions
Comments