Loading ...
Sorry, an error occurred while loading the content.

6020New User Question: nested SOAP::Data?

Expand Messages
  • leegee23
    Sep 19, 2007
      I'm having a few problems getting to grips with some software I've
      inherited that uses SOAP::Lite.

      A line reads

      $_ = SOAP::Data->name('smiles' => $val );

      and seems to output

      <smiles xsi:type="xsd:string">data</smiles>

      Problem is that I need that inner text node to be wrapped in a
      further XML node, 'string':

      <smiles xsi:type="xsd:string"><string>data</string></smiles>

      Please would some kind soul point me in the right direction? I'm
      finding the verbosity of the documentation rather confusing.

      Many thanks in anticipation
    • Show all 2 messages in this topic