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 can 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.6.

 
Free Stylus Studio XML Training:
W3C Member