<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Ecrion Forum : Generate documentation from templates</title>
  <link>http://www.ecrion.com/forum/</link>
  <description>This is an XML content feed of; Ecrion Forum : Generic Support : Generate documentation from templates</description>
  <copyright>Copyright (c) 2006-2009 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 25 May 2013 10:33:39 +0000</pubDate>
  <lastBuildDate>Tue, 17 Jan 2012 10:13:42 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ecrion.com/forum/RSS_post_feed.asp?TID=481</WebWizForums:feedURL>
  <image>
   <title>Ecrion Forum</title>
   <url>http://www.ecrion.com/forum//images/logo.png</url>
   <link>http://www.ecrion.com/forum/</link>
  </image>
  <item>
   <title>Generate documentation from templates : Hi eivindan,I&amp;#039;m afraid is...</title>
   <link>http://www.ecrion.com/forum/forum_posts.asp?TID=481&amp;PID=1193#1193</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ecrion.com/forum/member_profile.asp?PF=4" rel="nofollow">radup</a><br /><strong>Subject:</strong> 481<br /><strong>Posted:</strong> 17 Jan 2012 at 10:13am<br /><br />Hi eivindan,<div><br></div><div><span style="text-align: left; ">I'm afraid is not possible, but we can implement it as custom development. If you are interested please send us an email to&nbsp;</span><span ="highlight" style=": rgb255, 255, 255; text-align: left; ">support@ecrion.com</span><span style="text-align: left; ">.&nbsp;</span></div>]]>
   </description>
   <pubDate>Tue, 17 Jan 2012 10:13:42 +0000</pubDate>
   <guid isPermaLink="true">http://www.ecrion.com/forum/forum_posts.asp?TID=481&amp;PID=1193#1193</guid>
  </item> 
  <item>
   <title>Generate documentation from templates :   I know this is an old post,...</title>
   <link>http://www.ecrion.com/forum/forum_posts.asp?TID=481&amp;PID=1192#1192</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ecrion.com/forum/member_profile.asp?PF=134" rel="nofollow">GrantDB</a><br /><strong>Subject:</strong> 481<br /><strong>Posted:</strong> 16 Jan 2012 at 12:25pm<br /><br /><DIV></DIV><DIV></DIV><DIV>I know this is an old post, but hopefully this may help someone</DIV><DIV>&nbsp;</DIV><DIV>When I wanted to do something like that I do this.&nbsp; Create a template that formats the annotation (note the condition as to whether to render the annotation or not)</DIV><DIV>&nbsp;</DIV><DIV>&lt;xsl:template name="hcannotate"&gt;<BR>&nbsp;&lt;xsl:param name="annotation.type"/&gt;<BR>&nbsp;&lt;xsl:param name="VARannotationText"/&gt;<BR>&nbsp;&lt;xsl:if test="/forrendering/alltemplates/stylesmode/text() = 'true'"&gt;<BR>&nbsp;&nbsp;&lt;fo:block-container position="absolute" text-align="right" z-index="10" left="30mm" width="90%" height="auto"&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;fo:block color="red" font="8pt"&gt;&lt;xsl:value-of select="$annotation.type"/&gt;:&lt;xsl:value-of select="$VARannotationText"/&gt;&lt;/fo:block&gt;<BR>&nbsp;&nbsp;&lt;/fo:block-container&gt;<BR>&nbsp;&lt;/xsl:if&gt;</DIV><DIV>&nbsp;</DIV><DIV>Then call it like this</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;xsl:call-template name="hcannotate"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;xsl:with-param name="annotation.type" select="'style'"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;xsl:with-param name="VARannotationText" select="'bodytext3'"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/xsl:call-template&gt;<BR>&lt;/xsl:template&gt;</DIV><DIV>&nbsp;</DIV><DIV>So if I set /forrendering/alltemplates/stylesmode/text() to true I get lots of red text in my PDF, if I set it to false nothing appears.</DIV><DIV>&nbsp;</DIV><DIV>It worked pretty well</DIV><DIV>&nbsp;</DIV><DIV>Grant</DIV>]]>
   </description>
   <pubDate>Mon, 16 Jan 2012 12:25:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.ecrion.com/forum/forum_posts.asp?TID=481&amp;PID=1192#1192</guid>
  </item> 
  <item>
   <title>Generate documentation from templates : We have a lot of XF Designer templates...</title>
   <link>http://www.ecrion.com/forum/forum_posts.asp?TID=481&amp;PID=1188#1188</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ecrion.com/forum/member_profile.asp?PF=163" rel="nofollow">eivindan</a><br /><strong>Subject:</strong> 481<br /><strong>Posted:</strong> 05 Jan 2012 at 10:23am<br /><br />We have a lot of XF Designer templates that has condtional blocks and various rules. Now we are looking for a way to document this.<div><br></div><div>Would it be possible to use XF Designer to add "comments" that are not shown in normal rendering, but in some way can be shown/extracted later? Maybe like javadoc, but for XF Designer temlates...</div><div><br></div><div>Eivind Løland-Andersen&nbsp;</div>]]>
   </description>
   <pubDate>Thu, 05 Jan 2012 10:23:52 +0000</pubDate>
   <guid isPermaLink="true">http://www.ecrion.com/forum/forum_posts.asp?TID=481&amp;PID=1188#1188</guid>
  </item> 
 </channel>
</rss>