Skip to content

How can I input XML data into a Javascript coded SVG barchart using XSLT?


I have created an SVG barchart using javascript. But as of now, I am manually inputting the chart values to be displayed by the SVG through an accompanying HTML file. I would like to have the SVG extract the needed values from an XML file, which would make the SVG graph tailor-fitted to whatever XML file I choose link it to in the future. I do not know how to do this. I know that XSLT has the ability to transform an XML into an SVG, but how can I reference all the javascript within I wrote to make the chart? I am trying to avoid simply coding a new chart in XSLT because I have rollover functions and other stuff already coded in javascript. Does anyone know the specific commands in XSLT that can call all the javascript functions I wrote? And once I do this, how do I tell XSLT how to plug in the XML values I need into my javascript functions?


25 Comments

  1. Bree wrote:

    don’t know

    Wednesday, January 20, 2010 at 11:22 pm | Permalink
  2. For some reason, I’ve always preferred Sitecore. I guess I’m just too used to it.

    Tuesday, November 8, 2011 at 10:42 pm | Permalink
  3. Thanks for posting this information on your blog! Great Work

    Saturday, November 12, 2011 at 4:10 pm | Permalink
  4. I cherished up to you will receive performed proper here. The sketch is tasteful, your authored subject matter stylish. nonetheless, you command get got an edginess over that you want be delivering the following. ill indisputably come further formerly once more as precisely the similar nearly very often within case you protect this increase.

    Friday, November 18, 2011 at 4:02 pm | Permalink
  5. I liked as much as you will receive performed right here. The sketch is tasteful, your authored material stylish. however, you command get got an impatience over that you would like be handing over the following. ill unquestionably come further beforehand again since exactly the similar just about very ceaselessly within case you shield this increase.

    Saturday, November 19, 2011 at 8:49 am | Permalink
  6. dell m4600 wrote:

    Hello There. I found your weblog the use of msn. This is a very neatly written article. I will make sure to bookmark it and come back to learn extra of your helpful information. Thanks for the post. I¡¦ll definitely comeback.

    Monday, November 21, 2011 at 3:29 pm | Permalink
  7. dell m4600 wrote:

    Just want to say your article is as astounding. The clarity for your submit is simply great and i can assume you are knowledgeable in this subject. Well along with your permission allow me to take hold of your RSS feed to stay up to date with impending post. Thanks 1,000,000 and please continue the enjoyable work.

    Tuesday, November 22, 2011 at 9:43 pm | Permalink
  8. meditation wrote:

    My brother suggested I might like this web site. He used to be entirely right. This submit actually made my day. You cann’t imagine simply how much time I had spent for this info! Thank you!

    Thursday, November 24, 2011 at 12:19 am | Permalink
  9. Great beat ! I would like to apprentice even as you amend your website, how could i subscribe for a blog web site? The account helped me a appropriate deal. I have been tiny bit familiar of this your broadcast offered bright transparent idea

    Saturday, November 26, 2011 at 3:40 pm | Permalink
  10. Can I just say what a aid to seek out somebody who truly is aware of what theyre speaking about on the internet. You undoubtedly know the right way to carry an issue to mild and make it important. More folks must learn this and perceive this aspect of the story. I cant believe youre not more fashionable because you definitely have the gift.

    Monday, November 28, 2011 at 11:58 pm | Permalink
  11. The only reason the 60′s antiwar movement succeeded was because they were drafting middle-class white Boomers. Had the powers that be targeted their drafts to the poor and to racial minorities, we’d still have troops in Viet Nam. Instead the powers that be simply destroyed the U.S. educational and economic infrastructure, driving more recruits into the military, and allowing for the endless Occupations of Mideast oil nations. Where are the Boomers now?|

    Wednesday, November 30, 2011 at 11:26 am | Permalink
  12. weightloss wrote:

    Hi there! I just want to give a huge thumbs up for the nice info you might have right here on this post. I might be coming back to your weblog for extra soon.

    Saturday, December 3, 2011 at 8:41 am | Permalink
  13. Hi there! I just would like to give an enormous thumbs up for the great info you have got here on this post. I will be coming again to your weblog for extra soon.

    Saturday, December 3, 2011 at 5:50 pm | Permalink
  14. Hi there! I just would like to give a huge thumbs up for the great info you could have here on this post. I can be coming again to your weblog for more soon.

    Monday, December 5, 2011 at 12:52 pm | Permalink
  15. Hey! I just wish to give a huge thumbs up for the nice info you might have right here on this post. I can be coming back to your blog for extra soon.

    Monday, December 5, 2011 at 2:14 pm | Permalink
  16. Hey! I just wish to give an enormous thumbs up for the good information you might have right here on this post. I will likely be coming back to your blog for extra soon.

    Tuesday, December 6, 2011 at 4:29 am | Permalink
  17. Hey! I just want to give a huge thumbs up for the great info you’ve got right here on this post. I might be coming again to your blog for extra soon.

    Tuesday, December 6, 2011 at 4:47 am | Permalink
  18. Hi there! I simply want to give a huge thumbs up for the good information you have right here on this post. I might be coming back to your blog for more soon.

    Tuesday, December 6, 2011 at 11:05 am | Permalink
  19. geek help wrote:

    Whats up! I simply want to give an enormous thumbs up for the good info you’ve got right here on this post. I can be coming again to your weblog for more soon.

    Tuesday, December 6, 2011 at 2:29 pm | Permalink
  20. Howdy! I simply would like to give an enormous thumbs up for the nice info you’ve here on this post. I shall be coming back to your blog for more soon.

    Tuesday, December 6, 2011 at 3:32 pm | Permalink
  21. DK PVP wrote:

    Wonderful site. Lots of useful info here. I am sending it to a few buddies ans additionally sharing in delicious. And naturally, thanks in your sweat!

    Thursday, December 8, 2011 at 12:24 am | Permalink
  22. Hiya! I simply would like to give a huge thumbs up for the good info you could have here on this post. I will probably be coming again to your weblog for more soon.

    Sunday, December 11, 2011 at 12:43 pm | Permalink
  23. Howdy! I just want to give a huge thumbs up for the nice information you’ve gotten here on this post. I will probably be coming again to your weblog for extra soon.

    Monday, December 12, 2011 at 5:31 am | Permalink
  24. The Zune concentrates on being a Portable Media Player. Not a web browser. Not a game machine. Maybe in the future it’ll do even better in those areas, but for now it’s a fantastic way to organize and listen to your music and videos, and is without peer in that regard. The iPod’s strengths are its web browsing and apps. If those sound more compelling, perhaps it is your best choice.

    Monday, December 12, 2011 at 9:36 pm | Permalink
  25. If you’re still on the fence: grab your favorite earphones, head down to a Best Buy and ask to plug them into a Zune then an iPod and see which one sounds better to you, and which interface makes you smile more. Then you’ll know which is right for you.

    Tuesday, December 13, 2011 at 5:26 pm | Permalink

Post a Comment

Your email is never published nor shared.