title: how to hide something that i don't want to look in Xtext
body: <p>I am using Sirius and Xtext to do a graphic-text two-way synchronization work, probably after I use Sirius to draw a graphic to generate Xtext text, and modifying the text will modify the graphic synchronously.
  When I draw with Sirius, the model will store a lot of necessary information, as shown below
  [enter image description here][1]
  I will get the XML likes this :</p>
  <pre><code>&lt;siriusModel:ElementFactory&gt;
    &lt;Elements&gt; type=&quot;A&quot; deviveName=&quot;A&quot; logicalEntity=&quot;AbstractA&quot;
      &lt;Elements&gt; type=&quot;B&quot; deviceName=&quot;B&quot; logicalEntity=&quot;AbstractB&quot;
      &lt;/Elements&gt;
    &lt;/Elements&gt;
  &lt;/siriusModel:ElementFactory&gt;
  </code></pre>
  <p>My xtext grammer is like this:</p>
  <pre><code>ElementFactory returns ElementFactory:
  {ElementFactory}
  'ElementFactory'
  '{'
    Elements+=Element*
  '}';
  
  Element returns Element:
  {Element}
  '{'
  '[''type''='type=STRING']'
  '[''deviceName''='deviceName=STRING']'
  '[''logicalEntity''='logicalEntity=STRING']'
  '}';
  </code></pre>
  <p>And my DSL looks like this:</p>
  <pre><code>ElementFactory{
    Element{
      [type=&quot;A&quot;]
      [deviceName=&quot;A&quot;]
      [logicalEntity=&quot;AbstractA&quot;]
    }
    Element{
      [type=&quot;B&quot;]
      [deviceName=&quot;B&quot;]
      [logicalEntity=&quot;AbstractB&quot;]
    }
  }
  </code></pre>
  <p>but i don't want to show the [deviceName=&quot;A&quot;] and [logicalEntity=&quot;AbstractA&quot;] , I only want to this:</p>
  <pre><code>ElementFactory{
    Element{
      [type=&quot;A&quot;]
    }
    Element{
      [type=&quot;B&quot;]
    }
  }
  </code></pre>
  <p>is there any way i can do it？ Any help i would appreciate! thanks!
  [1]: <a href="https://i.stack.imgur.com/qh5Qy.png" rel="nofollow noreferrer">https://i.stack.imgur.com/qh5Qy.png</a></p>