Help me finding the xslt error please

Joined
Nov 18, 2011
Messages
1
Reaction score
0
Hi all,

I am trying to run the following transformation I found here to transform charts into html like this but do not have luck. It works on jeni's site but not on my computer.

I made the test.xml file like below and double click on it but I only get the line(no chart at all)

Jan642Feb527Mar364Apr843May295Jun250Jul654Aug828Sep454Oct732Nov236Dec546

Could you please help me make it work

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="svg-utils.xsl" ?>
<stats>
<item><label>Jan</label><value>642</value></item>
<item><label>Feb</label><value>527</value></item>
<item><label>Mar</label><value>364</value></item>
<item><label>Apr</label><value>843</value></item>
<item><label>May</label><value>295</value></item>
<item><label>Jun</label><value>250</value></item>
<item><label>Jul</label><value>654</value></item>
<item><label>Aug</label><value>828</value></item>
<item><label>Sep</label><value>454</value></item>
<item><label>Oct</label><value>732</value></item>
<item><label>Nov</label><value>236</value></item>
<item><label>Dec</label><value>546</value></item>
</stats>

Thank you very much in advance,
Marco
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,805
Latest member
ClydeHeld1

Latest Threads

Top