XML file validation with XSD and loading to database relational table

Hi all,
I have some xml files coming to my unix directory. I will be having an XSD for those. My task is to validate those xml against given xsd and load the corresponding data into oracle relational tables with sqlloader only.
Please help me to accomplish. and let me know the contents of control file ( for SQLLOADER) if i want to load the xml directly to database.
Unix and/or PLSQL suggestions both are welcome.

My problem area is loading the XML to Oracle relational tables using sqlloader.
suppose, the xml is <?xml version="1.0"?>
<Customers>
<Customer>
<CustID>1</CustID>
<Company>Bell South</Company>
<City>New York</City>
</Customer>
<Customer>
<CustID>2</CustID>
<Company>Barnes &amp; Noble</Company>
<City>New York</City>
</Customer>
<Customer>
<CustID>3</CustID>
<Company>Comp USA</Company>
<City>Tampa</City>
</Customer>
<Customer>
<CustID>4</CustID>
<Company>Borders</Company>
<City>Charlotte</City>
</Customer>
</Customers>
and I have a relational table
CREATE TABLE CUSTOMERS
CUSTID NUMBER,
COMPANY VARCHAR2(100 BYTE),
CITY VARCHAR2(100 BYTE)
how to insert the xml data into the table???
please help..
Edited by: nuon on Oct 25, 2010 6:25 AM

Similar Messages

  • Reading XML file into Dynamic Node and Display its output as Table.

    Hi All,
    Following is the output of XML file:
       <Company>
         <Employee>
              <Name>John</Name>
              <Age>23</Age>
              <***>Male</***>
              <Location>Frankfurt</Location>
         </Employee>
         <Employee>
              <Name>Tina</Name>
              <Age>21</Age>
              <***>Female</***>
              <Location>Boston</Location>
         </Employee>
         <Department>
              <Name>Sales</Name>
              <HQ>Chicago</HQ>
              <Emplyoees>2300</Employees>
         </Department>     
    I'm able to read the output through DOM parser. But How do I convert this into dynamic node and display this in Web dynpro as Table?
    Any pointers in this regard will be great help?
    Thanks
    Srikant

    Hi Maksim,
    I've used your example and its now helping as there is kind of agreement on that I'll be knowing the structure of Xml and I can fill the nodes.
    But suppose if you have Xml has following structure :
    <?xml version="1.0" encoding="utf-8"?><DATA>
    <item><MAILERID TYPE="C" SIZE="000030">21</MAILERID><ORG_CODE TYPE="C" SIZE="000004">1232</ORG_CODE><EVENTID TYPE="C" SIZE="000015">CONTRACT</EVENTID><SUBSCR_VALUE TYPE="C" SIZE="000001">0</SUBSCR_VALUE></item>
    <item><MAILERID TYPE="C" SIZE="000030">21</MAILERID><ORG_CODE TYPE="C" SIZE="000004">1232</ORG_CODE><EVENTID TYPE="C" SIZE="000015">CREDIT</EVENTID><SUBSCR_VALUE TYPE="C" SIZE="000001">0</SUBSCR_VALUE></item>
    <item><MAILERID TYPE="C" SIZE="000030">21</MAILERID><ORG_CODE TYPE="C" SIZE="000004">1232</ORG_CODE><EVENTID TYPE="C" SIZE="000015">EMPRESS</EVENTID><SUBSCR_VALUE TYPE="C" SIZE="000001">0</SUBSCR_VALUE></item>
    <item><MAILERID TYPE="C" SIZE="000030">21</MAILERID><ORG_CODE TYPE="C" SIZE="000004">1232</ORG_CODE><EVENTID TYPE="C" SIZE="000015">PAYMENT</EVENTID><SUBSCR_VALUE TYPE="C" SIZE="000001">0</SUBSCR_VALUE></item>
    <item><MAILERID TYPE="C" SIZE="000030">21</MAILERID><ORG_CODE TYPE="C" SIZE="000004">1232</ORG_CODE><EVENTID TYPE="C" SIZE="000015">PRICE</EVENTID><SUBSCR_VALUE TYPE="C" SIZE="000001">0</SUBSCR_VALUE></item>
    </DATA>
    How we will do in this case?
    Can we have something similar using DOM? Also what is the best method for displaying data being sent in form of XML. And generalize it for cases like this.
    Thanks
    Srikant

  • XML validating with XSD

    Please clarify the following
    1) To validate a XML output with a XSD is it necessary to register the xsd in the database?.
    2) I tried running the below give command to register the .xsd file. It errored out with the below message. Do we need to some additional installation for having dbms_xmlschema in oracle database or am I missing something. My ver of oracle is 9.2.0.6.0.
    ERROR at line 2:
    ORA-06550: line 2, column 1:
    PLS-00201: identifier 'DBMS_XMLSCHEMA.REGISTERSCHEMA' must be declared
    BEGIN
    DBMS_XMLSchema.registerSchema(
    schemaurl=>'http://ifsddev.na.abc.com/home/vick/105564/batchuserimport.xsd',
    schemadoc=>sys.UriFactory.getUri('/home/vick/105564/batchuserimport.xsd'));
    END;

    1) You could validate XML files against an XSD by using standard Java, PL/SQL, etc. functionality. Just to validate XML you do not need to register the schema in XDB. See e.g. http://www.oracle.com/technology/pub/articles/vohra_xmlschema.html
    2) Also see: DBMS_XMLSCHEMA.REGISTERSCHEMA' must be declared to know whether XML DB has been installed/configured.
    Regards, Ronald

  • How to generate XML file based on XSD in SSIS

    please provide step by step process to create xml based on XSD in SSIS  

    Hi hemasankar,
    In SQL Server Integrated Services, we can generate XML Schema (XSD) file based on a XML file with XML Source Editor. If we want to generate XML file based on a XSD file, we can use Generate Sample XML feature in Visual Studio. For more details, please refer
    to the following steps:
    Click on "XML Schema Explorer" or 'Use the XML Schema Explorer...' to open XML Schema Explorer in Visual Studio. 
    If your Schema file is valid and you are having elements, right-click on element and click on "Generate Sample XML", this functionality generates XML file in temp folder and open ups in the XML Editor.
    The following two document about how to generate XML file based on a XSD file are for your reference:
    http://msdn.microsoft.com/en-us/library/dd489258.aspx
    http://www.codeproject.com/Articles/400016/Generate-Sample-XML-from-XSD
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to do file validation with ODI 10.1.3.5

    Hi Team,
    Please help me, how to handle file validation with ODI?
    My source is files.
    Requirement:
    With ODI i have to do the file validation and file data loading successfully. Once it is successfully done then i have to move the particular file and move to different directory.
    Any internal tool is there in ODI package to watch the file.
    Regards,
    Suresh

    Hi Suresh,
    You can do your file loading and validation in an ODI interface.
    Once you are done with the interface, add it to a package, you can set up subsequent steps in the package to move the file to another location using the built in ODI file utilities in the package.
    Terrence.

  • IDOC to XML file scenario with party

    Hi All,
    I am developing a IDOC to XML file scenario with party in which I have extended the MATMAS idoc and configured the receiver FILE communication channel.
    But its giving me the error *"No receiver could be determined"*  with party. If I run the same scenario without the sender party its working fine.
    And sender is my R/3 system under party P_Party and receiver is my third party system under P_Party.
    Thanks in advance.
    Gaurang

    U can give a try as follows.
    In the Partner Profile of Sender R/3 system,
    Give the Receiver Party P_Party in the PartnerNo. Give the 'Business Partner' as logical System type.
    In XI, Party Definition of P_Party
    Give the following Alternative Identifier
    Agency  -   Sender R/3  Business System       
    Scheme -   ALE#GP
    Value    -    P_Party

  • How do I find out the exact path of each and every file that LabVIEW finds and loads into memory for a given top level vi?

    How do I find out the exact path of each and every file that LabVIEW finds and loads into memory for a given top level vi? There is probably a trivial, easy way to get this info, but I have not yet found it!  Thanks..

    Or if you want to grab all the paths programatically, try the attached VI.
    Open the top level that you want all the paths from and close all others, then open the
    attached and run it. It will return an array of all the VIs that the VI
    in question uses, including vi.lib VIs. You can filter these as well if
    you like.
    Ed
    Message Edited by Ed Dickens on 08-01-2005 07:01 PM
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
    Attachments:
    Get all paths.vi ‏29 KB

  • Large XML files, how to split and read them in PI

    Hi,
    For a specific requirement, we have a 60 MB-90 MB XML file being generated by a legacy application.
    This file has to be processed by PI 7.31 Sender File Adapter and should be posted as a ABAP proxy to SAP ECC system.
    To address any performance issues, we are planning to read the files in chunks.
    Is there a way by which we can configure the file adapter to pick a fixed no.of records to limit the size.
    In inputs in this regard will be appreciated.
    regards,
    Younus

    Hi Younus,
    First of all if you are using PI 7.31, then you should be quite able to process XML file of about 100MB scale. Performance issue shall occur in ECC side instead as it can not handle such high volume.
    My suggestion will be to pick the whole XML file at one go and do necessary mapping. However on receiver side use SOAP Adapter instead of XI for making proxy calls to ECC.
    In SOAP adapter (using HTTP as Transport and XI 3.0 as Message protocol) there's an option as 'XI Packaging' which can be used to send data in packets.
    Refer below help doc on it.
    Configuring the Receiver SOAP Adapter - Advanced Adapter Engine - SAP Library
    Thanks
    Bibek

  • SSMA "Loading to database new table File Name.dbo[Table] ...sql execution failed

    In this case I had already processed this table once before 'no changes' and processed the second time I received this error ...sql execution Failed. It's like the sql server 2008 R2 doesn't see or detect the process. Starting Phase #0 Synchronizing Database:
    then it shows 'Loading to database new table file name.dbo[table] ... sql execution failed (this is my issue)

    Hi TheJudge2,
    Based on my understanding, you have installed SQL Server Migration Assistant successfully then you perform migration. After migration, you can’t find the table which you want to migrate to SQL Server 2008 R2 under the database in your SQL Server Management
    Studio, then you perform migration again. Then error message “Loading to database new table file name.dbo[table] ... sql execution failed” is thrown out. Please correct me if I misunderstand your meaning.
    Firstly, I would like to know whether you perform migration from Access database to SQL Server. I have performed migration from Access database to SQL Server in my lab environment.  Based on my test, I could migrate Access database to SQL Server successfully
    and table existed under the database in SQL Server Management Studio after migration.
    Besides, “sql execution failed” is a general error message. It is hard to find out the cause from this error message. Please check the information under the Output in SQL Server Migration Assistant again. It would be better if you can provide the complete
    output information for our deep analysis.
    Best regards,
    Qiuyun Yu

  • Inserting XML files with attribute and frontslash(/) in database

    Hi,
    I want to get and insert the data from XML file into database. Below is the XML file:
    <bne:document xmlns:bne="http://www.oracle.com/bne" bne:apiVersion="1.0">
         <bne:workspace>
              <bne:layout id="242:AMW_PROC_UPLOAD">
                   <header><line/>
                   </header>
              </bne:layout>
         </bne:workspace>
         <bne:collection id="collection_1">
              <bne:data bne:id="data_1" bne:integrator="242:AMW_PROCESS_IMPORT_INTG" bne:layout="242:AMW_PROC_UPLOAD" bne:date_format="yyyy-MM-dd" bne:validation="full" bne:recreate="TRUE" bne:columns_mapped="FALSE" bne:nls_numeric_characters=".,">
                   <header AMW_PROCESSES_INTERFACE.HEADER_PARENT_PROCESS_ID="All Processes">
                   <line bne:IDX="1"
    AMW_PROCESSES_INTERFACE.PROCESS_DISPLAY_NAME="Process test 1" AMW_PROCESSES_INTERFACE.SIGNIFICANT_PROCESS_FLAG="Yes"
    AMW_PROCESSES_INTERFACE.REVISE_PROCESS_FLAG="N"
    AMW_PROCESSES_INTERFACE.PROCESS_CATEGORY="Routine"
    AMW_PROCESSES_INTERFACE.APPROVAL_STATUS="Approved"
    AMW_PROCESSES_INTERFACE.STANDARD_PROCESS_FLAG="Yes"
    AMW_PROCESSES_INTERFACE.PROCESS_OWNER_ID=""
    AMW_PROCESSES_INTERFACE.FINANCE_OWNER_ID=""
    AMW_PROCESSES_INTERFACE.APPLICATION_OWNER_ID=""
    AMW_PROCESSES_INTERFACE.PARENT_PROCESS_NAME=""/>
                   </header>
              </bne:data>
         </bne:collection>
    </bne:document>
    and the table structure is:
    12:53:58 SQL> desc bne
    Name Null? Type
    HEADER_PARENT_PROCESS_ID VARCHAR2(80)
    PROCESS_DISPLAY_NAME VARCHAR2(80)
    SIGNIFICANT_PROCESS_FLAG VARCHAR2(3)
    REVISE_PROCESS_FLAG VARCHAR2(1)
    PROCESS_CATEGORY VARCHAR2(30)
    APPROVAL_STATUS VARCHAR2(30)
    STANDARD_PROCESS_FLAG VARCHAR2(3)
    PROCESS_OWNER_ID VARCHAR2(80)
    FINANCE_OWNER_ID VARCHAR2(80)
    APPLICATION_OWNER_ID VARCHAR2(80)
    PARENT_PROCESS_NAME VARCHAR2(80)
    So I want specific attribute values to be inserted into this table. I know the way to insert the simple XML document into database by using DBMS_XMLSave methods, but in this case I need to extract specific attribute values. I have learned that in order to use XML SQL Utility to "auto-load" XML into relational tables, I have to transform this XML file into Oracle's "canonical XML format" perhaps by using XSLT, not sure.
    Can someone please advise the correct way to accomplish above thing.
    Thanks in Advance.
    Manoj

    Great detective work. It's odd how that click-to-call extension creates such random issues...

  • How to convert text file into xml file format with and check that with DTD

    I have an text file with | seperator . I have to convert this to an xml file and check with DTD present with me..
    plz help me out

    can i get some code that how to compare the xml with dtd or just give the DTD name with an XML

  • XML validation with XSD, Cannot find the declaration of element 'rules'

    i am able to validate xml with XSD, from windows env, but same is not doing with linux, it is throwing error Cannot find the declaration of element 'rules'
    code here is
    validate(String aFilePath, String aSchemaFilePath)
    final String JAXP_SCHEMA_LANGUAGE = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
              final String W3C_XML_SCHEMA = "http://www.w3.org/2001/XMLSchema";
              final String JAXP_SCHEMA_SOURCE = "http://java.sun.com/xml/jaxp/properties/schemaSource";
    if(lSchemaFilePath == null){
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    factory.setAttribute(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
    factory.setAttribute(JAXP_SCHEMA_SOURCE, new File(aSchemaFilePath));
    factory.setNamespaceAware(true);
    factory.setValidating(true);
    DocumentBuilder builder = factory.newDocumentBuilder();
    mValidator = new ValidationHandler();
    builder.setErrorHandler(mValidator);
    lDocument = builder.parse(aFilePath);
    if(mValidator.mErrorExist){
              }Thanks
    vittal

    here's the sample gml file.
    <?xml version="1.0" encoding="UTF-8"?>
    <ksj:Dataset gml:id="C01_DataSet" xmlns:ksj="http://nlftp.mlit.go.jp/ksj/schemas/ksj-app" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://nlftp.mlit.go.jp/ksj/schemas/ksj-app AppSchema-C01-v1_0.xsd">
         <gml:description>CO1 description</gml:description>
         <gml:boundedBy>
              <gml:EnvelopeWithTimePeriod srsName="JGD2000 / (B, L)" frame="GC / JST">
                   <gml:lowerCorner>24.03 122.93</gml:lowerCorner>
                   <gml:upperCorner>45.52 145.82</gml:upperCorner>
                   <gml:beginPosition calendarEraName="Seireki">1965</gml:beginPosition>
                   <gml:endPosition calendarEraName="Seireki">1990</gml:endPosition>
              </gml:EnvelopeWithTimePeriod>
         </gml:boundedBy>
         <gml:Point gml:id="pt_1">          
              <gml:pos>24.33741667 123.73177778</gml:pos>
         </gml:Point>
         <gml:Point gml:id="pt_2">
              <gml:pos>24.33158333 124.10552778</gml:pos>
         </gml:Point>
         <gml:Point gml:id="pt_3">
              <gml:pos>26.28205556 127.73950000</gml:pos>
         </gml:Point>
         <gml:Point gml:id="pt_4">
              <gml:pos>26.23777778 127.96491667</gml:pos>
         </gml:Point>
         <ksj:Tide gml:id="fi_1">
              <ksj:position xlink:href="#pt_1"/>
              <ksj:springTideRange>13</ksj:springTideRange>
              <ksj:neapRange>5</ksj:neapRange>
              <ksj:averageHighTideInterval>69</ksj:averageHighTideInterval>
         </ksj:Tide>
         <ksj:TidalCurrent gml:id="fi_2">
              <ksj:position xlink:href="#pt_2"/>
              <ksj:risingTideCurrent>
                   <ksj:TidalCurrentInfo>
                        <ksj:currentDirection>14</ksj:currentDirection>
                        <ksj:currentSpeed>3</ksj:currentSpeed>
                   </ksj:TidalCurrentInfo>
              </ksj:risingTideCurrent>
              <ksj:fallingTideCurrent>
                   <ksj:TidalCurrentInfo>
                        <ksj:currentDirection>6</ksj:currentDirection>
                        <ksj:currentSpeed>3</ksj:currentSpeed>
                   </ksj:TidalCurrentInfo>
              </ksj:fallingTideCurrent>
         </ksj:TidalCurrent>
         <ksj:Marina gml:id="fi_3">
              <ksj:position xlink:href="#pt_3"/>
              <ksj:name>Marinafi3</ksj:name>
              <ksj:facilityCode>4703</ksj:facilityCode>
              <ksj:administrativeAreaCode codeSpace="AdministrativeAreaCode.xml">47205</ksj:administrativeAreaCode>
              <ksj:establishmentYear>
                   <gml:TimeInstant gml:id="ti_3">
                        <gml:timePosition>1987</gml:timePosition>
                   </gml:TimeInstant>
              </ksj:establishmentYear>
              <ksj:administratorClass>1</ksj:administratorClass>
              <ksj:numberOfKeptShips>
                   <ksj:NumberOfKeptShips>
                        <ksj:max>263</ksj:max>
                        <ksj:now>83</ksj:now>
                   </ksj:NumberOfKeptShips>
              </ksj:numberOfKeptShips>
              <ksj:frequencyOfSailing>900</ksj:frequencyOfSailing>
              <ksj:facilitiesAbove>facilitiesAbove1</ksj:facilitiesAbove>
              <ksj:facilitiesAbove>facilitiesAbove2</ksj:facilitiesAbove>
              <ksj:facilitiesAbove>facilitiesAbove3</ksj:facilitiesAbove>
              <ksj:facilitiesAbove>facilitiesAbove4</ksj:facilitiesAbove>
         </ksj:Marina>
         <ksj:MarinePhenomenonObservationFacilities gml:id="fi_4">
              <ksj:position xlink:href="#pt_4"/>
              <ksj:name>MarineName</ksj:name>
              <ksj:facilityCode>47001</ksj:facilityCode>
              <ksj:administrativeAreaCode codeSpace="AdministrativeAreaCode.xml">47323</ksj:administrativeAreaCode>
              <ksj:establishmentYear>
                   <gml:TimeInstant gml:id="ti_4">
                        <gml:timePosition>1983</gml:timePosition>
                   </gml:TimeInstant>
              </ksj:establishmentYear>
              <ksj:administratorClass>7</ksj:administratorClass>
              <ksj:observationItem>observationItem1</ksj:observationItem>
              <ksj:observationItem>observationItem2</ksj:observationItem>
              <ksj:observationItem>observationItem3</ksj:observationItem>
              <ksj:observationItem>observationItem4</ksj:observationItem>
              <ksj:observationItem>observationItem5</ksj:observationItem>
              <ksj:observationItem>observationItemOthers</ksj:observationItem>
         </ksj:MarinePhenomenonObservationFacilities>
    </ksj:Dataset>

  • RSS XML Files for a Blog and Podcast on Same Website With iTunes Feed

    Does iWeb support both a separate blog and podcast on the same website feeding the Podcast to iTunes? I got my podcast going on iTunes, then it stopped working after I changed the iTunes podcast name in iWeb and didn't edit the xml file. My podcast is gone on iTunes and I can't get the xml files correct for the blog or the podcast. I'm submitting the correct URL to iTunes but iTunes continues generarting 404 errors.

    No answers. Will re-post more clearly

  • How to read a XML file from BLOB column and insert in a table - PL/SQL Only

    Hi,
    To make data load more simple to end user instead placing file on the server and use SQL-LOADER, I came up with new idea that using oracle ebusiness suite attachment functionality. that loads a XML file from local PC to a database column(table is fnd_attachments, default data type is BLOB over here).
    I tried with DBMS_LOB and didnt get around.
    Please can anyone tell me how to read the BLOB column using PL/SQL and store the data in a oracle table. Here's the sample XML file and table structure FYI.
    <?xml version="1.0" encoding="UTF-8"?>
    <dataroot xmlns:od="urn:schemas-microsoft-com:officedata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Corporate_alloc.xsd" generated="2009-07-07T14:17:49">
    <Corporate_alloc>
    <PKG_CODE>BKCORP</PKG_CODE>
    <PKG_NAME>Corporate Edition - Books</PKG_NAME>
    <DET_CODE>B9780080543758</DET_CODE>
    <DET_NAME>Waves, Tides and Shallow-Water Processes</DET_NAME>
    <ALLOCATION_RATIO>0.000041</ALLOCATION_RATIO>
    </Corporate_alloc>
    <Corporate_alloc>
    <PKG_CODE>BKCORP</PKG_CODE>
    <PKG_NAME>Corporate Edition - Books</PKG_NAME>
    <DET_CODE>B9780080534343</DET_CODE>
    <DET_NAME>Hydrostatically Loaded Structures</DET_NAME>
    <ALLOCATION_RATIO>0.000127</ALLOCATION_RATIO>
    </Corporate_alloc>
    </dataroot>
    CREATE TABLE TEST_XML
    ( PKG_CODE VARCHAR2(50),
    PKG_NAME VARCHAR2(100),
    DET_CODE VARCHAR2(20),
    DET_NAME VARCHAR2(500),
    ALLOCATION_RATIO NUMBER )
    Thanks
    EBV

    In regards to #3, use the COLUMNS functionality of XMLTable instead of using Extract. Two simple examples are
    Re: XML Data - Caliculate fields
    Re: Extractvalue function not recognised

  • Error in xml file validation to its relevant xml schema

    Hi All,
    I have 3 xml schema files files from which I generated a XML file using PLSQL.I am getting this error when I am trying to validate xml file to the schema:
    *'WMWROOT' NOT DECLARED*.Can anyone help me with this,I am including the main schema file and also the XML generated.
    XML Schem file:
    Itemdownload.xsd:
    <?xml version="1.0" encoding="utf-8" ?>
    <xs:schema id="ItemDownload" targetNamespace="http://www.manh.com/ILSNET/Interface" elementFormDefault="qualified"
         xmlns="http://www.manh.com/ILSNET/Interface" xmlns:xs="http://www.w3.org/2001/XMLSchema" version ="2007">
         <xs:include schemaLocation="Item.xsd" />
    <xs:element name="WMWROOT" nillable="true" type="WMWROOT" />
    <xs:complexType name="WMWROOT">
    <xs:sequence>
    <xs:element minOccurs="0" maxOccurs="1" name="WMWDATA" type="WMWDATA" />
    </xs:sequence>
    </xs:complexType>
    <xs:element name="WMWDATA" nillable="true" type="WMWDATA"/>
    <xs:complexType name="WMWDATA">
    <xs:sequence>
    <xs:element minOccurs="0" maxOccurs="1" name="Items" type="ItemList" />
    </xs:sequence>
    </xs:complexType>
    <xs:element name="Items" nillable="false" type="ItemList" />
    <xs:complexType name="ItemList">
    <xs:sequence>
    <xs:element minOccurs="1" maxOccurs="unbounded" name="Item" nillable="true" type="Item" />
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    The generated xml file is:
    <?xml version="1.0" ?>
    <WMWROOT>
    <WMWDATA>
    <Items>
    <Item><Action>Save</Action><UserDef8>10074</UserDef8><Active>Y</Active><AvailableOnWeb>N</AvailableOnWeb><Company>OU: ResMed Corp</Company><Cost>285.93</Cost><Desc>HP DESKJET PRINTER (EMBLA)</Desc><HarmCode><UserDef8>10074</UserDef8></HarmCode><Item>R145-794</Item><InventoryTracking>Y</InventoryTracking><LongDesc>HP DESKJET PRINTER (EMBLA)</LongDesc><LotControlled>Y</LotControlled><SerialNumTrackOutbound>7</SerialNumTrackOutbound><StorageTemplate><Template>Each</Template></StorageTemplate><XRefs><XRef><XRefItem></XRefItem></XRef></XRefs></Item>
    <Item><Action>Save</Action><UserDef8>80862</UserDef8><Active>Y</Active><AvailableOnWeb>N</AvailableOnWeb><Company>OU: ResMed Corp</Company><Cost>54.27</Cost><Desc>Mirage Micro Mask MED&amp;LG-Internet Pkg</Desc><HarmCode><UserDef8>80862</UserDef8></HarmCode><Item>16359</Item><InventoryTracking>Y</InventoryTracking><LongDesc>Mirage Micro Mask MED&amp;LG-Internet Pkg</LongDesc><LotControlled>Y</LotControlled><SerialNumTrackOutbound>N</SerialNumTrackOutbound><StorageTemplate><Template>Each</Template></StorageTemplate><XRefs><XRef><XRefItem>619498163597</XRefItem></XRef></XRefs></Item>
    </Items>
    </WMWDATA>
    </WMWROOT>
    I can provide you with the other 2 dependent schemas if needed.Please reply me!!

    Hey,
    As you said I tried keeping the namespace in xml file and it worked for a strange reason I am getting the same error again,I am not able to figure it why!!
    The error is:
    SAMPLEITEMDLFILE.xml:2,139: no declaration found for element 'WMWROOT'
    The XML document SAMPLEITEMDLFILE.xml is NOT valid (1 errors)
    This is the part of PL/SQL code thru which I am generating the xml:
    UTL_FILE.put_line (l_out_file, '<?xml version="1.0" ?>');
    UTL_FILE.put_line (l_out_file, '<WMWROOT');
    UTL_FILE.put_line (l_out_file, 'xmlns="http://www.manh.com/ILSNET/Interface"> ');
    UTL_FILE.put_line (l_out_file, '<WMWDATA>');
    UTL_FILE.put_line (l_out_file, '<Items>');
    I am validating it in stylus studio tool.
    Can you please help me thru this?

Maybe you are looking for

  • G/L account issue when goods issue against reservation

    Genius, I manually created a reservation with movement type 201 and a G/L account which is difference from one defined in OBYC GBB-VBR. When I post goods issue by MB1A, I got the account from OBYC; But when I post it by MB26, I got another account ma

  • Aperture Library Thumbnails

    I have a problem I cannot figure out. I have 155,000 photos in 1120 projects in A3 (ver 3.2.4). My photo files are referenced on external hard drives, and the Aperture library folder resides on my imac hard drive in the pictures folder. I started to

  • Carrier settings icon missing in 8.1.2

    Hi, I have an issue since this morning with my iPhone 5C, running on IOS 8.1.2 which is unable to get service. I found out that carrier settings icon disappeared from settings menu and I'm practically getting no service and not able to change anythin

  • Interface level comments....

    (Using JDK1.4.0 and the javadoc tool supplied with it. Platform: WinXP Pro, using Textpad as editor.) I've created a class with class level comments before, but when I try it with an interface the resulting javadoc doesn't show the comment. Example:

  • Adobe Acrobat 9.42 professional - reboot computer

    hello, i m using the version described above. 1st) i want to open a pdf file -> the computer reboot 2nd) i want to install(overwrite) the existing installation -> the computer reboot 3rd) i want to uninstall Acrobat -> the computer reboot 4th) like 3