Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Add line break in XML file — Cloud Customer Connect
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

Add line break in XML file

Question
10
Views
0
Comments

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!