Re: [tasklist] tasklist and netbeans xml file
vbrabant <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.tasklist.devel |
|---|---|
| Message-ID | <[email protected]> |
Tor Norbye wrote: >On Tue, 2003-03-04 at 13:26, vbrabant wrote: > > >>As you know, each module responsible must maintain a xml file containing >>data about features and tasks. >>I would like to know if it's possible to do import.of that xml file into >>the tasklist module, do some modification and them export it to html >>file simillary to one used for the new features. >> >>another question, if the first one is negative, why not permit, when I >>do a export to html, to have the possibility to change the xsl file used >>for the export. >>Do you think it's easily feasable ? >> >> > >Not easily - there's no XSL used to generate HTML export right now; >the HTML is "hardcoded"; it first spits out a standard header, >then it iterates over the tasklist, and for each node, calls a >"export Node to HTML" method which again iterates over the >property fields and writes a cell for each one. > >So - as you suggesting we provide an "Export to XML" function >which does something similar to today's Export to HTML, > Why not. Seems good for me. >and >then export to html could be implemented by taking that XML >and translating it to HTML using one of a set of available >XSL's? > >Would you like to work on this? > Why not. I am ready to try to do it. Certainly if you say that the code is fairly isolated. I will look at the HTMLSupport and xCalendar.java and try to do a XMLSupport based upon a mix of those two files. >I think the code should be >fairly isolated. Right now there's an HTMLSupport file; create >a similar XMLSupport file and register it as an export filter >the way the HTMLSupport (and iCalendar support) etc. are >registered. Once you have XML export working (and we used to >have one; it's still in CVS' attic - it's called xCalendar.java, >and it was up to date until recently) then the style sheet >bit shouldn't be too hard. > >-- Tor > Thanks for your pointing Vincent > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] > > > > >