Re: [Planner Dev] XSLT wizard needed for mpp2planner translation
Kurt Maute <[email protected]>
| Newsgroups | gmane.comp.gnome.apps.planner.devel |
|---|---|
| Message-ID | <1198715861.20701.13.camel@dori> |
On Sat, 2007-12-22 at 19:18 +0700, Nguyen Thai Ngoc Duy wrote: > Hi, > > I'm working on an mpp importer for Planner. One problem I'm having now > is the dumb exporter would give a flat list of tasks like this > > <task id="1" outline="0"/> > <task id="4" outline="0"/> > <task id="2" outline="1"/> > <task id="3" outline="2"/> What are you using for the exporter? > Tasks must be sorted first by id attribute. Outline attribute then > will determine the task hierarchy. The final result should be > > <task id="1" outline="0"> > <task id="2" outline="1"> > <task id="3" outline="2"/> > </task> > </task> > <task id="4" outline="0"/> > > Anyone know how to make a hierarchy from such flat list? I looked at > msp2planner.xsl but it requires on WBS strings, which are not > available in MPP9. msp2planner.xsl does this - yes, via the WBS string, but you should be also able to do it in the same way with the id tag and the outline level tag, right? -- Kurt Maute <[email protected]>