I'm using 10.4.8
austen% /usr/bin/xsltproc --version Using libxml 20626, libxslt 10117 and libexslt 813 xsltproc was compiled against libxml 20626, libxslt 10117 and libexslt 813 libxslt 10117 was compiled against libxml 20626 libexslt 813 was compiled against libxml 20626
On 5 Dec 2006, at 16:20, Matthias Troyer wrote:
On my MacOS X machine this works:
troyer$ /usr/bin/xsltproc archive2plot.xsl archive
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="http://xml.comp-phys.org/ 2003/4/plot2html.xsl"?>
<plot name="Susceptibility versus temperature for one- dimensional Heisenberg models"><legend show="true"/><xaxis label="Temperature"/><yaxis label="Susceptibility"/><set> <point><x>0.05</x><y>0.17104</y><dy>0.00152</dy></point>
</set> </plot>
troyer$ /usr/bin/xsltproc --version Using libxml 20616, libxslt 10111 and libexslt 809 xsltproc was compiled against libxml 20616, libxslt 10111 and libexslt 809 libxslt 10111 was compiled against libxml 20616 libexslt 809 was compiled against libxml 20616
Which version of MacOS X do you use? what is the output of /usr/ bin/xsltproc --version ?
Matthias
On Dec 5, 2006, at 4:52 PM, Austen Lamacraft wrote:
Here are the files. I'm sure it's something basic that I'm missing, but unfortunately I have no experience with XSLT.
Austen
<archive> <archive2plot.xsl>
On 5 Dec 2006, at 12:32, Matthias Troyer wrote:
This is strange since I regularly run this on OS X. Can you please send the files archive and archive2plot.xsl ?
Matthias
On Dec 5, 2006, at 12:39 PM, Austen Lamacraft wrote:
Just to update this thread. After conferring with a colleague using Xalan I found that the command
" xsltproc ~/ALPS/lib/xml/plot2xsl.xsl plot.xml > archive2plot.xsl "
gives the same result on both our systems. However,
" xsltproc archive2plot.xsl archive > plot "
does not, despite the fact that our versions of "archive2plot.xsl" and "archive" are both identical
I concluded this was an XSLT processor problem. I was using the version of xsltproc that comes with Mac OS X Tiger (1.1.11). Since then I've tried 1.1.15 (Fink binary) and built 1.1.17 using Fink as well as trying the 1.1.17 binary from
http://www.explain.com.au/oss/libxml2xslt.html
In each case the problem is the same: no points are extracted. I realize this is not an ALPS problem per se, but does anyone have any advice regarding xsltproc in OS X?
I could try switching to Xalan...
Austen
On 9 Nov 2006, at 16:09, Austen Lamacraft wrote:
An elementary question from a beginner user...
I can't get the simplest plot file examples given in the ToolsHOWTO or Tutorial:ClassicalMCSimulations to work.
While extracttext, extractxmgr and direct evaluation using xsltproc all work without complaining , no points are extracted e.g. from the task files produced by the one-dimensional Heisenberg simulation in Tutorial:ClassicalMCSimulations.
Thus although the plots produced by
extractxmgr plot.xml parm2a.task*.out.xml > result.xmgr
are correctly labeled, there are no points. Any ideas?
Thanks,
Austen