Overview

Stylus Studio can read and write well-formed XML documents ( .xml, .xsl, and so on) from/to TigerLogic XDMS collections. In Stylus Studio, you reference external files using a URL. The URL used to access TigerLogic XDMS files is tig://server:port/database_ name/collection_name /file_name .xml:

  • tig is the prefix that specifies that files will be read from TigerLogic XDMS
  • server:port is the server name that hosts the TigerLogic XDMS file system; the port is the port used to connect to the server
  • database_name is the name of the TigerLogic XDMS database you want to access
  • collection_name is the name of the TigerLogic XDMS collection associated with the document you want to open
  • file_name. xml is the name of the XML document you wish to access within that collection

For example, to access the auction.xml document in mycollection, you might enter the following in the URL field of the Stylus Studio Open dialog box:

tig://ntstylus-dev:3408/mydb/mycollection/auction.xml

Note Stylus Studio treats collections very much like directories, and the XML documents stored within a collection are treated like files within a directory.

You can save files back to the same collection from which they were read, or to some other file system (your local machine, for example). You cannot create new collections.

Note

 

You can use a TigerLogic XDMS URL to open an XML document anywhere you can specify URLs in Stylus Studio. For example, you can use the TigerLogic XDMS URL to specify the source document for XQuery Mapper and then process the XQuery using the TigerLogic XDMS XQuery processor.

TigerLogic XDMS Version Support

Stylus Studio supports TigerLogic XDMS Version 2.1.1.

Saxon XSLT Processor

Stylus Studio® has partnered with Saxonica, a leading provider of Java-based XSLT and XQuery processing components to offer a robust XSLT 1.0 and 2.0 development environment, featuring development and deployment using the Saxon XSLT processor.

Introduction to the XQuery Mapper

This free online video demonstration covers Stylus Studio's synchronized XQuery editing and mapping tool which allows you to create any XQuery expression, either manually using Stylus Studio's XQuery editor.

Translating X12 Documents to XML

The X12 to XML Converter is a built-in function of the adapter library. The XML that is generated is well commented and indented, and can be used anywhere XML is normally used — with XML Schemas, XSLT, XQuery, etc.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member