On Thu, Aug 7, 2008 at 2:17 PM, Hans Breuer <[EMAIL PROTECTED]> wrote: > Am 07.08.2008 16:22, Grey schrieb: >> >> I've taken a look around and haven't found anything yet, so does >> anyone here have an XSL to transform Dia's XML output to SVG? I poked >> around and it appears to currently be done in C in Dia which to me is >> just... silly... > > Feel free to develop all the shape rendering in XSLT as well, after all many > of Dia's shapes are some SVG dialect as well ... > Dang, I'll probably end up doing just that
>> I want to be able to do such a transform without >> having Dia as a dependancy for the transform (It's obviously required >> to generate the files in the first place, > > ... to me having this dependency is as ... silly ... as to generate the SVG > programmatically. People still convinced in the ultimate power of XSLT > should IMHO just implement everything with it ;) Heh, well I'm not one to say XSLT is the hammer for every nail, but for converting from one XML format to another seems like an obvious place for it to shine. > >> but I'm working on a >> automated documentation system that needs to be as flexible and >> uncomplicated as possible, and Dia is a fairly heavy requirement >> compared to XSLT's) >> > Depending on the desired graph output you may want to look at other tools, > e.g. doxygen is generating pretty nice UML with dot (www.graphviz.org) > unfortunately, the language we're using (Coldfusion) isn't supported by doxygen, and writing an input parser and possibly a backend seems like a lot more work than doing an XSLT of the Dia files, However I will take a look at the format of dot files to see if it's possible to logically build one from the data I can get, graphviz looks pretty nice. > -------- Hans "at" Breuer "dot" Org ----------- > Tell me what you need, and I'll tell you how to > get along without it. -- Dilbert > _______________________________________________ > dia-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/dia-list > FAQ at http://live.gnome.org/Dia/Faq > Main page at http://live.gnome.org/Dia > > Thanks for the pointers, If I do end up writing an XSLT I'll send it to the list I guess. _______________________________________________ dia-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://live.gnome.org/Dia/Faq Main page at http://live.gnome.org/Dia
