|
Home >Online Product Documentation >Table of Contents >Using Stylus Studio to Build a Converter URI Using Stylus Studio to Build a Converter URIIf 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 BoxTo construct a converter URI using the URI in the Select XML Converter dialog box:
1. Use the XML Converters to open a file as an XML document in Stylus Studio. See Using XML Converters to Open a Non-XML File as XMLor How to Open a File Using a Custom XML Conversion Definition if you need help with this step.
2. Before clicking OK to complete the conversion, copy the converter:URI in the URI field of the Select XML Converter dialog box (see Figure 186).
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 WindowTo construct converter URI using the URI in the Properties window:
1. Use the XML Converters to open a file as an XML document in Stylus Studio. See Using XML Converters to Open a Non-XML File as XMLor How to Open a File Using a Custom XML Conversion Definition if you need help with this step.
2. Open a new document in any Stylus Studio text editor (for example, File > New > XML Document).
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.
4. Copy the complete converter URI.
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, |
Support for the Saxon XQuery Processor
Stylus Studio's XQuery tools feature integrated support for the Saxon SA 8.7.3 XQuery and XSLT processor so you can Edit, Debug and Run XQuery using Saxon. Java code generation support lets you deploy Saxon XQuery applications with just one click.
EDI Mapping
To transform EDI to XML, whether for X12 or EDIFACT, Stylus Studio provides the design tools and run-time support. EDIFACT, X12 and custom EDI formats can be translated, validated and mapped using the EDI Mapping adapter technology described here.
XML Whitepapers
Learn how XML can help you meet your business objectives by reading free XML Whitepapers covering XML, XML Schema, XQuery, SQL/XML, and FIXML technolgies employed in real world case studies.
Using XSLT Templates
Using XSLT Templates is an online video demonstration of the Stylus Studio XSLT designer. See just how easy it is to create, apply and match XSLT templates to your XML data to create beautiful HTML layouts for XML content publishing applications.



