On Tue, 2009-11-03 at 11:03 +0100, Joachim Schrod wrote:
Roger Oberholtzer wrote:
Is anyone using xalan (xalan-j2-2.7.0-244.17) in openSUSE 11.1? I cannot get it to work. I am new to xslt, so it could be me. To eliminate as much of 'me' as possible, I am trying to run a simple XSLT example from the O'Reilly XSLT 2.0 book. Examples from that book can be found here:
http://examples.oreilly.com/9780596527211/
I then try an example from Chapter 2 (from the archive found at the address above) with:
java org.apache.xalan.xslt.Process -in greetings.xml \ -xsl greeting.xsl -out test.html
The sample document in the ZIP file is not the same as in the book. In the book, it has a "greeting" element at the root and that would have been properly selected. Here there is no not "greeting" at the document root, so no selection is done.
-- If the XSL file uses "*/greeting", or even just "*", as select pattern, it works again.
My mistake. D*mn. I should have been trying: java org.apache.xalan.xslt.Process -in greeting.xml \ -xsl greeting.xsl -out test.html There were two xml data files with very similar names. This sort of a 'did you plug it in' type of error on my part... As Roseanne Roseanneadanna would have said: Never mind. -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 8-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org