xsldbg Installation for RISC OS
You will require :
- LibXML2 2.4.12 or greater
- LibXSLT 1.0.9 or greater
- xsldbg 0.9.5 or greater
- Norcroft C compiler (LCC, or GCC may suffice but has not been tested)
- A file system that supports long file names, for example RISC OS 4 E+
formatted discs, or a third party system such as raFS.
The LibXML2, LibXSLT and xsldbg source can be obtained from
http://homepage.ntlworld.com/justin.fletcher/XML/. For ease, your directory structure
should appear thus :
XMLTools |
libxml2-2/4/12 |
libxslt-1/0/9 |
xsldbg-0/9/5 |
Original |
RISCOS |
Original |
RISCOS |
Original |
RISCOS |
The 'RISCOS' directories should contain the source for each relevant
library. Where the version of the source differs, the directory names should
also be modified. Whilst the original source is not required, the structure
allows the source to be held alongside the RISC OS specific version.
Building LibXML2
To build LibXML2, you should :
- Build the executables and libraries by invoking amu on the command line
(*amu will suffice).
- Copy the xmllint and xmlcatalog executables into your library. Under
RISC OS Select, these will live in the XML sub-group. You will need to
create the XML group yourself as it is not present in the standard
distribution.
Building LibXSLT
To build LibXSLT, you should :
- Update the Makefile to contain the correct verion of LibXML that you
will compile and link against. The variable LIBXML2_VERSION
should be set to the correct value.
- Build the executables and libraries by invoking amu on the command line
(*amu will suffice).
- Copy the xsltproc executable into your library. Under RISC OS Select,
this will live in the XML sub-group. You will need to
create the XML group yourself as it is not present in the standard
distribution.
Building XSLDebug
To build xsldebug, you should :
- Update the Makefile to contain the correct verion of LibXML and LibXSLT
that you will compile and link against. The variables
LIBXML2_VERSION and LIBXSLT_VERSION should be set to
the correct value.
- Build the executables and libraries by invoking amu on the command line
(*amu will suffice).
- Copy the xsldebug executable into your library. Under RISC OS Select,
this will live in the XML sub-group. You will need to
create the XML group yourself as it is not present in the standard
distribution.
Using XSLDebug
Like the other XML tools, XSLDebug expects its filename parameters to be
passed as unix-like filenames relative to the current directory, or as file:
URIs. With this exception, the tool should fundamentally work in exactly the
same manner to the unix version.
This document was written by Justin Fletcher, therefore all faults are his.