Oracle8i Application Developer's Guide - XML
Release 3 (8.1.7)

Part Number A86030-01

Library

Solution Area

Contents

Index

Go to previous page Go to beginning of chapter Go to next page

Using XML Parser for C, 5 of 10


XML Parser for C XSLT (DOM Interface) Usage

Figure 21-2 shows the overall XML Parser for C XSLT functionality.

  1. There are two inputs to xmlparse():

    • The Stylesheet to be applied to the XML document

    • XML document

    The output of xmlparse(), the parsed stylesheet and parsed XML document, are sent to the xslprocess() function for processing.

  2. xmlinit() initializes the XSLT processing. xmlinit() initializes the xslprocess() result

  3. xslprocess()optionally calls other functions, such as print functions. You can see the list of available functions either on OTN or in the Oracle8i XML Reference.

  4. The resultant document (XML, HTML, VML, and so on) is typically sent to an application for further processing.

  5. The application terminates the XSLT process by declaring xmlterm(), for the XML document, stylesheet, and final result.

XML Parser for C's XSLT functionality is illustrated with the following examples:

Figure 21-2 XML Parser for C: XSL-T (DOM Interface) Usage



Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Solution Area

Contents

Index