title: How read content of local entry from registry resource
body: <p>I am using local entry to register the parameters and not to leave fixed in the artifacts, I do not know if it is better solution.</p>
  
  <p>Everything works when I create the local entry in ESB Config, but when I create in the project registry resource I can not read correctly.</p>
  
  <p>I am using code below to read local entry and write to a property:</p>
  
  <pre><code>&lt;Property description = "SetPPSUserName" expression = "get-property ('registry', 'conf: /local-entries/PPS_Username.xml')" name = "SetPPSUserName" scope = "default" type = "STRING" /&gt;
  </code></pre>
  
  <p>Problem, is that it loads the entire xml contents of the local entry and not only the content, example as the property:</p>
  
  <pre><code>SetPPSUserName = "&lt;localEntry key="PPS_Username" xmlns="​http://ws.apache.org/ns/synapse"&gt;&lt;![CDATA [content test blablab]]&gt;&lt;/ localEntry&gt;"
  </code></pre>
  
  <p>Correct would be:</p>
  
  <pre><code>SetPPSUserName = "content test blablab"
  </code></pre>
  
  <p>NOTE: When I upload the CAR to the site, the local entry of the project registry resource does not appear in the local entry list of the management console.</p>
  
  <p>Message translated from Portuguese to English with google translator</p>