You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

Add line break in XML file

Summary:


Content (required):

Hi experts,

I am working on an integration which will generate an xml file, my schema is as follows:

<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">

<xs:element name="employees">

  <xs:complexType>

   <xs:sequence>

    <xs:element name="employee" maxOccurs="unbounded" minOccurs="0">

     <xs:complexType>

      <xs:sequence>

       <xs:element type="xs:string" name="name"/>

       <xs:element type="xs:string" name="skills"/>

      </xs:sequence>

     </xs:complexType>

    </xs:element>

   </xs:sequence>

  </xs:complexType>

 </xs:element>

</xs:schema>


The output generated with this schema:

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

  <employee>

   <name>Alan</name>

   <skills>PLSQL</skills>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!