Skip to main content

XML Element

  • Reference work entry
  • First Online:
  • 12 Accesses

Synonyms

XML element

Definition

An XML element is a markup element in the W3C XML recommendation [1] that consists of a beginning markup tag and an end tag with optional content and optional attributes.

Key Points

An XML element is a markup element in the W3C XML recommendation [1] that consists of a beginning markup tag and an end tag.

It has to have balanced begin- and end-tags as in this example

<element>content</element>.

XML elements can be nested as in

<e1>some optional text <e2>nested element</e2> some optional text</e1>

They can have XML attributes as in

<element attribute="value">content</element>

And they can be empty, meaning have no content as in

<element/>.

The structure of elements is free within the grammatical rules of [1], but elements can be constrained and typed by schema languages such as XML DTDs [1] or XML Schema [2].

An XML element is represented as an XML element information item in the XML Information Set [3] and an XML element node in the XPath and XQuery...

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   4,499.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD   6,499.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Recommended Reading

  1. XML 1.0 Recommendation, latest edition available online at: http://www.w3.org/TR/xml

  2. Schema Part 0: Primer, latest edition available online at: http://www.w3.org/TR/xmlschema-0/

  3. XML 1.0 Information Set, latest edition available online at: http://www.w3.org/TR/xml-infoset

  4. XQuery 1.0 and XPath 2.0 Data Model (XDM), latest edition available online at: http://www.w3.org/TR/xpath-datamodel/

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Michael Rys .

Editor information

Editors and Affiliations

Section Editor information

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Science+Business Media, LLC, part of Springer Nature

About this entry

Check for updates. Verify currency and authenticity via CrossMark

Cite this entry

Rys, M. (2018). XML Element. In: Liu, L., Özsu, M.T. (eds) Encyclopedia of Database Systems. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-8265-9_795

Download citation

Publish with us

Policies and ethics