Go Back   CORTEX Forums > Best Practices > Tips and Techniques > Data Warehousing Tips and Techniques > DWH Tip Feeds
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read

open-msp-viewer: Free XSLT utilities to render MS Project files as HTML web pages

This is a discussion on open-msp-viewer: Free XSLT utilities to render MS Project files as HTML web pages within the DWH Tip Feeds forums, part of the Data Warehousing Tips and Techniques category; For my day job, I've been working on a few things that allow you to render Microsoft Project 2003 projects on a web page. The code I wrote for my ...


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 25th November 2009, 11:03 AM   #1
News Bot
 
Join Date: Nov 2007
Posts: 15,067
Latest News Headlines is on a distinguished road
Post open-msp-viewer: Free XSLT utilities to render MS Project files as HTML web pages

For my day job, I've been working on a few things that allow you to render Microsoft Project 2003 projects on a web page.

The code I wrote for my work is proprietary, and probably not directly useful for most people. But I figured that at least some of the work might be useful for others, so I wrote an open source version from scratch and I published that as the open-msp-viewer project on google code. If you like, check out the code and give it a spin.

It works by first saving the project in the MS Project XML format using standard MS Project functionality (Menu \ Save As..., then pick .XML) and then applying an XSLT transformation to generate HTML.

Currently, the project includes an xslt stylesheet that renders MS Project XML files as a Gantt chart. To give you a quick idea, Take a look at these screenshots:

and

The web gantt chart is rendered in a HTML 4.01 variant, CSS 2.1 and uses javascript to allow the user to collapse and/or expand individual tasks in the work breakdown structure. Currently, the HTML does not validate due to a few custom attributes I introduced to support dynamic collapsing/expanding the chart with javascript. In addition, the xslt transform process introduces the msp namespace into the result document, which results in a validation error

You can either associate the xslt stylesheet directly with the MS Project XML file, or you can use an external tool like xsltproc.

In the trunk/xml subdirectory, you can find a couple of sample projects in xml format that already have the stylesheet association. I have tested these in IE8, Chrome 2, Safari 4 and Firefox 3.5, and it works well in all these browsers. In the trunk/html directory, you'll find HTML output as created by xsltproc.

In the future, more xslt stylesheets may be added to support alternative views. Things that I think I will add soon are a resources list and a calendar view.

Enjoy, and let me know if you find a bug or would like to contribute.


More from Roland Bouman's Blog ...
Latest News Headlines is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
guis:guis:statet - added links to wiki pages admin Analytic News Feeds 0 18th November 2009 12:07 PM
Using Free and Open-Source Bioconductor Packages to Analyze Array Comparative Genomic admin Analytic News Feeds 0 18th November 2009 11:38 AM
viewer pro Latest News Headlines 2009 Q4 News Headlines 0 2nd October 2009 10:48 AM
Team of SAP IS-U ABAP Consultants Needed for new IS Utilities project! admin 2009 Job Archive 0 21st September 2009 11:43 PM
Team of SAP IS-U ABAP Consultants Needed for new IS Utilities project! admin 2009 Job Archive 0 21st September 2009 07:23 PM


All times are GMT +11. The time now is 06:59 PM.

© The Business Intelligence Group

Search Engine Optimization by vBSEO