Photo
Tutorial
The XJ programming language combines intuitive constructs for XML processing with the power of Java. Java applications can integrate and process XML data easily, and XML processing applications have all of Java, including the use of all existing libraries, at their disposal.XJ integrates knowledge of XML, XML Schema and XPath into the language, which has the following advantages:
  • Familiarity (for the XML Programmer) : XML processing in XJ is consistent with open XML standards.
  • Robustness : XJ programs are strongly typed with respect to XML Schemas. The XJ compiler can detect errors in uses of XPath expressions and construction of XML data.
  • Easier Maintenance: Since XJ programs are written in terms of XML and not low-level APIs such as DOM or SAX, they are easier to maintain and modify if XML Schemas change.
  • Performance: Since the compiler is aware of the use of XML in a program, it can optimize the runtime representation, parsing, and XPath evaluation of XML.

First, a brief overview of the XJ language.

An "interactive" sample XJ program

Compilation and execution of the XJ program. [Windows] [Linux] [Cygwin]

 

    About IBM Privacy Contact