User Tools

Site Tools


projects:doxy2doku

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
projects:doxy2doku [2014/07/20 18:12] – created mkuciaprojects:doxy2doku [2014/08/03 22:07] – [Summary] mkucia
Line 1: Line 1:
-====== Doxygen to DokuWiki ====== +====== Doxygen XML to DokuWiki XLS transformation ====== 
-<WRAP center todo 60%> +Doxygen is a great tool that properly used can save significant amount of time during software development. Doxygen can process data using limited number of output formats. Thankfully it can generate XML output that can be converted into any format.
-Page under construction! +
-</WRAP>+
  
-XSLT for doxygen XML output+I am using [[wp>XSLT]] to generate dokuwiki page. 
 +===== Step 1: Build Doxygen XML files =====
  
-<code=xml> +===== Step 2Merge XML files into single one ===== 
-<?xml version="1.0" encoding="UTF-8" ?> +''msxsl.exe ./xml/index.xml ./xml/combine.xslt -./xml/combined.xml''
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> +
-<xsl:output omit-xml-declaration="yes" method="xml" version="1.0" indent="no" /> +
- <xsl:template match="compounddef">====== <xsl:value-of select="./compoundname"/> ======+
  
-===== Namespaces =====  +===== Step 3: Build DokuWiki textfiles =====
-<xsl:for-each select="innernamespace">  * [[<xsl:value-of select="./@refid"/>|<xsl:value-of select="."/>]] +
-</xsl:for-each>+
  
-===== Class ===== +===== Step 4: Copy DokuWiki files =====
-<xsl:for-each select="innerclass">  * [[<xsl:value-of select="./@refid"/>|<xsl:value-of select="."/>]] +
-</xsl:for-each>+
  
-</xsl:template> +===== Summary =====
-   +
-</xsl:stylesheet> +
-</code> +
- +
-How to use with msxsl: ''msxsl input.xml transform.xsl -o output.txt''+
  
 +  * {{:projects:doxwiki.zip|Project ZIP}}
 +  * [[projects:doxy2doku:sampleOutput| Sample output ]]
 ==== References ==== ==== References ====
   * http://www.w3schools.com/xsl/   * http://www.w3schools.com/xsl/
   * http://www.w3.org/TR/xslt   * http://www.w3.org/TR/xslt
projects/doxy2doku.txt · Last modified: 2014/08/03 22:12 by mkucia