Oracle8i Application Developer's Guide - XML Release 3 (8.1.7) Part Number A86030-01 |
Library | Service | Contents | Index

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()o`ptionally 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:

- XML Parser for C Example 16: C -- XSLSample.c

- XML Parser for C Example 17: C -- XSLSample.std

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

| Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
Library | Service | Contents | Index