| 1 |
This directory contains a collection of XSLT stylesheets that can be |
|---|
| 2 |
used for updating XML-based VR Juggler/JCCL configuration files. The |
|---|
| 3 |
update process is iterative with each step corresponding to one release |
|---|
| 4 |
of VR Juggler. |
|---|
| 5 |
|
|---|
| 6 |
At some point, we intend to automate the update process inside VRJConfig |
|---|
| 7 |
using XSLT. VRJConfig will detect the versions of the contents in the |
|---|
| 8 |
loaded file and perform an update to the contents if necessary. This |
|---|
| 9 |
will only be possible for configuration element versions where XSLT |
|---|
| 10 |
stylesheets are provided for performing the update. |
|---|
| 11 |
|
|---|
| 12 |
After you have performed the update, you should load the generated |
|---|
| 13 |
configuration file using VRJConfig and review your configuration. Some |
|---|
| 14 |
additions to the XML content may be made, and generic identifiers are often |
|---|
| 15 |
used for these additions. Using VRJConfig, you can make customizations for |
|---|
| 16 |
your specific configuration. |
|---|
| 17 |
|
|---|
| 18 |
2.0a1-2.0a2.xsl |
|---|
| 19 |
--------------- |
|---|
| 20 |
An XSLT stylesheet that provides the upgrade path for configuration |
|---|
| 21 |
files created for VR Juggler 2.0 Alpha 1 to VR Juggler 2.0 Alpha 2. |
|---|
| 22 |
Simply use this stylesheet with an XSLT processor to update old |
|---|
| 23 |
configuration files. |
|---|
| 24 |
|
|---|
| 25 |
To use this stylesheet with the xsltproc command, run xsltproc as |
|---|
| 26 |
follows: |
|---|
| 27 |
|
|---|
| 28 |
xsltproc -o <output.cfg> 2.0a1-2.0a2.xsl <input.cfg> |
|---|
| 29 |
|
|---|
| 30 |
To use it with Xalan, run the xalan wrapper (shell script or batch |
|---|
| 31 |
file) as follows: |
|---|
| 32 |
|
|---|
| 33 |
xalan -in <input.cfg> -out <output.cfg> -xsl 2.0a1-2.0a2.xsl |
|---|
| 34 |
|
|---|
| 35 |
Fill in your input filename and output filename appropriately. |
|---|
| 36 |
|
|---|
| 37 |
2.0a2-2.0a4.xsl |
|---|
| 38 |
--------------- |
|---|
| 39 |
An XSLT stylesheet that provides the upgrade path for configuration |
|---|
| 40 |
files created for VR Juggler 2.0 Alpha 2 or VR Juggler 2.0 Alpha 3 |
|---|
| 41 |
to VR Juggler 2.0 Alpha 4. Simply use this stylesheet with an XSLT |
|---|
| 42 |
processor to update old configuration files. |
|---|
| 43 |
|
|---|
| 44 |
To use this stylesheet with the xsltproc command, run xsltproc as |
|---|
| 45 |
follows: |
|---|
| 46 |
|
|---|
| 47 |
xsltproc -o <output>.jconf 2.0a2-2.0a4.xsl <input.cfg> |
|---|
| 48 |
|
|---|
| 49 |
To use it with Xalan, run the xalan wrapper (shell script or batch |
|---|
| 50 |
file) as follows: |
|---|
| 51 |
|
|---|
| 52 |
xalan -in <input.cfg> -out <output>.jconf -xsl 2.0a2-2.0a4.xsl |
|---|
| 53 |
|
|---|
| 54 |
Fill in your input filename and output filename appropriately. Note |
|---|
| 55 |
that the output file should end with the extension ".jconf" for 2.0 |
|---|
| 56 |
Alpha 4 and beyond. |
|---|
| 57 |
|
|---|
| 58 |
2.0a4-2.0b1.xsl |
|---|
| 59 |
--------------- |
|---|
| 60 |
An XSLT stylesheet that provides the upgrade path for configuration |
|---|
| 61 |
files created for VR Juggler 2.0 Alpha 4 to VR Juggler 2.0 Beta 1. |
|---|
| 62 |
Simply use this stylesheet with an XSLT processor to update old |
|---|
| 63 |
configuration files. |
|---|
| 64 |
|
|---|
| 65 |
To use this stylesheet with the xsltproc command, run xsltproc as |
|---|
| 66 |
follows: |
|---|
| 67 |
|
|---|
| 68 |
xsltproc -o <output>.jconf 2.0a4-2.0b1.xsl <input>.jconf |
|---|
| 69 |
|
|---|
| 70 |
To use it with Xalan, run the xalan wrapper (shell script or batch |
|---|
| 71 |
file) as follows: |
|---|
| 72 |
|
|---|
| 73 |
xalan -in <input>.jconf -out <output>.jconf -xsl 2.0a4-2.0b1.xsl |
|---|
| 74 |
|
|---|
| 75 |
Fill in your input filename and output filename appropriately. Note |
|---|
| 76 |
that the output file should end with the extension ".jconf" for 2.0 |
|---|
| 77 |
Alpha 4 and beyond. |
|---|
| 78 |
|
|---|
| 79 |
key_sym_2_0.xsl |
|---|
| 80 |
--------------- |
|---|
| 81 |
|
|---|
| 82 |
An XSLT stylesheet that provides assistance in migrating from VR Juggler |
|---|
| 83 |
2.0 to 2.1 and beyond. VRJConfig has a bug where it will not automatically |
|---|
| 84 |
replace numeric values with symbolic values when the config definition |
|---|
| 85 |
uses value enumeration. For new configurations, it uses the symbolic |
|---|
| 86 |
value, but if a configuration has been migrated forward repeatedly, it may |
|---|
| 87 |
contain numeric values. In the case of keyboard keys, mouse buttons, and |
|---|
| 88 |
mouse motions, the numeric values changed during VR Juggler 2.1 |
|---|
| 89 |
development, and as a result, VR Juggler 2.0 configurations using |
|---|
| 90 |
keyboard/mouse input may not behave as expected with VR Juggler 2.1 and |
|---|
| 91 |
newer. To help work around this, this transform can be applied to VR |
|---|
| 92 |
Juggler 2.0 configurations to replace the numeric key/mouse values with |
|---|
| 93 |
the symbolic values so that they will migrate forward seamlessly. |
|---|
| 94 |
|
|---|
| 95 |
To use this stylesheet with the xsltproc command, run xsltproc as |
|---|
| 96 |
follows: |
|---|
| 97 |
|
|---|
| 98 |
xsltproc -o <output>.jconf key_sym_2_0.xsl <input>.jconf |
|---|
| 99 |
|
|---|
| 100 |
To use it with Xalan, run the xalan wrapper (shell script or batch |
|---|
| 101 |
file) as follows: |
|---|
| 102 |
|
|---|
| 103 |
xalan -in <input>.jconf -out <output>.jconf -xsl key_sym_2_0.xsl |
|---|
| 104 |
|
|---|
| 105 |
Fill in your input filename and output filename appropriately. |
|---|
| 106 |
|
|---|
| 107 |
In general, this transform should be applied to all VR Juggler 2.0 |
|---|
| 108 |
configuration files that contain key_modifier_pair, input_window, and |
|---|
| 109 |
display_window config elements. After applying the transform, the 2.0 |
|---|
| 110 |
configuration files will continue to work with VR Juggler 2.0, and they |
|---|
| 111 |
will be ready for migration to VR Juggler 2.2 using VRJConfig. |
|---|
| 112 |
|
|---|
| 113 |
Patrick Hartling <patrick@infiscape.com> |
|---|
| 114 |
$Id$ |
|---|