Hi dear Gendoc2 Team and Maillist,
I'm having some trouble with extracting the requirements linked to a
UseCase. In my Test Model there are several UseCases some with and some
without requirements set. I'm trying to extract each Use case with its
Activity Diagram, Documentation and Requirement. Please see my .odt gendoc2
code below and help me with what I'm doing wrong. Is there a way of also
extracting the attributes within the requirement? (I have Prio and Comment)
Thanks in advance
regards
Dominik Schmid
UseCases
<context model=’${model}’ element='Test’
importedBundles='topcased;requirement'/>
<gendoc>
[for(uc:UseCase|self.ownedElement)]
[uc.name/]
[for(a:Activity|uc.ownedElement)]<image object='[a.getDiagram()/]'
keepW='true'>
</image> [/for]
[uc.getDocumentation()/]
[for(r:Requirement|uc.getRequirementList())]
[r.getDocumentation()/]
[/for]
[/for]
</gendoc>_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users