IDL+Doxygen to XMLSpec+DOM XSLT

Hi,

  The attached XSLT converts `GENERATE_XML = YES` generated XML (use
`xsltproc combine.xslt index.xml >all.xml` in the xml directory as in
combine.xslt) from a IDL file to the XMLSpec extension used for the
DOM Technical Reports, i.e., things like

  SVGPathSegCurvetoQuadraticAbs
    createSVGPathSegCurvetoQuadraticAbs(
      in float x,
      in float y,
      in float x1,
      in float y1
  );

to

  <method name="createSVGPathSegCurvetoQuadraticAbs">
    <parameters>
      <param name="x" type="float" attr="in"/>
      <param name="y" type="float" attr="in"/>
      <param name="x1" type="float" attr="in"/>
      <param name="y1" type="float" attr="in"/>
    </parameters>
    <returns type="SVGPathSegCurvetoQuadraticAbs"/>
    <raises/>
  </method>

It seemed easier to use doxygen than to use one of the common IDL
parsers to do that but I might have missed the right tool... It's
also pretty simplistic...
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Friday, 4 March 2005 19:28:48 UTC