xml parser-factory saxparser-factory document-builder-factory transformer-factory entity-mapping entity-mapping-name public-id system-id entity-uri

XML Application Scoping 8-3

8.2.1 xml

The main element for configuring XML resources, such as parsers, transformers, external entities, and the external entity cache for an enterprise application.

8.2.2 parser-factory

The parent element for specifying a particular parser or transformer for an enterprise application.

8.2.3 saxparser-factory

Element that specifies the factory class to be used for SAX style parsing in this application. If this element is not specified, the default SAX parser factory specified for the WebLogic Server instance is used.

8.2.4 document-builder-factory

Element that specifies the factory class to be used for DOM style parsing in this application. If this element is not specified, the default DOM parser factory specified for the WebLogic Server instance is used.

8.2.5 transformer-factory

Element that specifies the factory class to be used when transforming documents using the javax.xml.transform packages in this application. If this element is not specified, the default XSLT transformer factory specified for the WebLogic Server instance is used.

8.2.6 entity-mapping

The parent element for mapping an entity declaration in an XML file to a local copy of the entity, such as a DTD or Schema.

8.2.7 entity-mapping-name

Element that specifies the name of the entity mapping declaration.

8.2.8 public-id

Element that specifies the public ID of the entity, such as: -BEA Systems, Inc.DTD for carsEN.

8.2.9 system-id

Element that specifies the system ID of the entity, such as: http:www.bea.comdtdscar.dtd

8.2.10 entity-uri

Element that specifies the URI of the entity. The path is relative to the main directory of the EAR archive or the exploded directory. For example, dtdscar.dtd indicates that there is a directory called dtds in the main EAR archive parallel to the META-INF directory and it contains a file called car.dtd. 8-4 Programming XML for Oracle WebLogic Server

8.2.11 when-to-cache