Hello Erik,
Attached is a patch to the task_xdoc.template to add <attributes> and
<elements> tags around the lists of <attribute> and <element> tags
respectively. This makes it much easier to to match in the stylesheet for
generating headings and table tags, etc. I'm not using the <structure>
tag at all because it doesn't relate to the structure of the generated the
docs. Having it there doesn't cause a problem either as I'm just ignoring
it in my stylesheet.
Will privately send you a .zip of what I've been working on as it's
unnecessary for the whole list to get a large attachement.
Thanks,
-Bill
--- templates/task_xdoc.template.orig Wed Feb 27 23:37:03 2002
+++ templates/task_xdoc.template Thu Feb 28 04:27:08 2002
@@ -10,21 +10,25 @@
<structure>
- <XDtAnt:forAllAttributes>
- <attribute name="<XDtMethod:propertyName/>"
type="<XDtParameter:forAllMethodParams><XDtParameter:methodParamType/></XDtParameter:forAllMethodParams>">
- <description><![CDATA[
- <XDtMethod:methodComment no-comment-signs="true"/>
- ]]></description>
- </attribute>
- </XDtAnt:forAllAttributes>
+ <attributes>
+ <XDtAnt:forAllAttributes>
+ <attribute name="<XDtMethod:propertyName/>"
type="<XDtParameter:forAllMethodParams><XDtParameter:methodParamType/></XDtParameter:forAllMethodParams>">
+ <description><![CDATA[
+ <XDtMethod:methodComment no-comment-signs="true"/>
+ ]]></description>
+ </attribute>
+ </XDtAnt:forAllAttributes>
+ </attributes>
- <XDtAnt:forAllElements>
- <element name="<XDtAnt:elementName/>">
- <description><![CDATA[
- <XDtMethod:methodComment no-comment-signs="true"/>
- ]]></description>
- </element>
- </XDtAnt:forAllElements>
+ <elements>
+ <XDtAnt:forAllElements>
+ <element name="<XDtAnt:elementName/>">
+ <description><![CDATA[
+ <XDtMethod:methodComment no-comment-signs="true"/>
+ ]]></description>
+ </element>
+ </XDtAnt:forAllElements>
+ </elements>
<!-- @todo: wrap setCurrentMethod inside AntTagsHandler -->
<XDtMethod:setCurrentMethod name="addText" parameters="java.lang.String">
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>