Hi all,
I am newish to XSLT and brought the book 'XSLT Cookbook', after reading
"Beginning XSLT". I am trying to work through the "XML to SVG" chapter.
However, I find the book VERY disorganized. I have spent the best part of my
weekend trying to marry up code in the book with the downloaded code files and
then trying to get the examples to run. In some cases the code is very
different, where comments are removed (fair enough) but also whole new blocks
of code are added ??????????. I think even advanced XML/XSLT users would find
this a hassle.
The online reviews I have read for this book say it's excellent! And I am
hoping it is just my lack of experience with XML and XSLT that is the main
problem and that someone out there can help (Sol?, Jenny?).
Q1. How do I run the code on page 338 ("test-axis3" not "test-axis1" as
expected), using Xalan? It seems to me that there is no XML data file to
transform and produce "axis3.svg". ?
Some attempts where:
1. Using a 'dummy.xml' file that contains only an empty "root" node.
C:\XSLTCkBkCode\svg>java org.apache.xalan.xslt.Process -IN dummy.xml -XSL
test-axis3.xslt -OUT axis3output.svg
2. Trying to run just an xslt file in isolation (although I don't believe that
it is possible)
C:\XSLTCkBkCode\svg>java org.apache.xalan.xslt.Process -IN test-axis3.xslt -OUT
axis3.svg
Q2. Is there additional support info about this book about the downloaded code
and how to run them. If there is not, I strongly recommend one be created.
TIA
Linc
Lincoln Mitchell
Website Developer
_________________________________________
LogicaCMG
Level 1, Bartholomew House
31 Ventnor Ave
West Perth WA 6005
Australia
T: +61 (8) 9214 9233 (direct)
F: +61 (8) 9481 4064
E: lincoln(_dot_)mitchell(_at_)logicacmg(_dot_)com
www.logicacmg.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list