Resource Directory (RDDL) for Connect 0.1

This version: February 10, 2001

Editor:

Overview

Connect 0.1 is a utility language and toolkit for wiring together programs that are made up of XSLT transformations. The use of a higher level language allows, in the simple implementation here, you to hide the invocation details of different implementations of XSLT.

If you have any improvements or other XSLT engines, please send them to me.

This document is a RDDL Resource Directory Description for Connect 0.1, which is an XHTML document with special XLinks that locate various resources useful for Connect.

Language

There are only 5 elements:

connections
The toplevel container. Has an xmlns namespace. Contains function elements.
function
Specifies an XSLT transformation. Has a name element, which is the name of the XSLT transformation, less the .xsl prefix. Contains param,input and output elements.
param
Any parameters for the XSLT transformation go here. Has a name attribute. The value of the parameter goes in the contents of the element.
input
An empty element with a file attribute.
output
An empty element with a file attribute.

Implementation

nex.xsl is an implementation for PCs. It takes an argument engine which lets you select different implementations or XSLT.

The implementation does nothing remotely smart: it does not use tees or pipes to speed anything up, for example.

Example

Here is an example of a Connect program schemacon.xml. This is a Connect program for Schematron:

   <!-- connect 0.1 program for Schematron -->
   <!-- usage: schemacon schema infile outfile -->
   <connections xmlns="http://www.ascc.net/xml/connect">
	<function name="skelet~1" >
		<param name="debug">true</param>
		<input file="%1%.xml" />
		<output file="tmpschema.xsl" />
	</function>
	<function name="tmpschema" >
		<input file="%2%.xml" />
		<output file="%3%" />
	</function>
  </connections>

Here is an example of a command line to run it:

D:\progra~1\xt.exe schemacon.xml nex.xsl schemacon.bat engine=Oracle4J

This produces:

@echo off
	
java -cp d:\progra~1\oracle\schema~1\2_1_0_1\xmlparserv2.jar oracle.xml.parser.v2.oraxsl   %1%.xml  skelet~1.xsl  tmpschema.xsl 
		
java -cp d:\progra~1\oracle\schema~1\2_1_0_1\xmlparserv2.jar oracle.xml.parser.v2.oraxsl   %2%.xml  tmpschema.xsl  %3% 

Related Resources for Connect 0.1

Well known URI

The well known URI for Connect is http://www.ascc.net/xml/connect.

Root namespace URI

http://www.ascc.net/xml/connect is the namespace of the root element of a Connect program.


Copyright 2001 (C) Rick Jelliffe

Connect 0.1 software and this page are available for any public use, under the conditions of the zlib/libpng license (the least restrictive), but please mention our names in any documentation or About screens for any products that uses it. Comments, fixes and upgrades welcome: email ricko@gate.sinica.edu.tw