create a table structured with xsd files

Hi all, I need a way to create a table with an xsd schema that is not of type like this:
CREATE TABLE "Employees520_TAB" OF SYS.XMLTYPE 
  XMLSCHEMA "/public/impiegato5"
  ELEMENT "Employees"
in other words, I have the next file on the csd:
<xsd:schema 
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified">
    <xsd:element name="Employees">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element name="SSN" type="xsd:string"/>
                <xsd:element name="Name" type="xsd:string"/>
                <xsd:element name="DateOfBirth" type="xsd:date"/>
                <xsd:element name="EmployeeType" type="xsd:string"/>
                <xsd:element name="Salary" type="xsd:long"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
</xsd:schema>
I want to get is a 'traditional' table of the form:
create table employee (SSN varchar2(100), name varchar2(100), DateOfBirth varchar2(100), EmployeeType varchar2(100), Salary number)
in which the XML is cut on a usual table, is there a way I can accomplish this?
and after inserting the XML as part of the table.
Thank you
Francesco

Published by: francy77 on April 19, 2011 09:22

Published by: francy77 on April 19, 2011 09:23

Sorry of "mark"="mdrake" = SR. Product Manager for the functionality of Oracle XMLDB

Got up the URL of the FAQ for you...

XMLType view relational content

Tags: Database

Similar Questions

  • ORA-19046 with xsd file valid (on 11.2.0.2)

    Hello Experts,

    I have an xml file and had to import in some relational tables. The xsd files are given.

    I tried: create resources for the xsd files - work; Register scheme-> not possible, due to the ORA-19046.

    XMLSpy validate all xsd (a total of seven files) files is possible - not found error.


    Are there ideas, how to import data into tables? (I don't really need the XML in the database)


    Tounsiiaa for any help!
    Frank

    Here is the script...

    --
    -- Schema Registration Script for XML Schemas in "/public/OTN/schemas/xsd" --
    --
    --
    declare
      GENERIC_ERROR exception;
      PRAGMA EXCEPTION_INIT( GENERIC_ERROR , -31061 );
    
      NO_MATCHING_NODES exception;
      PRAGMA EXCEPTION_INIT( NO_MATCHING_NODES , -64405 );
    
      V_XML_SCHEMA_PATH      VARCHAR2(700) := '/public/OTN/schemas/xsd/datentypen_V1.40.xsd';
      V_XML_SCHEMA           XMLType       := xdburitype(V_XML_SCHEMA_PATH).getXML();
      V_SCHEMA_LOCATION_HINT VARCHAR2(700) := 'datentypen_V1.40.xsd';
    begin
      begin
        DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XML_SCHEMA);
      exception
        when GENERIC_ERROR or NO_MATCHING_NODES then
          NULL;
        when OTHERS then
          RAISE;
      end;
    
      begin
        DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDom(V_XML_SCHEMA,FALSE);
      exception
        when GENERIC_ERROR or NO_MATCHING_NODES then
          NULL;
        when OTHERS then
          RAISE;
      end;
    
      -- DOM Fidelity enabled due to presence of mixed text, substitution group heads, or repeating choice structures in complex type defintion :-
    
      DBMS_XMLSCHEMA_ANNOTATE.enableMaintainDOM(V_XML_SCHEMA,'addr_typ',TRUE);
    
      DBMS_XMLSCHEMA_ANNOTATE.enableMaintainDOM(V_XML_SCHEMA,'local_header-cont.model',TRUE);
    
      DBMS_XMLSCHEMA_ANNOTATE.enableMaintainDOM(V_XML_SCHEMA,'person_name_nm_typ',TRUE);
    
      DBMS_XMLSCHEMA.registerSchema
      (
        SCHEMAURL => V_SCHEMA_LOCATION_HINT
       ,SCHEMADOC => V_XML_SCHEMA
       ,LOCAL      => TRUE
       ,GENTYPES     => TRUE
       ,GENTABLES     => TRUE
       ,ENABLEHIERARCHY =>  DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
      );
    end;
    /
    declare
      GENERIC_ERROR exception;
      PRAGMA EXCEPTION_INIT( GENERIC_ERROR , -31061 );
    
      NO_MATCHING_NODES exception;
      PRAGMA EXCEPTION_INIT( NO_MATCHING_NODES , -64405 );
    
      V_XML_SCHEMA_PATH      VARCHAR2(700) := '/public/OTN/schemas/xsd/ehd_header_V1.40.xsd';
      V_XML_SCHEMA           XMLType       := xdburitype(V_XML_SCHEMA_PATH).getXML();
      V_SCHEMA_LOCATION_HINT VARCHAR2(700) := 'ehd_header_V1.40.xsd';
    begin
      begin
        DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XML_SCHEMA);
      exception
        when GENERIC_ERROR or NO_MATCHING_NODES then
          NULL;
        when OTHERS then
          RAISE;
      end;
    
      begin
        DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDom(V_XML_SCHEMA,FALSE);
      exception
        when GENERIC_ERROR or NO_MATCHING_NODES then
          NULL;
        when OTHERS then
          RAISE;
      end;
    
      DBMS_XMLSCHEMA.registerSchema
      (
        SCHEMAURL => V_SCHEMA_LOCATION_HINT
       ,SCHEMADOC => V_XML_SCHEMA
       ,LOCAL      => TRUE
       ,GENTYPES     => TRUE
       ,GENTABLES     => TRUE
       ,ENABLEHIERARCHY =>  DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
      );
    end;
    /
    declare
      GENERIC_ERROR exception;
      PRAGMA EXCEPTION_INIT( GENERIC_ERROR , -31061 );
    
      NO_MATCHING_NODES exception;
      PRAGMA EXCEPTION_INIT( NO_MATCHING_NODES , -64405 );
    
      V_XML_SCHEMA_PATH      VARCHAR2(700) := '/public/OTN/schemas/xsd/keytabs_V1.40.xsd';
      V_XML_SCHEMA           XMLType       := xdburitype(V_XML_SCHEMA_PATH).getXML();
      V_SCHEMA_LOCATION_HINT VARCHAR2(700) := 'keytabs_V1.40.xsd';
    begin
      begin
        DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XML_SCHEMA);
      exception
        when GENERIC_ERROR or NO_MATCHING_NODES then
          NULL;
        when OTHERS then
          RAISE;
      end;
    
      begin
        DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDom(V_XML_SCHEMA,FALSE);
      exception
        when GENERIC_ERROR or NO_MATCHING_NODES then
          NULL;
        when OTHERS then
          RAISE;
      end;
    
      DBMS_XMLSCHEMA.registerSchema
      (
        SCHEMAURL => V_SCHEMA_LOCATION_HINT
       ,SCHEMADOC => V_XML_SCHEMA
       ,LOCAL      => TRUE
       ,GENTYPES     => TRUE
       ,GENTABLES     => TRUE
       ,ENABLEHIERARCHY =>  DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
      );
    end;
    /
    declare
      GENERIC_ERROR exception;
      PRAGMA EXCEPTION_INIT( GENERIC_ERROR , -31061 );
    
      NO_MATCHING_NODES exception;
      PRAGMA EXCEPTION_INIT( NO_MATCHING_NODES , -64405 );
    
      V_XML_SCHEMA_PATH      VARCHAR2(700) := '/public/OTN/schemas/xsd/ehd_root_V1.40.xsd';
      V_XML_SCHEMA           XMLType       := xdburitype(V_XML_SCHEMA_PATH).getXML();
      V_SCHEMA_LOCATION_HINT VARCHAR2(700) := 'ehd_root_V1.40.xsd';
    begin
      begin
        DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XML_SCHEMA);
      exception
        when GENERIC_ERROR or NO_MATCHING_NODES then
          NULL;
        when OTHERS then
          RAISE;
      end;
    
      begin
        DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDom(V_XML_SCHEMA,FALSE);
      exception
        when GENERIC_ERROR or NO_MATCHING_NODES then
          NULL;
        when OTHERS then
          RAISE;
      end;
    
      -- DOM Fidelity enabled due to presence of mixed text, substitution group heads, or repeating choice structures in complex type defintion :-
    
      DBMS_XMLSCHEMA_ANNOTATE.enableMaintainDOM(V_XML_SCHEMA,'ehd_body_typ',TRUE);
    
      DBMS_XMLSCHEMA.registerSchema
      (
        SCHEMAURL => V_SCHEMA_LOCATION_HINT
       ,SCHEMADOC => V_XML_SCHEMA
       ,LOCAL      => TRUE
       ,GENTYPES     => TRUE
       ,GENTABLES     => TRUE
       ,ENABLEHIERARCHY =>  DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
      );
    end;
    /
    declare
      GENERIC_ERROR exception;
      PRAGMA EXCEPTION_INIT( GENERIC_ERROR , -31061 );
    
      NO_MATCHING_NODES exception;
      PRAGMA EXCEPTION_INIT( NO_MATCHING_NODES , -64405 );
    
      V_XML_SCHEMA_PATH      VARCHAR2(700) := '/public/OTN/schemas/xsd/vda_body_V1.2.xsd';
      V_XML_SCHEMA           XMLType       := xdburitype(V_XML_SCHEMA_PATH).getXML();
      V_SCHEMA_LOCATION_HINT VARCHAR2(700) := 'vda_body_V1.2.xsd';
    begin
      begin
        DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XML_SCHEMA);
      exception
        when GENERIC_ERROR or NO_MATCHING_NODES then
          NULL;
        when OTHERS then
          RAISE;
      end;
    
      begin
        DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDom(V_XML_SCHEMA,FALSE);
      exception
        when GENERIC_ERROR or NO_MATCHING_NODES then
          NULL;
        when OTHERS then
          RAISE;
      end;
    
      DBMS_XMLSCHEMA.registerSchema
      (
        SCHEMAURL => V_SCHEMA_LOCATION_HINT
       ,SCHEMADOC => V_XML_SCHEMA
       ,LOCAL      => TRUE
       ,GENTYPES     => TRUE
       ,GENTABLES     => TRUE
       ,ENABLEHIERARCHY =>  DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
      );
    end;
    /
    declare
      GENERIC_ERROR exception;
      PRAGMA EXCEPTION_INIT( GENERIC_ERROR , -31061 );
    
      NO_MATCHING_NODES exception;
      PRAGMA EXCEPTION_INIT( NO_MATCHING_NODES , -64405 );
    
      V_XML_SCHEMA_PATH      VARCHAR2(700) := '/public/OTN/schemas/xsd/vda_header_V1.2.xsd';
      V_XML_SCHEMA           XMLType       := xdburitype(V_XML_SCHEMA_PATH).getXML();
      V_SCHEMA_LOCATION_HINT VARCHAR2(700) := 'vda_header_V1.2.xsd';
    begin
      begin
        DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XML_SCHEMA);
      exception
        when GENERIC_ERROR or NO_MATCHING_NODES then
          NULL;
        when OTHERS then
          RAISE;
      end;
    
      begin
        DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDom(V_XML_SCHEMA,FALSE);
      exception
        when GENERIC_ERROR or NO_MATCHING_NODES then
          NULL;
        when OTHERS then
          RAISE;
      end;
    
      DBMS_XMLSCHEMA.registerSchema
      (
        SCHEMAURL => V_SCHEMA_LOCATION_HINT
       ,SCHEMADOC => V_XML_SCHEMA
       ,LOCAL      => TRUE
       ,GENTYPES     => TRUE
       ,GENTABLES     => TRUE
       ,ENABLEHIERARCHY =>  DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
      );
    end;
    /
    declare
      GENERIC_ERROR exception;
      PRAGMA EXCEPTION_INIT( GENERIC_ERROR , -31061 );
    
      NO_MATCHING_NODES exception;
      PRAGMA EXCEPTION_INIT( NO_MATCHING_NODES , -64405 );
    
      V_XML_SCHEMA_PATH      VARCHAR2(700) := '/public/OTN/schemas/xsd/vda_root_V1.2.xsd';
      V_XML_SCHEMA           XMLType       := xdburitype(V_XML_SCHEMA_PATH).getXML();
      V_SCHEMA_LOCATION_HINT VARCHAR2(700) := 'vda_root_V1.2.xsd';
    begin
      begin
        DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XML_SCHEMA);
      exception
        when GENERIC_ERROR or NO_MATCHING_NODES then
          NULL;
        when OTHERS then
          RAISE;
      end;
    
      begin
        DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDom(V_XML_SCHEMA,FALSE);
      exception
        when GENERIC_ERROR or NO_MATCHING_NODES then
          NULL;
        when OTHERS then
          RAISE;
      end;
    
      DBMS_XMLSCHEMA.registerSchema
      (
        SCHEMAURL => V_SCHEMA_LOCATION_HINT
       ,SCHEMADOC => V_XML_SCHEMA
       ,LOCAL      => TRUE
       ,GENTYPES     => TRUE
       ,GENTABLES     => TRUE
       ,ENABLEHIERARCHY =>  DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
      );
    end;
    /
    create table "EHD_TABLE" of XMLType
    XMLType store as object relational
    XMLSCHEMA "vda_root_V1.2.xsd" ELEMENT "ehd"
    /
    
  • Creating a table to a csv file

    I use the JDeveloper 11.1.1.6.

    I'm looking to recover data to a .csv file and load it into a custom table made just for the data in the file.

    I managed to load the csv file in a data control with a Service URL data control. I wonder how to take data from the data control and place it in a Java object so that I can make the dynamic creation of sql create statement table. I know how to do dynamic creation - it's just to access the data of the data control to which I am at this point.

    If there is a better way to do it, I would be also open to it! Thank you!

    Published by: Jim W. 26 September 2012 08:00

    I found this documentation. Is not myself. The documentation is newer than your version, so it may not work.

    http://docs.Oracle.com/CD/E24382_01/Web.1112/e16182/bcquerying.htm

    Stuart

  • Creating a new database with the file exporrt

    Hello


    I am to create a new database with an export file.


    I have the export file (exp) and the environment put in place (Oracle10g on UNIX)


    Can you gimme a few guidelines and this lines that I could probably face and again to correct.



    Kind regards.

    Hello..

    Aman has already given a link, to cross.

    Well, as you already have a new environment 10g put in place, create tablespaces and users, (accurate to the source database) with the script from the source database, and then import (imp) the export dump using fromuser touser parameter.

    Anand

  • creating the table target with ODI KM

    When I create a target using ODI table he put "around the domain name. How can I avoid this. I use the incremental update of the IKM Oracle. I tried to change create target table section, but it fails.

    Someone at - he found a work around that.

    ODI APIs used in the KMs service automatically add quotation marks around the name of column according to how you have them defined in the data model/store.
    If you have defined the lower case or mixed case, ODI will add citations.
    If they are uppercase, then ODI will not add quotes. So, make your fields in capital letters.

  • Problems with PDF files

    I use FrameMaker 8.0. When I create my PDF - either with the file save as or print it in PDF format works the file PDF complete random information is missing. I also get error messages when I open my document Framemaker that fonts are missing when they are absent... it might say not available substituting Frutiger Frutiger... I ignored these errors - could have something to do with the pdf does not finish correctly? (Note that the missing information of pdf files don't involve these fonts).

    The issue of missing text is a problem that has been fixed year last through a Microsoft Hotfix. (it affects other applications outside FM, too).

    Look here for more information:

    http://blogs.Adobe.com/TECHCOMM/2008/07/hotfix_for_framemaker_1.html

  • BPEL has problems of analysis with XSD attributes

    Hello

    When I create a BPEL process with XSD output below, everything works fine.

    + < xsd: element name = "WorkflowOutputData" > +.
    + < xsd: annotation > +.
    + < xsd: documentation > +.
    This element defines an element in XML output
    which is used by all services from BPEL workflow
    to send the output to the calling program
    + < / xsd: documentation > +.
    + < / xsd: annotation > +.

    + < xsd: complexType > +.
    + < xsd: SEQUENCE > +.
    + < xsd: element name = "Status" type = "xsd: String" minOccurs = "1" maxOccurs = "1" / > +.
    + < xsd: element name = "Errors" minOccurs = "0" maxOccurs = "1" > +.
    + < xsd: complexType > +.
    + < xsd: Sequence minOccurs = "0" maxOccurs = "unbounded" > +.
    + < xsd: element name = "Error" type = "Comment" / > +.
    + < / xsd: SEQUENCE > +.
    + < / xsd: complexType > +.
    + < / xsd: element > +.
    + < xsd: element name = "Warnings" minOccurs = "0" maxOccurs = "1" > +.
    + < xsd: complexType > +.
    + < xsd: Sequence minOccurs = "0" maxOccurs = "unbounded" > +.
    + < xsd: element name = "Warning" type = "Comment" / > +.
    + < / xsd: SEQUENCE > +.
    + < / xsd: complexType > +.
    + < / xsd: element > +.

    + < / xsd: SEQUENCE > +.
    + < / xsd: complexType > +.
    + < / xsd: element > +.

    + < xsd: complexType name = "LogMessage" > +.
    + < xsd: SEQUENCE > +.
    + < xsd: element name = "Code" type = "xsd: String" minOccurs = "1" maxOccurs = "1" / > +.
    + < xsd: element name = "Description" type = "xsd: String" minOccurs = "1" maxOccurs = "1" / > +.
    + < xsd: element name = "FlexField1" type = "xsd: String" / >.
    + < xsd: element name = "FlexField2" type = "xsd: String" / >.
    + < xsd: element name = "FlexField3" type = "xsd: String" / >.
    + < / xsd: SEQUENCE > +.
    + < / xsd: complexType > +.


    As soon as I add under the element heating approvers as described below in the process BPEL XSD output, I'm not able to test the BPEL processes in the BPEL console.
    Screen to "Launch an instance of test" in BPEL console only displays not any which form html or xml to enter data.

    + < xsd: element name = "WorkflowOutputData" > +.
    + < xsd: annotation > +.
    + < xsd: documentation > +.
    This element defines an element in XML output
    which is used by all services from BPEL workflow
    to send the output to the calling program
    + < / xsd: documentation > +.
    + < / xsd: annotation > +.

    + < xsd: complexType > +.
    + < xsd: SEQUENCE > +.
    + < xsd: element name = "Status" type = "xsd: String" minOccurs = "1" maxOccurs = "1" / > +.
    + < xsd: element name = "Errors" minOccurs = "0" maxOccurs = "1" > +.
    + < xsd: complexType > +.
    + < xsd: Sequence minOccurs = "0" maxOccurs = "unbounded" > +.
    + < xsd: element name = "Error" type = "Comment" / > +.
    + < / xsd: SEQUENCE > +.
    + < / xsd: complexType > +.
    + < / xsd: element > +.
    + < xsd: element name = "Warnings" minOccurs = "0" maxOccurs = "1" > +.
    + < xsd: complexType > +.
    + < xsd: Sequence minOccurs = "0" maxOccurs = "unbounded" > +.
    + < xsd: element name = "Warning" type = "Comment" / > +.
    + < / xsd: SEQUENCE > +.
    + < / xsd: complexType > +.
    + < / xsd: element > +.

    + < xsd: element name = "Approvers" minOccurs = "0" maxOccurs = "1" > +.
    + < xsd: complexType > +.
    + < xsd: Sequence maxOccurs = "unbounded" > +.
    + < xsd: element name = "Approver" type = "Actor" / > +.
    + < / xsd: SEQUENCE > +.
    + < / xsd: complexType > +.
    + < / xsd: element > +.
    + < / xsd: SEQUENCE > +.
    + < / xsd: complexType > +.
    + < / xsd: element > +.

    + < / xsd: SEQUENCE > +.
    + < / xsd: complexType > +.

    + < / xsd: element > +.

    + < xsd: complexType name = "LogMessage" > +.
    + < xsd: SEQUENCE > +.
    + < xsd: element name = "Code" type = "xsd: String" minOccurs = "1" maxOccurs = "1" / > +.
    + < xsd: element name = "Description" type = "xsd: String" minOccurs = "1" maxOccurs = "1" / > +.
    + < xsd: element name = "FlexField1" type = "xsd: String" / >.
    + < xsd: element name = "FlexField2" type = "xsd: String" / >.
    + < xsd: element name = "FlexField3" type = "xsd: String" / >.
    + < / xsd: SEQUENCE > +.
    + < / xsd: complexType > +.

    + < xsd: complexType name = "Player" > +.
    + < xsd: attribute name = "Name" / > +.
    + < xsd: attribute name = "Email" / > +.
    + < xsd: attribute name = "Name" / > +.
    + < xsd: attribute name = "ApprovalSequence" / >.
    + < xsd: attribute name = "FlexField1" / >.
    + < xsd: attribute name = "FlexField2" / >.
    + < xsd: attribute name = "FlexField3" / >.
    + < xsd: attribute name = "FlexField4" / >.
    + < xsd: attribute name = "FlexField5" / >.
    + < / xsd: complexType > +.

    (1) approvers element is added to the output xsd and not at the entrance to xsd.
    (2) I see a javascript error 'Object expected' iin "Launch a test instance" screen BPEL.
    (3) the new element of the approver only contains attributes.

    Could someone help me understand the issue with the XSD. Your help is very appreciated.

    Thanks and greetings
    Leena

    What is xsd valid, I would have thought













    see you soon
    James

  • Difference concerning the registration and does not not a XSD with xml files

    SQL > select * from v version $;

    BANNER

    --------------------------------------------------------------------------------
    Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE Production 11.1.0.7.0
    AMT for 64-bit Windows: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production

    --------------------------------------------------------------------------------

    With assistance from members of this forum, I was able to save a XSD successfully, save xml files in tables with xmltype columns and select data in xml files. For this, I am very grateful.

    Forgive me for not knowing this, but I can currently do these two things.

    1 save a XSD and create a table with an xmltype column based on the XSD. Insert the xml code in this table that corresponds to the xsd format.
    2. Insert an xml document in a table with an xmltype column without registering it of corresponding XSD and then select the data in this table too.

    Is there a performance advantage to save the XSD, the xml file is based on, when it comes to the insertion in the table or selection of data in the tables after insertion?

    The xml files, we insert could be anywhere from 1 MB to 500 MB + size beyond, since it depends on the amount of generated audit data. Is there a sweet spot as to how big or small, you would keep in mind the size of the xml files to avoid performance problems. If we do an audit in the future we would be inserting all of the xml files that are generated in a table and perform selects on this table. These data could last a day from the time wherever the system became operational at all.

    We want to avoid all over the head associated with XSD if only they affect performance.

    Thank you for your help in advance.

    Wally

    The xml files, we insert could be anywhere from 1 MB to 500 MB + size beyond, since it depends on the amount of generated audit data.

    Based on a schema XMLType (aka object-relational storage or a structure) is exactly what you need in this case.

    -When you save a diagram in the database, Oracle automatically creates a set of types of objects, collections, and tables that map XML to SQL data model structure.
    -When you insert an XML instance document in the table based on a schema, the XML content is then stored in the underlying relational structure.
    -When you run queries on the XMLType, for example using XQuery and XMLTable table, Oracle automatically rewrites the query in order to access the relational objects where the data resides. This process results in queries very effective whose performance compares queries on regular tables. The structure of the object-relational also supports the indexing.

    The documentation includes whole chapters on this topic:
    http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28369/xdb05sto.htm#g1070409
    http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28369/xdb_rewrite.htm#BABHJECG
    http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28369/xdb06stt.htm#BABGFCFG

  • Hi I have a problem of xml with xsd validation and insert into the table...

    I use this function to validate the XML with xsd, but it gives-31000 error related to xdb

    and I also try to recover data from the xml file, but it is fetching nullability of him.

    while I was trying to recover data after removing the tablenamespace, url and other additional field or can tell

    from a simple xml file than it is to get him.

    Please help me with this!

    FUNCTION to CREATE or REPLACE ALI$ XML_VALID (P_xml IN xmltype
    P_xsd IN xmltype)
    RETURN NUMBER
    is


    l_status NUMBER;
    l_xml xmltype.
    l_xsd XMLTYPE.
    l_v_schemaURL VARCHAR2 (256): = "NewBusinessApplication.xsd";
    schema_doesnt_exist exception;
    pragma exception_init (schema_doesnt_exist,-31000);

    BEGIN
    l_xsd: = p_xsd;
    Start
    DBMS_XMLSCHEMA.deleteSchema (l_v_schemaURL, dbms_xmlSchema.DELETE_CASCADE_FORCE);
    exception
    When schema_doesnt_exist then
    null;
    end;

    DBMS_XMLSCHEMA. REGISTERSCHEMA)

    schemaurl = > l_v_schemaURL

    , schemadoc = > l_xsd

    local = > TRUE

    , genTypes = > FALSE

    , genbean = > FALSE

    , genTables = > FALSE

    );
    l_xml: = p_xml;

    If l_xml.isSchemaValid () = 1 then

    dbms_output.put_line ("' scheme is valid");
    l_status: = 1;
    RETURN l_status;
    on the other
    l_xml.schemaValidate ();
    l_status: = 0;
    RETURN l_status;
    end if;
    END;

    -call to above function

    DECLARE

    l_xml xmltype: = xmltype (' <? xml version = "1.0" encoding = "UTF - 8"? >)

    "" < NewBusinessApplication xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance"

    "" xsi: schemaLocation = "http://www.example.org NewBusinessApplication.xsd.

    xmlns ="http://www.example.org" > ".

    < TransactionHeader >

    < TR_REF_NO > 000009812681 < / TR_REF_NO >

    < EFF_DT > 20140703094140.572 [-4:US / Eastern] < / EFF_DT >

    < SRC_SYS_CD dmnSRC_SYSTEM = "TSS" > Support of TV system < / SRC_SYS_CD >

    < / TransactionHeader >

    < ApplicationRq >

    < ApplInfo >

    < APPLNO > A00018L < / APPLNO >

    < MED_NONMED dmnMED_NONMED = "M" > medical < / MED_NONMED >

    < APPL_DT > 20140714 < / APPL_DT >

    < EFF_DT > 20140714 < / EFF_DT >

    < APPL_RECV_DT > 20140714 < / APPL_RECV_DT >

    < / ApplInfo >

    < AgentInfo >

    <! – repeat the nodes below for more than one agent - >

    <>Agent

    < AGT_CD > AGN0000001 < / AGT_CD >

    James < FIRSTNAME > < / NAME >

    < NAME > Whorphin < / LASTNAME >

    BKK1010090009 < AGT-LICNO > < / AGT-LICNO >

    the Warriors < TEAM > < / TEAM >

    Suriya Thapa < TEAMLEADER > < / TEAMLEADER >

    BKK909988999 < TEAMLEADER-LICNO > < / TEAMLEADER LICNO >

    < / agent >

    < / AgentInfo >

    < InsuredInfo >

    < dmnPERS_NAMEPREFIX PREFIX-TH = "XX" > Dr. < / PREFIX-TH >

    XXXXXXX < FIRSTNAME-TH > < / FIRSTNAME-TH >

    XXXXXX < MIDNAME-TH > < / MIDNAME-TH >

    XXXXXX < LASTNAME-TH > < / LASTNAME-TH >

    XXXXXX < FORMERNAME > < / FORMERNAME >

    < PREFIX-dmnPERS_NAMEPREFIX-EN = "XX" > Dr. < / PREFIX-EN >

    YYYYYY < FIRSTNAME-EN > < / FIRSTNAME-EN >

    YYYYYY < MIDNAME-EN > < / MIDNAME-FR >

    YYYYYY < LASTNAME-EN > < / LASTNAME-EN >

    < BIRTH_DT > 19800101 < / BIRTH_DT >

    < 33 YEARS > < / AGE >

    < dmnPERNSEXCD = "XX" SEX > male < / TYPE >

    < DmnPERC_MAR_STAT_CD MARITAL_STATUS = "XX" > single < / MARITAL_STATUS >

    < dmnRACE = "XX" RACE > ZZZ < / RACE >

    < dmnRELIGION RELIGION = "H" > HINDU < / RELIGION >

    < dmnNATIONALITY NATIONALITY = an' TH' > THAI < / NATIONALITY >

    < dmnIDTYPE ID-TYPE = "TI" > Thai National ID < / ID-TYPE >

    > ID < AJMPK0001J < / ID >

    < ID-XPIR_DT > 20200101 < / ID-XPIR_DT >

    < dmnOCCUP_CD OCCUPATION = "XX" / >

    < OCCUP_CLASS dmnOCCUP_CLASS_CD = 'XX' / >

    < ANNUAL_INCOME > 100000 < / ANNUAL_INCOME >

    < HEIGHT > 175 < / HEIGHT >

    < WEIGHT > 80 < / WEIGHT >

    < / InsuredInfo >

    < ProposerInfo >

    < dmnPERS_NAMEPREFIX PREFIX-TH = "XX" > Dr. < / PREFIX-TH >

    XXXXXXX < FIRSTNAME-TH > < / FIRSTNAME-TH >

    XXXXXX < MIDNAME-TH > < / MIDNAME-TH >

    XXXXXX < LASTNAME-TH > < / LASTNAME-TH >

    XXXXXX < FORMERNAME > < / FORMERNAME >

    < PREFIX-dmnPERS_NAMEPREFIX-EN = "XX" > Dr. < / PREFIX-EN >

    YYYYYY < FIRSTNAME-EN > < / FIRSTNAME-EN >

    YYYYYY < MIDNAME-EN > < / MIDNAME-FR >

    YYYYYY < LASTNAME-EN > < / LASTNAME-EN >

    < BIRTH_DT > 19800101 < / BIRTH_DT >

    < 33 YEARS > < / AGE >

    < dmnPERNSEXCD = "XX" SEX > male < / TYPE >

    < DmnPERC_MAR_STAT_CD MARITAL_STATUS = "XX" > single < / MARITAL_STATUS >

    < dmnRACE = "XX" RACE > ZZZ < / RACE >

    < dmnRELIGION RELIGION = "H" > HINDU < / RELIGION >

    < dmnNATIONALITY NATIONALITY = an' TH' > THAI < / NATIONALITY >

    < dmnIDTYPE ID_TYPE = "TI" > Thai National ID < / ID_TYPE >

    AJMPK0001J < ID_NUMBER > < / ID_NUMBER >

    < ID_XPIR_DT > 20200101 < / ID_XPIR_DT >

    < dmnOCCUP_CD OCCUPATION = "XX" / >

    < OCCUP_CLASS dmnOCCUP_CLASS_CD = 'XX' / >

    < ANNUAL_INCOME > 100000 < / ANNUAL_INCOME >

    < / ProposerInfo >

    < ContactInfo >

    < AddressInfo >

    <! – repeat the nodes below for each address type - >

    < address >

    < dmnADDR_ADDRTYPE ADDRTYPE = "01" > home < / ADDRTYPE >

    < PRIMARY_CONTACT > 0 < / PRIMARY_CONTACT >

    < / address >

    < address >

    < dmnADDR_ADDRTYPE ADDRTYPE "02" = > Office < / ADDRTYPE >

    < PRIMARY_CONTACT > 1 < / PRIMARY_CONTACT >

    < / address >

    < / AddressInfo >

    < PhoneInfo >

    <! – repeat the nodes below for each type of phone - >

    < Phone >

    < dmnADRP_PHONETYPE PHONETYPE "01" = > Mobile < / PHONETYPE >

    < PHONENUM > 9887666789 < / PHONENUM >

    < PRIMARY_CONTACT > 1 < / PRIMARY_CONTACT >

    < / Phone >

    < Phone >

    < dmnADRP_PHONETYPE PHONETYPE "02" = > home < / PHONETYPE >

    < PHONENUM > 9887666789 < / PHONENUM >

    < PRIMARY_CONTACT > 0 < / PRIMARY_CONTACT >

    < / Phone >

    < / PhoneInfo >

    < EmailInfo >

    <! – repeat the nodes below for each type of email - >

    < email >

    < EMAILTYPE dmnADRO_EMAILTYPE = "01" > e-mail1 < / EMAILTYPE >

    < EMAILDATA > [email protected] < / EMAILDATA >

    < PRIMARY_CONTACT > 0 < / PRIMARY_CONTACT >

    < / email >

    < email >

    < EMAILTYPE dmnADRO_EMAILTYPE "02" = > Email2 < / EMAILTYPE >

    < EMAILDATA > [email protected] < / EMAILDATA >

    < PRIMARY_CONTACT > 1 < / PRIMARY_CONTACT >

    < / email >

    < / EmailInfo >

    < / ContactInfo >

    < PolicyInfo >

    STG102 < BASE-PLAN_CD > < / BASE-PLAN_CD >

    < BASE-PLAN_NM > Smart term 10 gold < / BASE-PLAN_NM >

    < MODEOFPAYMENT dmnZZFREQUENCY = "M" > monthly < / MODEOFPAYMENT >

    < BASE - ITS > 100000.00 < / BASE - SA >

    < BASE-PREMIUM > 12000.00 < / BASE-PREMIUM >

    < BASE-MODALPREMIUM > 1000.00 < / BASE-MODALPREMIUM >

    < AYFP > 13200.00 < / AYFP >

    < RiderInfo >

    < rider >

    RIDER < CODE > ME < / RIDER-CODE >

    Medical costs < RIDER-NAME > < / RIDER-NAME >

    < RIDER - HIS 20000.00 > < / RIDER - SA >

    < RIDER-PREMIUM > 600.00 < / RIDER-PREMIUM >

    < RIDER-MODALPREMIUM > 50.00 < / RIDER-MODALPREMIUM >

    < / rider >

    < rider >

    RIDER HAB < CODE > < / RIDER-CODE >

    < NAME-RIDER > Admission hospitalization < / RIDER-NAME >

    < RIDER - HIS 20000.00 > < / RIDER - SA >

    < RIDER-PREMIUM > 600.00 < / RIDER-PREMIUM >

    < RIDER-MODALPREMIUM > 50.00 < / RIDER-MODALPREMIUM >

    < / rider >

    < / RiderInfo >

    < / PolicyInfo >

    < PaymentInfo >

    < borde >

    < TMP_RECEIPT_NO > TEMP0001 < / TMP_RECEIPT_NO >

    < TOTAL_PYMT_AMT > 13200.00 < / TOTAL_PYMT_AMT >

    <! – repeat the nodes below for payment through several channels - >

    < payment >

    < dmnPAYRTYPE PAYER "01" = > secured < / PAYER >

    credit card < dmnPaymentType PYMT TYPE = "01" > < / PYMT-TYPE >

    < PYMT-AMT > 13200.00 < / PYMT-AMT >

    < PYMT-Channel >

    credit <>card

    Visa < dmnCardType CARD-TYPE = "01" > < / CARD-TYPE >

    < BADGE - N ° > 9890989098909877 < / CARD-NOT >

    < HOLDERNAME-CARD > RICKY WHORPHIN < / CARD-HOLDERNAME >

    < BANKNM-CARD > Standard Chartered Bank < / MAP-BANKNM >

    < MAP SHOWED > 08/14 < / CARD-SHOW >

    < MAP-AUTHCODE / >

    < CARD-AUTHDATE / >

    < / credit card >

    < / PYMT-Channel >

    < / payment >

    < payment >

    < dmnPAYRTYPE PAYER "01" = > secured < / PAYER >

    < dmnPaymentType PYMT-TYPE = '02' > account < / PYMT-TYPE >

    < PYMT-AMT > 13200.00 < / PYMT-AMT >

    < PYMT-Channel >

    < Bank >

    < BANK CODE / >

    < BANK BRANCH / >

    < BANK-ACCNO / >

    < BANK-ACCNAME / >

    < / Bank >

    < / PYMT-Channel >

    < / payment >

    < payment >

    < dmnPAYRTYPE PAYER "01" = > secured < / PAYER >

    < dmnPaymentType PYMT TYPE = "03" > check < / PYMT-TYPE >

    < PYMT-AMT > 13200.00 < / PYMT-AMT >

    < PYMT-Channel >

    < check >

    < CHQ - n / >

    < CHQ-DATE / >

    < CHQ-ISSUEBANK / >

    < / cheque >

    < / PYMT-Channel >

    < / payment >

    < / shell >

    < RenewalPayment >

    < dmnPAYRTYPE PAYER "01" = > secured < / PAYER >

    < DDCHANNEL dmnPaymentType "01" = > SDC < / DDCHANNEL >

    < DDCDetails >

    Visa < dmnCardType CARD-TYPE = "01" > < / CARD-TYPE >

    < BADGE - N ° > 9890989098909877 < / CARD-NOT >

    < HOLDERNAME-CARD > RICKY WHORPHIN < / CARD-HOLDERNAME >

    < BANKNM-CARD > Standard Chartered Bank < / MAP-BANKNM >

    < MAP SHOWED > 08/14 < / CARD-SHOW >

    < / DDCDetails >

    < DDADetails >

    < dmnBNK_TYP_CD BANK-ACCTYPE = "01" > save < / BANK-ACCTYPE >

    < BANK-ACCNO / >

    < BANK-ACCNAME / >

    < BANK BRANCH / >

    < / DDADetails >

    < / RenewalPayment >

    < / PaymentInfo >

    < BeneficiaryInfo >

    <!--repeat the nodes below for each beneficiary and the sum of the pct should be 100-->

    < recipient >

    Joint < dmnBENE_RELT_CD RELATIONSHIP = "01" > < / RELATIONSHIP >

    XXXX < FIRSTNAME > < / NAME >

    XXXXX < MIDNAME > < / MIDNAME >

    XXXX < NAME > < / LASTNAME >

    < PERCENT > 50 < / PERCENTAGE >

    < BIRTH_DT > 19800101 < / BIRTH_DT >

    < dmnPERNSEXCD SEX = "XX" > female < / TYPE >

    < NATLIDNO > TH000001 < / NATLIDNO >

    < / recipients >

    < recipient >

    < dmnBENE_RELT_CD RELATIONSHIP "02" = > child < / RELATIONSHIP >

    XXXX < FIRSTNAME > < / NAME >

    XXXXX < MIDNAME > < / MIDNAME >

    XXXX < NAME > < / LASTNAME >

    < PERCENT > 50 < / PERCENTAGE >

    < BIRTH_DT > 19800101 < / BIRTH_DT >

    < dmnPERNSEXCD = "XX" SEX > male < / TYPE >

    < NATLIDNO > TH000002 < / NATLIDNO >

    < / recipients >

    < / BeneficiaryInfo >

    < survey >

    < HealthDeclaration >

    < question >

    Q001 < QUESTION_ID > < / QUESTION_ID >

    < dmnZZYESNO_NUM RESPONSE = "N" > n < / ANSWER >

    < / question >

    < question >

    Q002 < QUESTION_ID > < / QUESTION_ID >

    < dmnZZYESNO_NUM RESPONSE = "N" > n < / ANSWER >

    < / question >

    < question >

    Q003 < QUESTION_ID > < / QUESTION_ID >

    < dmnZZYESNO_NUM RESPONSE = "N" > n < / ANSWER >

    < / question >

    < question >

    Q004 < QUESTION_ID > < / QUESTION_ID >

    < dmnZZYESNO_NUM RESPONSE = "N" > n < / ANSWER >

    < / question >

    < question >

    Q005 < QUESTION_ID > < / QUESTION_ID >

    < dmnZZYESNO_NUM RESPONSE = "N" > n < / ANSWER >

    < / question >

    < / HealthDeclaration >

    < / questionnaire >

    < / ApplicationRq >

    < ApplicationRs >

    <-reason for the rejection / >

    < / ApplicationRs >

    < / NewBusinessApplication >

    ');

    l_xsd xmltype: = xmltype (' <? xml version = "1.0" encoding = "windows-1252"? >)

    "< xsd: Schema container ="http://www.w3.org/2001/XMLSchema"xmlns ="http://www.example.org"

    targetNamespace ="http://www.example.org" elementFormDefault = "qualified" > "

    < xsd: element name = "NewBusinessApplication" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "TransactionHeader" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "TR_REF_NO" type = "xsd: Integer" / >

    < xsd: element name = "EFF_DT" type = "xsd: String" / >

    < xsd: element name = "SRC_SYS_CD" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnSRC_SYSTEM" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "ApplicationRq" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "ApplInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "APPLNO" type = "xsd: String" / >

    < xsd: element name = "MED_NONMED" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnMED_NONMED" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "APPL_DT" type = "xsd: Integer" / >

    < xsd: element name = "EFF_DT" type = "xsd: Integer" / >

    < xsd: element name = "APPL_RECV_DT" type = "xsd: Integer" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "AgentInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "The Agent" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "AGT_CD" type = "xsd: String" / >

    < xsd: element name = "FIRSTNAME" type = "xsd: String" / >

    < xsd: element name = "NAME" type = "xsd: String" / >

    < xsd: element name = "AGT-LICNO" type = "xsd: String" / >

    < xsd: element name = "TEAM" type = "xsd: String" / >

    < xsd: element name = "TEAMLEADER" type = "xsd: String" / >

    < xsd: element name = "TEAMLEADER-LICNO" type = "xsd: String" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "InsuredInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = 'PREFIX-TH' >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPERS_NAMEPREFIX" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "NAME-TH" type = "xsd: String" / >

    < xsd: element name = "MIDNAME-TH" type = "xsd: String" / >

    < xsd: element name = "LASTNAME-TH" type = "xsd: String" / >

    < xsd: element name = "FORMERNAME" type = "xsd: String" / >

    < xsd: element name = "PREFIX-FR" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPERS_NAMEPREFIX-EN" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "NAME-IN" type = "xsd: String" / >

    < xsd: element name = "MIDNAME-EN" type = "xsd: String" / >

    < xsd: element name = "LASTNAME-IN" type = "xsd: String" / >

    < xsd: element name = "BIRTH_DT" type = "xsd: Integer" / >

    < xsd: element name = "ÂGE" type = "xsd: Integer" / >

    < xsd: element name = "GENDER" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPERNSEXCD" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "MARITAL_STATUS" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPERC_MAR_STAT_CD" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "RACE" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnRACE" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "RELIGION" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnRELIGION" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "NATIONALITY" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnNATIONALITY" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "ID-TYPE" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnIDTYPE" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "ID" type = "xsd: String" / >

    < xsd: element name = "ID-XPIR_DT" type = "xsd: Integer" / >

    < xsd: element name = "OCCUPATION" >

    < xsd: complexType >

    < xsd: attribute name = "dmnOCCUP_CD" type = "xsd: String" / >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "OCCUP_CLASS" >

    < xsd: complexType >

    < xsd: attribute name = "dmnOCCUP_CLASS_CD" type = "xsd: String" / >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "ANNUAL_INCOME" type = "xsd: Integer" / >

    < xsd: element name = "HEIGHT" type = "xsd: Integer" / >

    < xsd: element name = "WEIGHT" type = "xsd: Integer" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "ProposerInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = 'PREFIX-TH' >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPERS_NAMEPREFIX" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "NAME-TH" type = "xsd: String" / >

    < xsd: element name = "MIDNAME-TH" type = "xsd: String" / >

    < xsd: element name = "LASTNAME-TH" type = "xsd: String" / >

    < xsd: element name = "FORMERNAME" type = "xsd: String" / >

    < xsd: element name = "PREFIX-FR" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPERS_NAMEPREFIX-EN" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "NAME-IN" type = "xsd: String" / >

    < xsd: element name = "MIDNAME-EN" type = "xsd: String" / >

    < xsd: element name = "LASTNAME-IN" type = "xsd: String" / >

    < xsd: element name = "BIRTH_DT" type = "xsd: Integer" / >

    < xsd: element name = "ÂGE" type = "xsd: Integer" / >

    < xsd: element name = "GENDER" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPERNSEXCD" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "MARITAL_STATUS" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPERC_MAR_STAT_CD" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "RACE" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnRACE" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "RELIGION" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnRELIGION" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "NATIONALITY" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnNATIONALITY" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "ID_TYPE" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnIDTYPE" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "ID_NUMBER" type = "xsd: String" / >

    < xsd: element name = "ID_XPIR_DT" type = "xsd: Integer" / >

    < xsd: element name = "OCCUPATION" >

    < xsd: complexType >

    < xsd: attribute name = "dmnOCCUP_CD" type = "xsd: String" / >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "OCCUP_CLASS" >

    < xsd: complexType >

    < xsd: attribute name = "dmnOCCUP_CLASS_CD" type = "xsd: String" / >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "ANNUAL_INCOME" type = "xsd: Integer" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "ContactInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "AddressInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "Address" maxOccurs = "unbounded" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "ADDRTYPE" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnADDR_ADDRTYPE" type = "xsd: Integer" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "PRIMARY_CONTACT" type = "xsd: Integer" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "PhoneInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "Phone" maxOccurs = "unbounded" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "PHONETYPE" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnADRP_PHONETYPE" type = "xsd: Integer" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "PHONENUM" type = "xsd: Integer" / >

    < xsd: element name = "PRIMARY_CONTACT" type = "xsd: Integer" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "EmailInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "Email" maxOccurs = "unbounded" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "EMAILTYPE" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnADRO_EMAILTYPE" type = "xsd: Integer" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "EMAILDATA" type = "xsd: String" / >

    < xsd: element name = "PRIMARY_CONTACT" type = "xsd: Integer" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "PolicyInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "BASE-PLAN_CD" type = "xsd: String" / >

    < xsd: element name = "BASE-PLAN_NM" type = "xsd: String" / >

    < xsd: element name = "MODEOFPAYMENT" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnZZFREQUENCY" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "BASE - SA" type = "xsd: float" / >

    < xsd: element name = "BASE-PREMIUM" type = "xsd: float" / >

    < xsd: element name = "BASE-MODALPREMIUM" type = "xsd: float" / >

    < xsd: element name = "AYFP" type = "xsd: float" / >

    < xsd: element name = "RiderInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "Rider" maxOccurs = "unbounded" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "RIDER-CODE" type = "xsd: String" / >

    < xsd: element name = "RIDER-NAME" type = "xsd: String" / >

    < xsd: element name = "RIDER - SA" type = "xsd: float" / >

    < xsd: element name = "RIDER-PREMIUM" type = "xsd: float" / >

    < xsd: element name = "RIDER-MODALPREMIUM" type = "xsd: float" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "PaymentInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "Bordered" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "TMP_RECEIPT_NO" type = "xsd: String" / >

    < xsd: element name = "TOTAL_PYMT_AMT" type = "xsd: float" / >

    < xsd: element name = "Payment" maxOccurs = "unbounded" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "PAYER" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPAYRTYPE" type = "xsd: Integer" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "TYPE PYMT" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPaymentType" type = "xsd: Integer" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "PYMT-AMT" type = "xsd: float" / >

    < xsd: element name = "PYMT-Channel" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "CreditCard" minOccurs = "0" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "CARD TYPE" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnCardType" type = "xsd: Integer" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "CARD-NO" type = "xsd: Integer" / >

    < xsd: element name = "CARD-HOLDERNAME" type = "xsd: String" / >

    < xsd: element name = "CARD-BANKNM" type = "xsd: String" / >

    < xsd: element name = "CARD-DISPLAYED" type = "xsd: String" / >

    < xsd: element name = "CARD-AUTHCODE" / >

    < xsd: element name = "CARD-AUTHDATE" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "Bank" minOccurs = "0" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "BANK CODE" / >

    < xsd: element name = "BANK-BRANCH" / >

    < xsd: element name = "BANK-ACCNO" / >

    < xsd: element name = "BANK-ACCNAME" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "Cheque" minOccurs = "0" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "CHQ - NO" / >

    < xsd: element name = "CHQ-DATE" / >

    < xsd: element name = "CHQ-ISSUEBANK" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "RenewalPayment" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "PAYER" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPAYRTYPE" type = "xsd: Integer" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "DDCHANNEL" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPaymentType" type = "xsd: Integer" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "DDCDetails" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "CARD TYPE" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnCardType" type = "xsd: Integer" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "CARD-NO" type = "xsd: Integer" / >

    < xsd: element name = "CARD-HOLDERNAME" type = "xsd: String" / >

    < xsd: element name = "CARD-BANKNM" type = "xsd: String" / >

    < xsd: element name = "CARD-DISPLAYED" type = "xsd: String" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "DDADetails" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "BANK-ACCTYPE" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnBNK_TYP_CD" type = "xsd: Integer" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "BANK-ACCNO" / >

    < xsd: element name = "BANK-ACCNAME" / >

    < xsd: element name = "BANK-BRANCH" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "BeneficiaryInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "Recipient" maxOccurs = "unbounded" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "RELATIONSHIP" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnBENE_RELT_CD" type = "xsd: Integer" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "FIRSTNAME" type = "xsd: String" / >

    < xsd: element name = "MIDNAME" type = "xsd: String" / >

    < xsd: element name = "NAME" type = "xsd: String" / >

    < xsd: element name = "PERCENTAGE" type = "xsd: Integer" / >

    < xsd: element name = "BIRTH_DT" type = "xsd: Integer" / >

    < xsd: element name = "GENDER" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPERNSEXCD" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "NATLIDNO" type = "xsd: String" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "Questionnaire" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "HealthDeclaration" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "Issue" maxOccurs = "unbounded" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "QUESTION_ID" type = "xsd: String" / >

    < xsd: element name = "ANSWER" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnZZYESNO_NUM" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "ApplicationRs" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "Reason for rejection" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < xsd: attribute name = "xsi" type = "xsd: String" / >

    < xsd: attribute name = "schemaLocation" type = "xsd: String" / >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: Schema >

    ');

    BEGIN

    dbms_output.put_line (Ali$ XML_VALID (l_xml, l_xsd));

    END;

    and please do not confused, you don't need to answer if I do not any sense.

    BUT I STILL HAVE ONE LAST QUESTION

    do you know how to use namespaces in the exctractvalue().

    I'm not "troubled", just frustrated that you don't seem to understand what I've explained so far.

    Why do you insist on the use of extractvalue? Don't use extractvalue, it is deprecated, use XMLTABLE instead.

    If you feel compelled to use extractvalue of certain grounds, just the curiosity to seek it in the documentation, you can find the syntax to use the namespaces:

    http://docs.Oracle.com/CD/E11882_01/server.112/e41084/functions061.htm#SQLRF06173

    in your last code, you first insert the XML and extract data from it. I can do it too, but it's not my requirement. I'm supposed to read the first xml (if it is valid) as I do in my code using the table function and make the continuation of the procedure.

    Look, I'll ask you one last time:

    What problem are you having? What prevents you from first reading, certain values before inserting, as you need. Just use the same query XMLTABLE that I showed in my example, except you will not query the table, but directly from the XMLType variable:

    PASSAGE v_xml

    COLUMNS...

  • Creating a new controlfile with RMAN backup data files

    Hello

    I use oracle 10g (10.2.0.1) in RHEL5 server. I am trying to restore a RMAN backup from one server to another server again with the new name of the comic. I took on the RMAN backup spfile and created her pfile and edited the file pfile with new dbname and directory structure and launched the db in nomount with new pfile. Today I restored the backup controfile RMAN has tried to put the database in State of Mount. But it failed due to the error below

    RMAN-03002: failure of alter db command at 21:44:56 05/11/2012
    ORA-01103: name "ORADB" in the control of the database file is not 'DEVDB '.

    So I stop the database and started the db in nomount with new pfile and tried to create the controlfile with new db name, but he didn't like it is looking for the data files.

    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in file identification
    ' / u01/app/oracle/oradata/DEVDB/datafile/o1_mf_system_80jq0kfw_.dbf'
    ORA-27037: unable to get file status
    Linux error: 2: no such file or directory
    Additional information: 3

    All my data files in my RMAN backup. How to get the data files of RMAN backup in the above scenario?

    Kind regards
    007

    restaurer restore as ORADB, then rename the database with DBNEWID
    http://docs.Oracle.com/CD/B19306_01/server.102/b14215/dbnewid.htm

    or use duplicate instead of restore

  • How to create the table with value list/map binding

    I need to display some values in a tabular format. It is possible to create a table adf without having value binds to a VO object. I can make a table with a combination of list/map.

    I want to change the format of display with minimum change in the application. I therefore seeks a change to a list/map and map with the table.

    Here is the structure in that I need to post.

    _______________________
    |     | Header1. Tete2 |
    |_______|_______|_______|
    | Txt R1 | value 1. Value 2.
    |_______|_______|_______|
    | Txt R2 | Value 3. value 4.
    |_______|_______|_______|

    All views is completely irrelevant. So I should not create a VO and add the VO object lines.

    Published by: yannick June 10, 2011 11:34

    Yes, you can do it. Create a pojo with properties (column) that you want to display in the table and create a list of instances of the POJO and then you can fill your table using the list.

    Sample:

    //POJO
    public class SamplePojo {
    
    private String col1;
    private String col2;
    
    public SamplePojo(String col1, String col2){
      this.col1 = col1;
      this.col2 = col2;
    }
    
    //add setter and getter methods
    }
    
    //Inside bean, prepare a list with pojo instances (Assume a getter exists for pojoList)
    pojoList = new ArrayList();
    pojoList .add(new SamplePojo("Value1", "Value2");
    pojoList .add(new SamplePojo("Value3", "Value4");
    etc.
    
    //Inside jspx
    
       
         
       
       
         
       
    
    

    HTH
    Jean Lou

  • Stored procedure to create the table .csv file

    Hi all
    I have a table with 4 columns and 10 rows. Now I need a stored procedure to create a file .csv from the data in the table. Here the script to create a table and insert the line.

    Create table emp (emp_id number (10), emp_name varchar2 (20), Department varchar2 (20), number (10)) of salary;

    Insert into emp values ('1', 'AAAAA', '' SALES, 10000');
    Insert into emp values ('2', 'BATH', 'MARKETING', '8000');
    Insert into emp values ('3', 'CCCCC', '' SALES, 12000');
    Insert into emp values ('4', 'JAMES', 'FINANCE', '10000');
    Insert into emp values ('5', 'EEEEE', '' SALES, 11000');
    Insert into emp values ('6', 'FIRE', 'MANAGER', '90000');
    Insert into emp values ('7', 'GEORGE', '' SALES, 12000');
    Insert into emp values ('8', 'HAROLD', 'FINANCE', '14000');
    Insert into emp values ('9', 'IIIII', '' SALES, 20000');
    Insert into emp values ('10', 'GG', 'FINANCE', '21000');
    commit;

    Now I need a stored procedure to create a .csv file in my local location. Please let me know if you need more details...

    A few tips:
    http://www.Oracle-base.com/articles/9i/GeneratingCSVFiles.php
    http://tkyte.blogspot.com/2009/10/httpasktomoraclecomtkyteflat.html
    also, doing a search on this forum or http://asktom.oracle.com will give you many clues.

    in my local location .csv file.

    What is your "local position"?
    A client machine? The database server machine?
    Which version of the database you use?
    (the result of: select * version of $ v ;))

  • How can I open and manipulate files (convert?) a database created on a PC with Corel Paradox 9 on my iMac?

    Hello again once, someone can tell me how I can open and manipulate (convert to Excel?) a database file created on a PC with 9 of paradox to Corel on my iMac?  The answer would be as simple as buying the paradox for Mac?  I don't even know if Paradox is offered for an environment of Apple but if so that could be the way for me to go there, otherwise, I guess that the only other way to use the database would be to convert it to Excel.  Thank you.

    Tony

    Try to export the program PC CSV file or a tab-delimited text files. Both can be imported into Excel and other DB programs. I don't know what kind of Paradox file format uses, but you can try its importation to the module of data in Free agency. It's a free app.

  • 5.6.1 pages: How to create a table with more than 999 lines?

    5.6.1 pages: How to create a table with more than 999 lines?

    The table on Pages v5.6.1 line selector is limited 3-digit, as it is in Pages ' 09 v4.3. Either use LibreOffice Writer, who does not have any constraint line on processing tables 3-digit, or any application spreadsheet for top 3-digit row needs.

  • SMTP E-mail with attachment file - table error

    Hi, I am trying to send an e-mail with an attached file. The file I want to include is generated by the function "write into the file of measure" with a file specified by the user to input path. When I try to connect the path to the file in VI of attachments SMTP, I get an error saying that the source is a path, but the sink is looking for a 1 d of the pathnames table. Is it possible to convert the path to the original file in a table of paths, or another method to attach the file?

    I also tried using the old "SMTP send Email with attachments" feature by converting the path of the file in a string, and takes as the path of attachment, but he also didn't work.

    Thank you!

    With the help of the tool table of generation in the tables menu should do exactly what you are looking for.

Maybe you are looking for

  • The menu AND the bookmarks have disappeared

    The menu and all the Favorites have disappeared from my screen. 'Show the bookmarks toolbar' is checked, and bookmarks are listed, but not on my screen. And no menu item (file, publishing, display, etc.). Fixing these articles are overwhelming.

  • I can't get more than 3 "To" fields and need more - help!

    If I want to send an email I get only 3 "to:" fields before entering the title field. Because I can not type in more than one name in each field, how can I send the email recipients a dozen (without going through the address book for each of them, wh

  • What are the details of the 3-year warranty on Tecra?

    What are the details of the 3-year warranty for computer Tecra laptop w/r bad pixels? Toshiba gives no kind of guarantee of "zero pixel wrong" even for a limited period?

  • full screen with voice message message

    The message says to call the 1-855-244-7750 immediately to check any activity suspicious.  They want $99 to check - I was browsing, nothing downloaded - I want to be happy something Apple catches the clerk on the phone said that they are not Apple, s

  • Printer suddenly blanks. Help! URGENT

    My Canon MG5420 is printing blanks of wifi and when I use the USB port. I checked ink levels and even run devuce interview on ink.  Everything is fine, but everything I print everything produces a vertical blue line and NO type/etc...