[oXygen-user] how to call xsltproc from Mac OS X commandline?

Syd Bauman
Wed Feb 22 08:05:02 CST 2006


I am writing a bash-script front-end to an XSL transformation
(written in oXygen), because several other processes (including some
desparate Perl hacks) need to take place around the transform. The
target user of this transformation uses oXygen 7.0, but does not
otherwise have xsltproc installed. Is it possible to call the copy of
xsltproc that oXygen has from the commandline? I tried the obvious

  {path-to-oXygen-directory}/xsltproc.mac {stylesheet} {in} > {out}

but that complained 

|dyld: Library not loaded:
| @executable_path/../Frameworks/libxslt.framework/Versions/1.1.14/libxslt
|  Referenced from: /Users/Shared/applications/oxygen/xsltproc.mac
|  Reason: image not found

Details for both my system and the target system:
* Mac OS X 10.4.5
* oXygen 7.0 build 2006011910
* G4 processor @ >= 1GHz, with >= 1 GiB RAM

Although obviously not essential (I have several other options, e.g.
* insist target user installs xsltproc, e.g. using Fink
* separate the pre- and post- processing steps out and transform
  from within oXygen
* use some other XSLT engine, if it can be called from commandline)
it would be nice to get this to work, so help is appreciated, but not
worth an enormous amount of effort.




More information about the oXygen-user mailing list