![]() ![]() If you are using the Saxon processor, optionally create an instance of % Opens in a new tab, which represents a single connection to the XSLT Gateway. The system automatically starts the gateway when needed. The gateway is not needed if you are using the Xalan processor. If you are using the Saxon processor, configure the XSLT Gateway Server, as described in the next section. To perform XSLT transformations, do the following: The APIs are similar for the two processors, except that methods in %XML.XSLT2 use an additional argument, to specify the gateway connection to use. If you open a new connection, other connections (and their compiled stylesheets and caches) are ignored. If you open a connection and create a compiled stylesheet or evaluate a transform that populates the isc:evaluate cache, all other transforms evaluated on that connection will have access to the compiled stylesheet and isc:evaluate cache entries. ![]() With the Saxon processor, compiled stylesheets and the isc:evaluate cache are connection-specific you must manage your own connection to take advantage of either feature. This means that, for example, you could have two separate InterSystems IRIS processes connected to the gateway, each with its own set of compiled stylesheets, sending transform requests at the same time. The %XML.XSLT2 API sends requests to Saxon over a connection to the XSLT 2.0 Gateway. The %XML.XSLT2 package provides the API for this processor. The %XML.XSLT package provides the API for this processor. ![]() InterSystems IRIS provides two XSLT processors, each with its own API: Overview of Performing XSLT Transformations in InterSystems IRIS If these defaults are not correct, modify the XML declaration so that it specifies the character set actually used. If the character encoding is not declared, InterSystems IRIS uses the defaults described in Character Encoding of Input and Output. The XML declaration of any XML document that you use should indicate the character encoding of that document, and the document should be encoded as declared. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |