Show TOC Start of Content Area

Component documentation SAP XML Toolkit for Java Locate the document in its SAP Library structure

Purpose

The XML Toolkit for Java pparsing XML documents using Java API for XML Parsing (JAXP), XML Schema Validation, and XPath expressions.

The whole definition and description of the methods and interfaces can be found in the JavaDoc documentation in the SAP NetWeaver Developer Studio under  Help ® SAP Web AS Documentation ® SAP Web AS Technologies ® Java 2 Platform, EE v1.3 API Specification.

Features

This section describes some basic concepts of the technology behind the SAP XML toolkit:

·        XSL Overview

Extensible Style Language (XSL) consists of two separate parts – a transformation language and a formatting language. They can function independently of each other. The transformation language’s basic function is to transform an XML document using a XSL Stylesheet Processor into another XML document. The transformed XML document can use the DTD and markup symbols from the original or only a specified set of tags.

·        XSL Stylesheet Processing

The XSL Stylesheet Processor executes the whole process of transforming. It accepts XML documents and XSL stylesheets and transforms the source XML document into another one. Thus, the tree transformation phase of the process is accomplished when the result tree is constructed.

The second phase is performed through a formatter. For example, it can be a rendering engine inside a browser. The whole process is executed by including formatting semantics in the result tree. These semantics represent classes of formatting objects. Each node of the result tree is a formatting object. Additional formatting properties facilitate representation of the result tree.

·        JAXP

JAXP is a standard Sun API that allows different XML-processing Java software to be easily plugged in and interchanged. Problems may occur if the new parser does not support some of the features that the old one supplied.

JAXP includes interfaces and abstract classes that ensure access to DOM and SAX parsers, as well as to XSL transformers.

For more information, see Obtaining SAX and DOM Parsers.

·        XML Schema Validation

XML Schema is a language defining the structure of an XML file.

For more information, see XML Schema Validation.

 

See also:

Advanced Techniques

SAP XML Toolkit for Java FAQ

End of Content Area