title: WSO2: Enriching a OM property node value
body: <p>I have an empty OM property like so:</p>
  
  <pre><code>&lt;property description="empty extra_data" name="extra_data" scope="default"&gt;
      &lt;extra_data xmlns=""/&gt;
  &lt;/property&gt;
  </code></pre>
  
  <p>Later on, I want to add data to this XML structure.</p>
  
  <p>First enriching – adding the child element works fine:</p>
  
  <pre><code>&lt;enrich description="set URL child in extra data"&gt;
      &lt;source clone="true" type="inline"&gt;
          &lt;url /&gt;
      &lt;/source&gt;
      &lt;target action="child" xpath="$ctx:extra_data"/&gt;
  &lt;/enrich&gt;
  </code></pre>
  
  <p>Next, I want to set the URL that is stored in another property ("url").
  I've tried it like that but it doesn't work (invalid target):</p>
  
  <pre><code>&lt;enrich description="set url" xmlns:ns="http://ws.apache.org/ns/synapse"&gt;
      &lt;source clone="true" property="url" type="property"/&gt;
      &lt;target xpath="$ctx:extra_data//ns:url/text()"/&gt;
  &lt;/enrich&gt;
  </code></pre>
  
  <p>Can anyone help me with that? :)</p>