Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: xahdpe on June 12, 2013, 01:15:14 am
-
hi,
is it possible to filter elements within diagram to have only elements with connectors of specified stereotype in the RTF output?
i have a rtf fragment which displays such are elements (with custom SQL script) in the special manner (literally, there is a table's row of following structure: [source_element.attribute | dest_element.attribute | connector.notes] as i'm using "link to element feature").
so, i'm putting my template within element tag:
[highlight]element>[/highlight]
{Template-showElem}
[highlight]<element[/highlight]
and i'm facing a problem, when a lot of spaces and empty lines are present because external [highlight]element[/highlight] tag processes all the elements including those elements that excluded in accordance with a logic my rtf fragment.
any help is strongly appreciated.)
-
What Section is that: Package | Element or sub the: Package | Element | Connector?
-
What Section is that: Package | Element or sub the: Package | Element | Connector?
structure is the following:
[highlight]package >[/highlight]
{Pkg.Name}
[highlight]diagram >[/highlight]
{Diagram.Name}
[highlight]< diagram[/highlight]
<table header>
[highlight]element >[/highlight]
{Template - showTblRow}
[highlight]child elements >
< child elements
< element
child packages >
< child packages
< package[/highlight]
-
Not sure why you are getting the blanks.
Have you tried just a simple SQL query to eliminate a set of elements by say Element.Version <> 1.0 - check that does not return blanks for filtered out elements.