How to read an XML element value

There are a number of methods to read an XML element value. We present two common methods here: Locate and read an element value using the XML DOM; or Locate and read an element using XPATH expressions.

More Info

What is XPATH?

The World Wide Web Consortium (W3C) defines XPATH (1.0, 2.0, 3.0)  as follows: XPath is a language for addressing parts of an XML document, designed to be used by both XSLT and XPointer. The quoted definition from the W3C is correct, however, we feel that a better definition would be: XPATH is a path addressing […]

More Info

XPATH Data Types

XPATH is a query-language specifically designed to retrieve results from an XML document hierarchy. As such the value of the result can be one of a finite set of data types where the data type is defined by the values it can take as well as the operations / functions which can be performed on […]

More Info

Just the basics

The tutorials attempt to provide an in-depth view of each individual XML technology standard to enable you to effectively use them in real-life scenarios.

XML Tutorial

XML is a simple text-based format for representing structured information.

More

XPATH Tutorial

XPATH is a query language to select nodes, values or compute values from the content of an XML document.

More

XSLT Tutorial

XSL Transformations is a language for transforming XML documents into a target document and format such as plain text, XML, HTML, RSS or etc.

More

Use what you learned

Examples on how to implement and use XML technologies in common programming languages such as C#, Java, Visual Basic, JavaScript and etc...

Java

Java examples for XML, XPATH and XSLT. Each example addresses a common aspect of using XML technologies with Java.

More

.NET

.NET examples for XML, XPATH and XSLT. Each example addresses a common aspect of using XML technologies with either C# or Visual Basic.

More