Changeset 411 for trunk/SRC/Documentation/xmldoc/saxo_tracwiki.xsl
- Timestamp:
- 11/09/09 17:51:40 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/xmldoc/saxo_tracwiki.xsl
r376 r411 7 7 version="1.0"> 8 8 <!-- 9 module : 9 10 module 11 ====== 12 10 13 transformation docbook en un tracwiki 11 14 12 original location : 13 /Users/fplod/SAXO_DIR_ws/SRC/Documentation/xmldoc/saxo_trackwiki.xsl sur aedon.locean-ipsl.upmc.fr 14 15 must be followed by awk -f saxo_trackwiki.awk 15 CAUTIONS 16 ======== 17 18 must be followed by : 19 awk -f saxo_trackwiki.awk 20 16 21 because I did not yet correctly handle "* text" (with no linefeed) 17 22 18 update : 23 24 and 25 26 sed -f linkwiki.sed 27 28 TODO 29 ==== 30 31 ++ voir http://trac-hacks.org/wiki/XsltMacro 32 33 ++ add menu tags menuchoice, gui*, shortcut, keycombo, etc. 34 35 ++ revoir lien idldoc trop lié à SAXO 36 37 EVOLUTIONS 38 ========== 39 19 40 $Id$ 20 ++ voir http://trac-hacks.org/wiki/XsltMacro 21 ++ add menu tags menuchoice, gui*, shortcut, keycombo, etc. 41 42 - fplod 20091109T164603Z aedon.locean-ipsl.upmc.fr (Darwin) 43 44 * remove wiki link transformations (see linkwiki.sed) 45 to be usable within other IDL toolbox like POST_IT 46 22 47 fplod 2008-08-06T09:38:26Z aedon.locean-ipsl.upmc.fr (Darwin) 23 48 add qanda tags (see ugly http://forge.ipsl.jussieu.fr/saxo/wiki/FaqSaxo … … 221 246 <xsl:template match="d:itemizedlist/d:listitem/d:simpara/d:link[@xl:href]"> 222 247 <xsl:text>
</xsl:text> 223 <xsl:text> [</xsl:text><xsl:value-of select="@xl:href"/> <xsl:text> </xsl:text><xsl:value-of select="."/><xsl:text>]</xsl:text>248 <xsl:text> [</xsl:text><xsl:value-of select="@xl:href"/> <xsl:text>AAA </xsl:text><xsl:value-of select="."/><xsl:text>]</xsl:text> 224 249 </xsl:template> 225 250 … … 231 256 <xsl:template match="d:variablelist/d:varlistentry/d:listitem/d:simpara/d:link[@xl:href]"> 232 257 <xsl:text>
</xsl:text> 233 <xsl:text> [</xsl:text><xsl:value-of select="@xl:href"/> <xsl:text> </xsl:text><xsl:value-of select="."/><xsl:text>]</xsl:text>258 <xsl:text> [</xsl:text><xsl:value-of select="@xl:href"/> <xsl:text>BBB </xsl:text><xsl:value-of select="."/><xsl:text>]</xsl:text> 234 259 </xsl:template> 235 260 … … 252 277 <xsl:template match="d:link[@xl:href]"> 253 278 <xsl:variable name="link"> 254 <xsl:choose> 255 <xsl:when test="contains(@xl:href,'firststeps.html')"> 256 <xsl:text>wiki:FirstSteps</xsl:text> 257 </xsl:when> 258 <xsl:when test="contains(@xl:href,'all_plots.html')"> 259 <xsl:text>wiki:AllPlots</xsl:text> 260 </xsl:when> 261 <xsl:when test="contains(@xl:href,'faqsaxo.html')"> 262 <xsl:text>wiki:FaqSaxo</xsl:text> 263 </xsl:when> 264 <xsl:when test="contains(@xl:href,'getsaxo.html')"> 265 <xsl:text>wiki:GetSaxo</xsl:text> 266 </xsl:when> 267 <xsl:when test="contains(@xl:href,'infoupdatecm.html')"> 268 <xsl:text>wiki:InfoUpdateCm</xsl:text> 269 </xsl:when> 270 <xsl:when test="contains(@xl:href,'infoupdatekwd.html')"> 271 <xsl:text>wiki:InfoUpdateKwd</xsl:text> 272 </xsl:when> 273 <xsl:when test="contains(@xl:href,'mailing.html')"> 274 <xsl:text>wiki:Mailing</xsl:text> 275 </xsl:when> 276 <xsl:when test="contains(@xl:href,'mini_notice.html')"> 277 <xsl:text>wiki:MiniNotice</xsl:text> 278 </xsl:when> 279 <xsl:when test="contains(@xl:href,'tiplink.html')"> 280 <xsl:text>wiki:TipLink</xsl:text> 281 </xsl:when> 282 <xsl:when test="contains(@xl:href,'updatesaxo.html')"> 283 <xsl:text>wiki:UpdateSaxo</xsl:text> 284 </xsl:when> 285 <xsl:when test="contains(@xl:href,'whatissaxo.html')"> 286 <xsl:text>wiki:WhatisSaxo</xsl:text> 287 </xsl:when> 288 <xsl:when test="contains(@xl:href,'whatsnew.html')"> 289 <xsl:text>wiki:WhatsNew</xsl:text> 290 </xsl:when> 291 <xsl:when test="contains(@xl:href,'websaxo.html')"> 292 <xsl:text>wiki:WikiStart</xsl:text> 293 </xsl:when> 279 <xsl:choose> 294 280 <xsl:when test="contains(@xl:href,'../../')"> 295 281 <xsl:text>source:/trunk/SRC/</xsl:text><xsl:value-of select="substring-after(@xl:href,'../../')"/> … … 317 303 318 304 <xsl:template match="d:email"> 319 <xsl:text>[mailto:</xsl:text><xsl:value-of select="."/> <xsl:text> </xsl:text><xsl:value-of select="."/> <xsl:text>]</xsl:text>305 <xsl:text>[mailto:</xsl:text><xsl:value-of select="."/> <xsl:text>DDD </xsl:text><xsl:value-of select="."/> <xsl:text>]</xsl:text> 320 306 </xsl:template> 321 307
Note: See TracChangeset
for help on using the changeset viewer.