title: XPath : How do I reference all the children of an element WITHOUT using * (asterisk)?
body: <p>I'm currently working on an Oracle SOA project and I'm having problems mapping my incoming message to another message.  I'm new to SOA and the Oracle toolset.  I'm using JDeveloper, and here are the versions listed in the "About" tab:</p>
  
  <pre><code>ADF Business Components   11.1.1.62.29
  BPMN Editor               11.1.1.6.0.15.53
  Java(TM) Platform         1.6.0_24
  Oracle IDE                11.1.1.6.38.62.29
  SOA Composite Editor      11.1.1.6.0.15.53
  Team Productivity Center  11.1.1.6.38.61.92
  Versioning Support        11.1.1.6.38.62.29
  </code></pre>
  
  <p>My incoming message is an error message that wraps failed messages from other services.  The message is formatted as follows:</p>
  
  <pre><code>&lt;Error&gt;
     &lt;code /&gt;
     &lt;service /&gt;
     ...
     &lt;Message&gt;
         [ORIGINAL MESSAGE HERE]
     &lt;/Message&gt;
  &lt;/Error&gt;
  </code></pre>
  
  <p>I need to map the contents of Message to another message type.  The message tag contains serialized XML created by the <code>bea:serialize</code> function.  The contents of that message tag can vary depending on the service that built the error message and sent it.  In my XSL file that handles the mapping, message is mapped using the function <code>get-content-as-string function</code> using the expression:</p>
  
  <pre><code>/error-v1:Error/Message  
  </code></pre>
  
  <p>The problem with this is that the Message tag gets copied as well, where I really just want its contents.  I've tried using <code>/error-v1:Error/Message/*</code>, but JDeveloper produces an error stating that <code>*</code> is not a valid node.  If I ignore the error and deploy, the process errors out when the mapping occurs.  I've also tried using <code>/error-v1:Error/Message/child::*</code>, but this produces the same error.</p>
  
  <p>All references I've found online say that the above should work, but I can't seem to find a solution that works that with SOA as well.  Suggestions?</p>