Forum Stats

  • 3,825,924 Users
  • 2,260,580 Discussions
  • 7,896,737 Comments

Discussions

Reading and transforming an xml file which has no namespace

User_SZ8VK
User_SZ8VK Member Posts: 11 Red Ribbon

HiiAll

We are using SOASuite 12c

Using the SOA Composite, I want to read the xml file below and transform the xml file into another format. The problem is, he xml file don't have a namespace. Can anyone suggest me how to read the below xml file from a directory and transform the file? 


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<Events>

  <eventData>

    <eventID>2753856</eventID>

    <userID>

      <loginID>jkmartin</loginID>

    </userID>

    <type>Logout</type>    

  </eventData>

  <eventData>

    <eventID>2753856</eventID>

    <userID>

      <loginID>gljohn</loginID>

    </userID>

    <type>Logout</type>    

  </eventData>

</Events>


Thanks