Using Stylus Studio to Build a Converter URI

If you have Stylus Studio 2009 XML Enterprise Suite, you can use Stylus Studio to construct converter URLs. Converter URIs can be complex - property names and their values vary from one XML Converters to another, for example - so using Stylus Studio to construct them can reduce errors in your applications.

Using the URI in the Select XML Converter Dialog Box

To construct a converter URI using the URI in the Select XML Converter dialog box:
3. Click OK to complete the conversion. (You can click Cancel if you are peforming this procedure just to obtain the converter:URI.)
4. Paste the converter URI in your XSLT or XQuery code as needed.

Using the URI in the Properties Window

To construct converter URI using the URI in the Properties window:

The purpose of this step is to provide an editor into which you can drag-and-drop the the document you created in step 1 in order to display the associated converter:URI.

3. Drag the document you created in step 1from the Project window and drop it into the text editor you opened in step 2.

The complete URI appears in the text editor.

5. Paste the converter URI in your XSLT or XQuery code as needed.

Note: Escape characters as required for strings in Java programs. For example, escape=\:quotes='" becomes escape=\\:quotes='\" (the single quote does not need to be escaped).

 
Free Stylus Studio XML Training:
W3C Member