Re: [tasklist] tasklist and netbeans xml file

vbrabant <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.tasklist.devel
Organization CollabNet Hosting
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, 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? 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.
>
I can't find the xCalendar.java in the tasklist/core.
Can you give me the path where it was situated ?
Thanks

vbb

>
>-- Tor
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.