Comment by
ashok.ha...@gmail.com:
General Comment:
This revision adds support for metadata defaulting in section types ...
so if you have the following as the sectionType configuration for "clauses":
<sectionType name="clauses"
prefix="clauses"
numstyle="serial">
<output>
<content>
<an:hcontainer />
</content>
</output>
</sectionType>
Now you can do this :
<sectionType name="clauses"
prefix="clauses"
numstyle="serial">
<metadatas>
<metadata name="BungeniContainer" default="clauses" />
</metadatas>
<output>
<content>
<an:hcontainer name="$BungeniContainer" />
</content>
</output>
</sectionType>
This will output the container section with the name set to "clauses" :
<hcontainer name="clauses" >
</hcontainer>
Remember that this will only work for sections which are newly marked up
after the @default configuration attribute has been added for the specific
metadatas/metadata elementss ...
For more information:
http://code.google.com/p/bungeni-editor/source/detail?r=3006