Hi all,
I have a little problem with an xml template for the report writer.
I don’ t kwon how can I iterate on the elements like actors, or lifeline etc.
i.e.
I wrote this line of code :
but I can't retrive the information of the actor...
even if I wrote
I have one sequence diagram with an actor and 3 lifelines.
The result of children.xml is that:
Name Type
Activation Activation
Actor Actor
LifeLine Lifeline
LifeLine2 Lifeline
I would iterate for each Actor and write something, then on LifeLine and so on… How can I do that???
Thanks for your help.
Regards
Hi user,
Thanks for your post. For retrieving information from Actor, it should be:
type=“InteractionActor”
Hope this helps. If there is any further inquiry, please feel free to ask.
Best regards,
Lilian Wong
Wow!!!
Thanks Lilian! It works now…
And now I can show only the Actor’s details
Thanks!!!
but I have another question
How can I iterate on the LifeLine?
Thanks for your precious help
Hi user,
Thanks for replying. Would you mind sending some screenshot of your expectation so that we can give you precise details? Thanks!
Best regards,
Lilian Wong
hi Lilian,
sorry for my late response! I’ve found the solution by myself
the typer for LifeLine is type=“InteractionLifeLine”
thanks
Hi user,
Thanks for replying and it’s good to hear that you figured out the problem!
Best regards,
Lilian Wong