shred this XML

It is the first xml file on what ive worked.  I need to analyze in a RDBMS table.   Ive got close enough, but can't do look like I want it.

It comes to me as a space of names with headers and nested nodes.   Its a file of the financial base.   On the same node, Ive got money and documents.  I want the money to go out on the same line as each record.  I can loop around the knot, but with 2 folders like for example the closest, I can get there is out a Cartesian with 2 loops of iteration or something like the following

currencyA, null, null, null, null

NULL, data, data, data, data

NULL, data, data, data, data

currencyB, null, null, null, null

NULL, data, data, data, data

NULL, data, data, data, data

what I really want

currencyA, data, data, data, data

currencyA, data, data, data, data

currencyB, data, data, data, data

currencyB, data, data, data, data

I would like some info from data in header on each line as well as the rundate, but it's ok to get.

This is the code Ive got so far, might have to be changed but I think his family, unless he has to be completely rewritten to attack another way


select
cur.*
from table_with_xml_column xmlt,
   xmltable(
            XMLNAMESPACES (DEFAULT 'http://www.currency.com'),
            'for $i in /cb065/cb065Grp/cb065Grp1
              for $k in $i/cb065Grp2/cb065KeyGrp2
                return element local:r{
                                    $k/currTypCod,
                                    $j/prodTypId,
                                    $j/prodId,
                                    $j/trdFctr,
                                    $j/txnCnt,
                                    $j/txnLim,
                                    $j/flrLimflg                                   
                                    }'
            PASSING   xmlt.xml_document
            COLUMNS
                     currTypCod      VARCHAR2(30)  PATH 'currTypCod',
                     prodTypId       VARCHAR2(30)  PATH 'prodTypId',
                     prodId          VARCHAR2(30)  PATH 'prodId'  ,                                       
                     trdFctr         VARCHAR2(30)  PATH 'trdFctr' ,                   
                     txnCnt          VARCHAR2(30)  PATH 'txnCnt'  ,                  
                     txnLim          VARCHAR2(30)  PATH 'txnLim'                     
                       ) cur
                       order by currtypcod


and this is the xml that I've inserted into a table, a person may be able to put this straight line in a sql table to test.

<?xml version="1.0" encoding="UTF-8"?>
<cb065 xmlns="http://www.currency.com">
  <rptHdr>
    <exchNam>source</exchNam>
    <envText>R</envText>
    <rptCod>xt065</rptCod>
    <rptNam>System</rptNam>
    <membLglNam>beez ltd</membLglNam>
    <rptPrntEffDat>2013-06-14</rptPrntEffDat>
    <rptPrntRunDat>2013-06-14</rptPrntRunDat>
  </rptHdr>
  <cb065Grp>
    <cb065KeyGrp>
      <membClgIdCod>Memberclearing</membClgIdCod>
    </cb065KeyGrp>
    <cb065Grp1>
      <cb065KeyGrp1>
        <membExchIdCod>BeezDB</membExchIdCod>
      </cb065KeyGrp1>
      <cb065Grp2>
        <cb065KeyGrp2>
          <currTypCod>CHF</currTypCod>
        </cb065KeyGrp2>
        <cb065Rec>
          <prodTypId>testa</prodTypId>
          <prodId>Testb</prodId>
          <trdFctr>6</trdFctr>
          <txnCnt>1</txnCnt>
          <txnLim>200000</txnLim>
          <flrLimFlg>B</flrLimFlg>
        </cb065Rec>
        <cb065Rec>
          <prodTypId>Testa</prodTypId>
          <prodId>testb</prodId>
          <trdCnt>+34</trdCnt>
          <trdFctr>6</trdFctr>
          <txnCnt>3</txnCnt>
          <txnLim>200000</txnLim>
          <flrLimFlg>b</flrLimFlg>
        </cb065Rec>
      </cb065Grp2>
      <cb065Grp2>
        <cb065KeyGrp2>
          <currTypCod>EUR</currTypCod>
        </cb065KeyGrp2>
        <cb065Rec>
          <prodTypId>Testx</prodTypId>
          <prodId>Testy</prodId>
          <trdFctr>0</trdFctr>
          <txnCnt>2</txnCnt>
          <txnLim>110000</txnLim>
          <flrLimFlg>R</flrLimFlg>
        </cb065Rec>
        <cb065Rec>
          <prodTypId>Testx</prodTypId>
          <prodId>Testy</prodId>
          <trdFctr>0</trdFctr>
          <txnCnt>2</txnCnt>
          <txnLim>110000</txnLim>
          <flrLimFlg>R</flrLimFlg>
        </cb065Rec>
      </cb065Grp2>
    </cb065Grp1>
  </cb065Grp>
</cb065>

Here is something which is very close to what you need.  You will need to adjust the list of columns to get the exact columns you need, but I just went easy, you can see what happened.

select
 xt1.*,
 xt2.*,
 xt3.*,
 xt4.*
 from table_with_xml_column xmlt,
      XMLTable(XMLNAMESPACES (DEFAULT 'http://www.currency.com'),
               '/cb065'
               PASSING   xmlt.xml_document
               COLUMNS
               exchNam         VARCHAR2(10)  PATH 'rptHdr/exchNam',
               rptNam          VARCHAR2(15)  PATH 'rptHdr/rptNam',
               rptPrntEffDat   DATE          PATH 'rptHdr/rptPrntEffDat',
               group_xml       XMLTYPE       PATH 'cb065Grp'
               ) xt1,
      XMLTable(XMLNAMESPACES (DEFAULT 'http://www.currency.com'),
               '/cb065Grp'
               PASSING   xt1.group_xml
               COLUMNS
               membClgIdCod    VARCHAR2(15)  PATH 'cb065KeyGrp/membClgIdCod',
               cb065Grp2_xml   XMLTYPE       PATH 'cb065Grp1/cb065Grp2'
               ) xt2,
      XMLTable(XMLNAMESPACES (DEFAULT 'http://www.currency.com'),
               '/cb065Grp2'
               PASSING   xt2.cb065Grp2_xml
               COLUMNS
               currTypCod      VARCHAR2(15)  PATH 'cb065KeyGrp2/currTypCod',
               cb065_xml       XMLTYPE       PATH 'cb065Rec'
               ) xt3,
      XMLTable(XMLNAMESPACES (DEFAULT 'http://www.currency.com'),
               '/cb065Rec'
               PASSING   xt3.cb065_xml
               COLUMNS
               prodTypId       VARCHAR2(30)  PATH 'prodTypId',
               prodId          VARCHAR2(30)  PATH 'prodId'  ,
               trdFctr         VARCHAR2(30)  PATH 'trdFctr' ,
               txnCnt          VARCHAR2(30)  PATH 'txnCnt'  ,
               txnLim          VARCHAR2(30)  PATH 'txnLim'
               ) xt4;

Consider this extended version of a single XQuery statement with four nested for loops.  To begin, I find this method easier to understand as you can see what XML you are faced with intermediate steps and determine where the problem lies when debugging multiple XMLTable.  As I said, this could be rewritten as a single XQuery statement, but I'll leave that to you if you need.

Tags: Database

Similar Questions

  • Charger xml with sql loader in an xmltype table and show that contain it this XML table

    Hello

    I have a xml document and I want to load in an xmltype table.

    create table foo as xmltype;


    the control file is:


    LOAD DATA
    INFILE
    *
    INTO TABLE foo
    TRUNCATE
    XMLType(XMLDATA)(
    lobfn FILLER CHAR TERMINATED BY
    ',',
    XMLDATA LOBFILE
    (lobfn) TERMINATED BY EOF
    )
    BEGINDATA
    C
    :\Users\xxx\Desktop\file.xml


    now, I want to show the content of the xml file that is loaded at the time of table. How do you?


    select * from foo;   ??


    but this does not show the content of this xml file, but only total, this xml code.



    Thank you

    Hello

    Try to take a look at the Oracle XML SQL functions:

    http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28369/xdb04cre.htm

  • Please help me to retrieve this xml file

    " < responseResponse xmlns =" http://chatter "xmlns:soapenv =" " http://schemas.xmlsoap.org/SOAP/envelope/ "container =" " http://www.w3.org/2001/XMLSchema "" xmlns: xsi = " " http://www.w3.org/2001/XMLSchema-instance ">
    < responseReturn > I want that! < / responseReturn >
    < / responseResponse >

    I have this XML, it is a result of webservice with e4x format. I want this element to < responseReturn >.

    Try this:

    var xmlResponse:XML =
       "http://chatter" xmlns:soapenv ="http://schemas.xmlsoap.org/soap/envelope/" container ="http://www.w3.org/2001/XMLSchema" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" > ".
          I want that!
      

                   
    var: = xmlResponse.children () text string [0] m:System.NET.SocketAddress.ToString ();

    The following documentation can be useful as well:

    http://www.flexafterdark.com/docs/ActionScript-XML

    Ben Edwards

  • Monitor a URL of this XML content generates

    We have some URLS when you navigate to them, you will see XML content. What we want to do is to have in place who will go to these URLS and a FAILUREto find error string XML content. If this error string is detected, we want an alert generated.

    Is this possible? Which agent would be used?

    It's quite possible with Foglight APM components, particularly with the devices of the APM. They allow you to only look at captured http (s) network traffice use network sniffing technology.

    Http (s) sniff can run either physical or virtual (i.e. on the VLANs).

    See edocs.quest.com on:

    • Applications and application servers performance monitoring

      • Application performance monitoring and the real user experience

    Basically, you set up a filter of success for a particular request path and check the response content using a regular expression.

    Best regards, Bart

  • How to flatten this XML doc?

    <?xml version="1.0" encoding="UTF-8"?>  
    <SWs>  
      <SW s_ID="T6B890.00-01" t_ID="T6B890.00">  
      <Ds>  
      <De sX="59" sY="-57" rX="7" rY="22" m_ID="L" eTime_s="2014-12-12T02:22:11+08:00" eTime_e="2014-12-12T02:22:42+08:00" mst="0.631"/>  
      <De sX="70" sY="-57" rX="7" rY="23" m_ID="L" eTime_s="2014-12-12T02:22:12+08:00"  eTime_e="2014-12-12T02:22:33+08:00" mst="0.217"/>  
      <De sX="69" sY="-57" rX="47" rY="1" m_ID="R" eTime_s="2014-12-12T02:22:16+08:00" eTime_e="2014-12-12T02:22:56+08:00" mst="0.974"/>  
      </Ds>  
      </SW>  
      <SW s_ID="T6B890.00-02" t_ID="T6B890.00">  
      <Ds>  
      <De sX="56" sY="-1" rX="72" rY="19" m_ID="R" eTime_s="2014-12-12T02:36:01+08:00" eTime_e="2014-12-12T02:36:29+08:00" mst="0.541"/>  
      <De sX="57" sY="-1" rX="39" rY="42" m_ID="L" eTime_s="2014-12-12T02:22:12+08:00" eTime_e="2014-12-12T02:23:01+08:00" mst="0.426"/>  
      <De sX="58" sY="-1" rX="72" rY="20" m_ID="R" eTime_s="2014-12-12T02:36:07+08:00" eTime_e="2014-12-12T02:36:18+08:00" mst="0.716"/>  
      </Ds>  
      </SW>  
    </SWs>
    

    Desired output

    T6B890.00-01,T6B890.00,59,-57,7,22,L,2014-12-12T02:22:11+08:00,2014-12-12T02:22:42+08:00,0.631

    .

    .

    T6B890.00-02,T6B890.00,56,-1,72,19,R,2014-12-12T02:36:01+08:00,2014-12-12T02:36:29+08:00,0.541

    .

    .

    I get this error message...

    ORA-19279: XPTY0004 - XQuery dynamic type mismatch: expected singleton sequence - got multi-item sequence
    19279. 00000 -  "XPTY0004 - XQuery dynamic type mismatch: expected singleton sequence - got multi-item sequence" 
    *Cause:    The XQuery sequence passed in had more than one item.
    *Action:   Correct the XQuery expression to return a single item sequence.
    

    T6B890.00 - 01

    Do you mean something like this:

    with xmltst in (select

    XmlType)

    '

    XMLDATA ')

    of the double

    )

    SELECT

    x 1 .s_id, x1.t_id, x2.*

    OF xmltst t.

    XMLTABLE (' / SWs/SW ")

    PASSAGE t.xmldata

    COLUMNS s_ID varchar2 (30) PATH "@s_ID."

    t_ID varchar2 (30) path "@t_ID."

    DS xmltype PATH 'Ds '.

    ) x 1

    XMLTABLE ("Ds/en"

    PASSAGE x1.ds

    Number of COLUMNS sX PATH "@sX."

    sY number PATH "@sY."

    number of rX PATH "@rX."

    number of rY PATH "@rY."

    eTime_s varchar2 (30) path "@eTime_s."

    eTime_e varchar2 (30) path "@eTime_e."

    number of MST PATH '@mst '.

    ) x 2

    S_ID T_ID SX SY RX RY ETIME_S ETIME_E MST
    T6B890.00 - 01 T6B890.00 59 -57 7 22 2014-12 - T 12, 02: 22:11 + 08:00 2014-12 - T 12, 02: 22:42 + 08:00 .631
    T6B890.00 - 01 T6B890.00 70 -57 7 23 2014-12 - T 12, 02: 22:12 + 08:00 2014-12 - T 12, 02: 22:33 + 08:00 .217
    T6B890.00 - 01 T6B890.00 69 -57 47 1 2014-12 - T 12, 02: 22:16 + 08:00 2014-12 - T 12, 02: 22:56 + 08:00 .974
    T6B890.00 - 02 T6B890.00 56 -1 72 19 2014-12 - T 12, 02: 36:01 + 08:00 2014-12 - T 12, 02: 36:29 + 08:00 .541
    T6B890.00 - 02 T6B890.00 57 -1 39 42 2014-12 - T 12, 02: 22:12 + 08:00 2014-12 - T 12, 02: 23:01 + 08:00 .426
    T6B890.00 - 02 T6B890.00 58 -1 72 20 2014-12 - T 12, 02: 36:07 + 08:00 2014-12 - T 12, 02: 36:18 + 08:00 .716
  • How to view this xml file

    Oracle Apex 4.2

    Oracle 11g R2

    This SQL is the source of an item hidden in my page:

    SELECT
        XMLELEMENT("COORDS",XMLAGG(
          XMLELEMENT("ITEM",
            XMLELEMENT("POSITION",
              XMLATTRIBUTES(LATITUDE AS "LATITUDE",LONGITUDE AS LONGITUDE)
            ),
            XMLELEMENT("ICON", '#WORKSPACE_IMAGES#muncit.png'), 
            XMLELEMENT("TITLE", MUNICIPALITY_NAME)
          )
        )).getclobval() AS XML 
    FROM 
      RPS.MUN@DBWH
    WHERE 
      REGION_CODE= :PRR_P1
    AND 
      LHIO_CODE= :PRL_P1
    AND 
      SO_CODE = :PRS_P1
    

    The sample output:

    <COORDS>
      <ITEM>
      <POSITION LATITUDE="8.573" LONGITUDE="124.474"></POSITION>
      <ICON>wwv_flow_file_mgr.get_file?p_security_group_id=2144306982374553&amp;p_fname=muncit.png</ICON>
      <TITLE>ALUBIJID</TITLE>
      </ITEM>
    </COORDS>
    

    I use the output to fill my (google) map with points.

    The query returns empty when the return value reaches a certain length (4 k)? But when it is less than 4 k, it works.

    m.Davide wrote:

    I mean, source, source of the element.

    Here is a screenshot of the element. A is one who has a B performance is white. You were right, in debugging, I still get ORA-19011: message too small buffer string.

    It makes more sense. I thought I'd come across this before: Re: problem with the length of a CLOB data type

    Bug still exists, of course. Simple solution is to change the Source Type of the PL/SQL function bodyelement:

    begin
    
    for src in (
      select
          xmlserialize(
           content
            xmlelement("COORDS",
              xmlagg(
                xmlelement("ITEM",
                  xmlelement("POSITION",
                    xmlattributes(latitude as "LATITUDE",longitude as longitude)
                  ),
                  xmlelement("ICON", '#WORKSPACE_IMAGES#muncit.png'),
                  xmlelement("TITLE", municipality_name)
                )
              )
            )
          ) xml
      from
        rps.mun@dbwh
      where
        region_code= :prr_p1
      and
        lhio_code= :prl_p1
      and
        so_code = :prs_p1)
    loop
      return src.xml;
    end loop;
    
    return null;
    
    end;
    

    Note that the maximum size of an APEX point value is 32 KB.

  • Extra tags in this XML to PDF

    Hello

    I use live cycle Designer to develop the interactive XDP form. Our server making the PDF using XML and XDP .afetr who

    When the user submits the form (PDF), we will send you the XML servlet to perform operations.

    Herr XML code is to have some additional tags. If I get the xml validation number in number of servlet. Please provide comments to solve the problem. But the XDP even when I test through designer, I am not geeting any additional tags.

    The extra tags as follows: -.

    "< xfa: data xmlns:xfa ="http://www.xfa.org/schema/xfa-data/1.0/">."

    <>buttons
    < overview > true < / preview >
    < saveDraft > true < / saveDraft >
    < saveFinal > true < / saveFinal >
    < / button >
    > < FSTEMPLATE_ / > < FSFORMQUERY_ / >
    PDFForm < FSTRANSFORMATIONID_ > < / FSTRANSFORMATIONID_ >
    < FSTARGETURL_ / >
    < FSAWR_ / >
    < FSWR_ / >
    < FSCRURI_ / >
    < FSBASEURL_ / >
    < / xfa: data >

    You can remove these additional tags with the following code. Put this code before submitting the form data...

    These additional tags are the areas of process that are generated by the server at the time of rendering.

    /********************************************* BEGIN ************************************************

    var arrDeleteNodeList = new Array();

    var intCounter = 0;

    for (var i = 0; i)<>

    var strTagName = xfa.data.nodes.item (i) .name;

    If (strTagName == "FSTEMPLATE_" | strTagName == "FSTRANSFORMATIONID_" | strTagName == "FSTARGETURL_" | strTagName == "FSBASEURL_" | strTagName == "FSFORMQUERY_" | strTagName == "FSAWR_" | strTagName == "FSWR_" | strTagName == "FSCRURI_") {}
    arrDeleteNodeList [intCounter] = xfa.data.nodes.item (i);
    intCounter = parseInt (intCounter) + 1;
    }

    }

    for (var j = 0; j)<>
    XFA. Data.Nodes.Remove (arrDeleteNodeList [j]);

    /********************************************* END ************************************************

    Let me know if it helps.

    Thank you

    Srini

  • How do I validate this XML is well-formed?

    I have a 'no matter what XML Service"in Oracle Service Bus (11.1.1.4 version) that I would have validated that the entrance is well formed XML. There is no DTD or XSchema to apply - it can be any generic XML well-formed. I don't see a way to do with Action post. Is a legend in Java my only option?

    Thank you
    Doug Newton

    Hi Doug,.

    I figured out... There is a very easy way to do...

    Create a typed variable "Any XML" and try to assign content in $body. If the content is not XML, an error is generated and you can capture in an error handler.

    Hope you give me the points for that...

    See you soon,.
    Vlad

    It is considered good etiquette to the answerers rewards with points (as "useful" - 5 pts - or 'correct' - 10pts)
    https://forums.Oracle.com/forums/Ann.jspa?annID=893

  • Reg: Shredding of concern for XML-

    Hi Experts,

    I'm trying to shred an XML and in case of multiple-sub-nodes want to aggregate the and store under a single column.

    Fears - the number of the subnodes i.e. Car_1, Car_2 (in my case) are dynamic in number, then the query below does not work as required.

    WITH test_xml LIKE)

    SELECT XMLTYPE)

    ' < xml >

    < FRIENDS >

    < friend id = "1" >

    Cécile < name > < / name >

    Venice of < space > < / Place >

    LPA < salary > 30 < / salary >

    < cars >

    < Car_1 > FERRARI < / Car_1 >

    < / cars >

    < / friend >

    < friend id = "2" >

    < name > Manish < / name >

    Paris < space > < / Place >

    LPA < salary > 30 < / salary >

    < cars >

    < Car_1 > FERRARI < / Car_1 >

    < Car_2 > BMW < / Car_2 >

    < / cars >

    < / friend >

    < friend id = "3" >

    Ashutosh < name > < / name >

    Amsterdam < space > < / Place >

    LPA < salary > 35 < / salary >

    < cars >

    < Car_1 > AUDI < / Car_1 >

    < Car_2 > Rolls Royce < / Car_2 >

    < / cars >

    < / friend >

    < friend id = "4" >

    Patel < name > < / name >

    Italy < space > < / Place >

    LPA < salary > 35 < / salary >

    < cars >

    < Car_1 > AUDI < / Car_1 >

    < Car_2 > FERRARI < / Car_2 >

    < / cars >

    < / friend >

    < friend id = "5" >

    Youssef < name > < / name >

    Espanol < space > < / Place >

    LPA < salary > 38 < / salary >

    < cars >

    < Car_1 > BMW < / Car_1 >

    < Car_2 > AUDI < / Car_2 >

    < / cars >

    < / friend >

    < friend id = "6" >

    Rosali < name > < / name >

    New Yorkers < space > < / Place >

    LPA < salary > 38 < / salary >

    < cars >

    < Car_1 > AUDI < / Car_1 >

    < Car_2 > Rolls Royce < / Car_2 >

    < / cars >

    < / friend >

    < friend id = "7" >

    Nordine < name > < / name >

    Bangalore < space > < / Place >

    LPA < salary > 1 < / salary >

    < cars >

    < Car_1 > no car < / Car_1 >

    < / cars >

    < / friend >

    < / FRIENDS >

    (< / xml > ') FROM dual xdata

    )

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

    -Example of XML data above...

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

    SELECT

    x 1 .sl_no, x1.friend_id, x1.name, x1.place,

    x1.salary, x2.car_1, x2.car_2

    Of

    test_xml,

    XMLTable)

    "/ xml/FRIENDS/friend".

    in passing test_xml.xdata

    columns

    sl_no for the ordinalite,

    friend_id number path "@id."

    path of the varchar2 (15) name 'Name',

    place varchar2 (15) path 'Place ', he said.

    path varchar2 (15) of "wages."

    car_xml path of XMLType "Cars".

    ) x 1,

    XMLTable)

    ' / ' Cars

    in passing x1.car_xml

    columns

    path of varchar2 (15) car_1 "Car_1."

    path of varchar2 (15) car_2 'Car_2 '.

    ) x 2

    Output:

    FRIEND_ID NAME PLACE SALARY CAR_1 CAR_2 SL_NO

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

    1 1 samier Venice 30 APL FERRARI

    2 2 manish 30 APL FERRARI BMW Paris

    3 3 Ashutosh Amsterdam 35 PCPA AUDI Rolls Royce

    4 stone 4 Italy 35 PCPA AUDI FERRARI

    5 5 youssef Español 38 PCPA BMW AUDI

    6 6 Rosali NY 38 PCPA AUDI Rolls Royce

    7 7 nordine Bangalore 1 Lpa no car

    But, as you can see, the data contains a variable number of cars by a friend. Thus, the number of columns of the car 'car_1' and 'car_2' cannot be encoded in hard limit 'n'.

    So, I'm looking for concatenate into 1 column 'CARS' as:

    CARS

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

    FERRARI

    FERRARI, BMW

    AUDI, Rolls-Royce

    AUDI, FERRARI

    BMW, AUDI

    AUDI, Rolls-Royce

    No car

    I am not able to do this. But have an idea, please let know us if this is a correct approach - making several lines in the case of several cars and then do an aggregation of chain.

    Please notify.

    Thank you and best regards,

    -Nordine

    (on Oracle 11.2.0.3.0 - Exadata)

    Indeed, string - join () is the way to go here, and you don't need to a single XMLTable:

    SELECT x1.sl_no, x1.friend_id, x1.name, x1.place, x1.salary, x1.cars

    OF test_xml

    XMLTable)

    "/ xml/FRIENDS/friend".

    in passing test_xml.xdata

    columns

    sl_no for the ordinalite,

    friend_id number path "@id."

    path of the varchar2 (15) name 'Name',

    place varchar2 (15) path 'Place ', he said.

    path varchar2 (15) of "wages."

    path varchar2 (4000) of cars 'string-join(Cars/*, ",")'

    ) x 1;

    You should know that he cannot regroup more than 4000 bytes like this.

    For the largest chains, you will have to resort to the usual trick using XMLCast (something like knani posted).

  • xml shredding

    I'm trying to shred an XML into relational table format. my desired output is the following, but I'm not able to do this. I write the xml file, the purpose, the code I tried and the result which I'm gettting. Please help me solve this problem. I hope that I formatted the question correctly this time around to get an idea of the experts.


    Desired result

    statusblankettensnamnTyp1utgavaID1ID2Scratch cardsperiodNR1KOLUMNNAMNET1KOLUMNNAMNET2KOLUMNNAMNET3
    AINK21SKV2004-22-02-12-0528284101538212013 03-222013PO1984062400029750012345665432

    code

    select      
     xt1.Status,Blankettensnamn,typ1,utgava,id1,id2,datum,period,nr1 ,xt2.*
     from oracletest1  xmlt,  
          XMLTable(XMLNAMESPACES ('http://www.w3.org/TR/html4/' as "koil"),  
                   '/root'  
                   PASSING   xmlt.xmldata
                   COLUMNS  
                          Status varchar2(100) path '//koil:Status',
                              Blankettensnamn varchar2(100) path '//koil:Blankettensnamn',
                              Typ1 varchar2(100) path '//koil:Typ1',
                              Utgava varchar2(100) path '//koil:Utgava',
                              ID1 varchar2(100) path '//koil:ID1',
                               ID2 varchar2(100) path '//koil:ID2',
                               Datum varchar2(100) path '//koil:Datum',
                               Period varchar2(100) path '//koil:Period',
                                Nr1 varchar2(100) path '//koil:Nr1',
                                group_xml       XMLTYPE       PATH '//koil:Varde'  
                   ) xt1,
    
          XMLTable(XMLNAMESPACES ('http://www.w3.org/TR/html4/' as "koil"),  
                   '//koil:Varde'  
                   PASSING   xt1.group_xml  
                   COLUMNS  
                   termid    VARCHAR2(15)  PATH 'koil:TermId',  
                   vardenum  varchar2(20)      PATH 'koil:VardeNum' ,
                   OpId varchar2(50) path 'koil:OpId'
                   ) xt2
    
    !-[CodeBlockEnd:08df8e3d-2b89-4e69-ab0c-8ca2947c7ced]-->

    Result obtained

    StatusBlankettensnamnTyp1utgavaID1ID2Scratch cardsperiodNR1TermIdVardeNumOpId
    AINK2I haveSKV2004-22-02-12-0528284101538212013 03-222013P 0198406240000KOLUMNNAMNET1297500drty
    AINK2I haveSKV2004-22-02-12-0528284101538212013 03-222013P 0198406240000KOLUMNNAMNET2123456drty
    AINK2I haveSKV2004-22-02-12-0528284101538212013 03-222013P 0198406240000KOLUMNNAMNET3654321drty

    XML file

    <root xmlns:koil="http://www.w3.org/TR/html4/">
    <koil:Data>
      <koil:Status>A</koil:Status>
      <koil:Blankettensnamn>INK2</koil:Blankettensnamn>                                              
      <koil:Typ1>I</koil:Typ1>
      <koil:Utgava>SKV2004-22-02-12-05</koil:Utgava>
      <koil:ID1>28284</koil:ID1>                                                                        
      <koil:ID2>10153821</koil:ID2>
      <koil:Datum>2013-03-22</koil:Datum>                             
      <koil:Period>2013P0</koil:Period>                                                                
    
    
    <koil:Nr1>198406240000</koil:Nr1>                                                                 
      <koil:Varden>
      <koil:Varde>
      <koil:TermId>KOLUMNNAMNET1</koil:TermId>                                                          
    
    
      <koil:VardeNum>297500</koil:VardeNum>                                                             
      <koil:OpId>drty</koil:OpId>
      </koil:Varde>
      <koil:Varde>
      <koil:TermId>KOLUMNNAMNET2</koil:TermId>                                                          
    
    
      <koil:VardeNum>123456</koil:VardeNum>                                                             
      <koil:OpId>drty</koil:OpId>
      </koil:Varde>
      <koil:Varde>
      <koil:TermId>KOLUMNNAMNET3</koil:TermId>                                                          
    
    
      <koil:VardeNum>654321</koil:VardeNum>                                                             
      <koil:OpId>drty</koil:OpId>
      </koil:Varde>
      </koil:Varden>
    </koil:Data>
    </root>
    

    Thank you

    the maximum possible number of nodes in the XML document koil:Varde is 3.

    In this case, you can use a positional predicate to search for a specific node instance:

    Select x.*

    of oracletest1 t

    xmltable)

    XmlNamespaces ('http://www.w3.org/TR/html4/' as 'k')

    , ' / root/k: Data ".

    in passing t.xmldata

    path of columns status varchar2 (100) 'k: Status ".

    , Path of varchar2 (100) Blankettensnamn 'k: Blankettensnamn '.

    , Typ1 varchar2 (100) path 'k: Typ1.

    , Path of varchar2 (100) Utgava 'k: Utgava '.

    , Path number KOLUMNNAMNET1 ' k: Varden / k: Varde [1] / k: VardeNum'

    , Path number KOLUMNNAMNET2 ' k: Varden / k: Varde [2] / k: VardeNum'

    , Path number KOLUMNNAMNET3 ' k: Varden / k: Varde [3] / k: VardeNum'

    ) x

    ;

  • Please help me how to read this type of XML document that resids in clob

    Hello

    I am very new to this XML thing in the oracle. My question is I have the XML file that is stored in my table as the clob data type and I want to read this data XML file and insert them into different tables.
    We use a server Oracle version 9.2.0.2
    Any body can help me how to do this... It is very urgent. Here is the XML file that is stored in the table as a clob column.
    <? XML version = "1.0" encoding = "UTF-8"? >
    < base = 's1' id >
    < WalkList >
    < work >
    < WalkPath id = "wp1" >
    < debug >
    < name > < / name >
    < language > < / language >
    < / debug >
    < / WalkPath >
    < id Walker = "w1" >
    < debug > <!-include only when debug mode is on->
    < name > < / name >
    < language > < / language >
    < / debug >
    < / Walker >
    < UnidentifiedLocationList >
    < UnidentifiedLocation >
    < UnidentifiedRFID > < / UnidentifiedRFID >
    < sub > < / sub >
    < / UnidentifiedLocation >
    < UnidentifiedLocation >
    < UnidentifiedRFID > < / UnidentifiedRFID >
    < sub > < / sub >
    < / UnidentifiedLocation >
    < / UnidentifiedLocationList >
    < InspectedLocation id = "l1" > <!-WalkIn freezer->
    < > 0 x 00020001 RFID < / RFID >
    < sub > 25/05/2010 13:44:03 < / sub >
    < debug > <!-include only when debug mode is on->
    < name > < / name >
    < language > < / language >
    < / debug >
    < UnidentifiedInspectableItemList >
    < UnidentifiedInspectableItem >
    < UnidentifiedRFID > < / UnidentifiedRFID >
    < sub > < / sub >
    < / UnidentifiedInspectableItem >
    < UnidentifiedInspectableItem >
    < UnidentifiedRFID > < / UnidentifiedRFID >
    < sub > < / sub >
    < / UnidentifiedInspectableItem >
    < / UnidentifiedInspectableItemList >
    < InspectedItem id = "i1" > <!-example of automatic detection; Temp of freezer->
    < InspectedItemDebug > <!-include only when debug mode is on->
    < name > < / name >
    < language > < / language >
    < InspectableCategory >
    < id > < / ID >
    < name > < / name >
    < / InspectableCategory >
    < / InspectedItemDebug >
    < MeasurementEvent > <!-Doesnot apply to InspectableType - 'Manual of a pick list'->
    < > 0 x 00030001 RFID < / RFID >
    < sub > 25/05/2010 13:45:01 < / sub >
    <! - value only.no units - >
    < MeasuredValue > 45 < / MeasuredValue >
    <!--
    Only for the model manual-sense, meaning automatic and manual-entry
    ->
    < / MeasurementEvent >
    < ValidationEvent id = "v4" > <! - more high-end - >
    < sub > 25/05/2010 13:45:55 < / sub >
    <!-Not < ExceptionCondition > < / ExceptionCondition >->
    < / ValidationEvent >
    < FollowUpActionEvent id = "f1" > <! - adjusted to location - >
    < FollowUpActionComments > the temp is scope now. < / FollowUpActionComments >
    < sub > 25/05/2010 13:51:45 < / sub > <!-time recorded when user click-> next
    < / FollowUpActionEvent >
    < / InspectedItem >
    < InspectedItem id = "i2" > <!-yes/no/PR Type-->
    < InspectedItemDebug >
    < name > < / name >
    < language > < / language >
    < InspectableCategory >
    < id > < / ID >
    < name > < / name >
    < / InspectableCategory >
    < / InspectedItemDebug >
    < MeasurementEvent > <!-Doesnot apply to InspectableType - 'Manual of a pick list'->
    < RFID > < / RFID >
    < UnidentifiedInspectedItemRFID > < / UnidentifiedInspectedItemRFID >
    < sub > < / sub >
    < MeasuredValue > < / MeasuredValue > <! - only for manual-sense, meaning automatic and manual-entry types - >
    < / MeasurementEvent >
    < ValidationEvent id = "v2" > <!-user selects 'No'->
    < sub > 25/05/2010 13:53:02 < / sub >
    <!-Not < ExceptionCondition > < / ExceptionCondition >->
    < / ValidationEvent >
    < FollowUpActionEvent id = "f2" >
    < FollowUpActionComments > has called the concierge team. Wait for the cleanup.
    < / FollowUpActionComments >
    < sub > 2010-05-25 14:04:43 < / sub >
    < / FollowUpActionEvent >
    < ManagerClearanceEvent >
    < ManagerRFID > 0 x 00010002 < / ManagerRFID >
    < ManagersComments > cleaning confirmed < / ManagersComments >
    < sub > 25/05/2010 14:06:39 < / sub >
    < / ManagerClearanceEvent >
    < / InspectedItem >
    < / InspectedLocation >
    < / market >
    < / WalkList >
    < HealthCheckInfo >
    < SystemStats >
    < AvailableMemory > < / AvailableMemory >
    < AvailableDiskSpace > < / AvailableDiskSpace >
    < UsedDiskSpace > < / UsedDiskSpace >
    < / SystemStats >
    < WalkDataUplaod >
    < timeStampSinceLastUpload > < / TimeStampSinceLastUpload >
    < numberOfFailedUploads > < / NumberOfFailedUploads >
    < / WalkDataUplaod >
    < storeConfigDownload >
    < timeStampSinceLastDownload > < / TimeStampSinceLastDownload >
    < numberOfFailedDownloads > < / NumberOfFailedDownloads >
    < / storeConfigDownload >
    < errors > < / errors >
    < StoreConfigXML > < / StoreConfigXML > <!-include only when debug mode is on->
    < / HealthCheckInfo >
    < / store >
    -----

    Please help me how to play this file from this column and insert into different tables. Please answer me urgently...

    Thanks in advacne.

    Sudhakar

    Hello

    Any body can help me how to do this... It is very urgent. Here is the XML file that is stored in the table as a clob column.

    There are many examples here on the forum, you may have found yourself through the search function.
    I bet that any Internet search engine could also give useful answers.

    Anyway, here's a start with your sample xml (assuming that the document is stored in the column T.DOC):

    SELECT extractvalue(x1.column_value, 'InspectedLocation/@id') as "ID",
           extractvalue(x1.column_value, 'InspectedLocation/RFID') as "RFID",
           extractvalue(x1.column_value, 'InspectedLocation/EventTimeStamp') as "TIMESTAMP",
           extractvalue(x2.column_value, 'InspectedItem/@id') as "ITEM_ID",
           extractvalue(x2.column_value, 'InspectedItem/MeasurementEvent/RFID') as "ITEM_RFID",
           extractvalue(x2.column_value, 'InspectedItem/MeasurementEvent/MeasuredValue') as "ITEM_VALUE"
    FROM t,
         table(
           xmlsequence( extract(xmltype(t.doc), 'Store/WalkList/Walk/InspectedLocation') )
         ) x1,
         table(
           xmlsequence( extract(x1.column_value, 'InspectedLocation/InspectedItem') )
         ) x2
    ;
    

    He breaks some elements of your document into columns and relational rows so that you can just insert directly into your final tables.
    Let us know if it does not meet your needs or if you have problems with some fields.

    Edit: BluShadow was faster. I'm a slow typist, however...

    Published by: odie_63 on 9 July. 2010 11:36

  • XML file too large or too large XML element

    I try to import an xml file into the repository and have it shred in the object-relational tables. I signed up a diagram and it created types, triggers and object-relational xml_tables. The complete xml file is > 80 MB. XDB created all fields VARCHAR2 (4000).

    error code when you import the complete XML file. That's what I need to fix in the end.
    DECLARE
      res BOOLEAN;
    BEGIN
      res := DBMS_XDB.createResource('/home/pharma/drugbank.xml', 
                    bfilename('XMLPHARMA', 'drugbank.xml'),
                    nls_charset_id('AL32UTF8'));
    END;
    /
    COMMIT;
    
    XML file encounters errors on the import.
    An error was encountered performing the requested operation
    ORA-30951: Element or attribute at Xpath references exceeds maximum length
    ORA-06512 at "XDB.DBMS_XDB", line 315
    ORA-06512 at line 4
    30951.00000 - "Element or attribute at Xpath %x exceeds maximum length"
    *Cause: An attempt was made to insert a node of length exceeding the maximum length (specified by the maxLength facet) into an XML document.
    *Action: Do not attempt to add a node exceeding the maximum length to XML documents.
    Vendor code 30951Error at Line:18
    I guess that some fields have lengths > 4000 max. I intend to annotate the schema with SQLType = 'CLOB', but there are fields to change. I could copy the xml file and reduce this xml file to a record of any in the tables. My plan was to write a review on the bfile to get the lengths of some fields, annotate the .xsd with CLOB when needed and then import it again. To do this, I have a 1 imported in a table and as a bfile type recording file.

    Here is my code selection length in a generated object-relational table as a single folder.
    CREATE OR REPLACE VIEW pharma.drugs_vw AS
    SELECT d.*
    FROM drugs, XMLTABLE
      ('/drugs' PASSING OBJECT_VALUE COLUMNS
        drugbank_id        VARCHAR2(20)   PATH 'drug/drugbank-id',
        name               VARCHAR2(50)   PATH 'drug/name',
        description        VARCHAR2(4000) PATH 'drug/description'    
      ) d
    /
    
    select max(length(drugbank_id)) as dbidlen,
          max(length(name)) as nmlen,
          max(length(description)) as desclen
    from drugs_vw;
    
            DBIDLEN           NMLEN         DESCLEN
    --------------- --------------- ---------------
                  7               9             229
    
    1 row selected.
    Here's the code for the bfile. Same results, but using deprecated functions. I read the white paper, Oracle XML DB: best practices for optimal performance of queries XML. It is said that the function extract(), extractvalue(), Table (XMLSequence ()) and XMLType() are deprecated in 11 GR 2.
    -- Note extractvalue is deprecated in 11gr2 replaced by W3C standard
    --                                          XMLCast(XMLQuery())
    -- TABLE(XMLSequence) is replaced by XMLTable
    -- XMLType() is replaced by XMLParse()
    SELECT max(length(extractvalue(column_value, '/drug/drugbank-id'))) dbidlen,
           max(length(extractvalue(column_value, '/drug/name'))) nmlen,
           max(length(extractvalue(column_value, '/drug/description'))) desclen
    FROM TABLE(XMLSequence(XMLTYPE(bfilename('XMLPHARMA',
    'db00001.xml'),nls_charset_id('AL32UTF8')).extract('/drugs/drug'))) d
    WHERE ROWNUM <= 5;
    
            DBIDLEN           NMLEN         DESCLEN
    --------------- --------------- ---------------
                  7               9             229
    Is this better code to get the maximum length of a bfile type xml fields? Here's what I have so far. It works on a simple drugbank id.
    SELECT max(length(drugbank_id)) AS dbidlen,
           max(length(name)) AS nmlen,
           max(length(description)) AS desclen
    FROM (XMLTABLE('*'
                    PASSING (XMLType(bfilename('XMLPHARMA', 'db00001.xml'),nls_charset_id('AL32UTF8')))
                    COLUMNS
        drugbank_id        VARCHAR2(20)   PATH 'drug/drugbank-id',
        name               VARCHAR2(50)   PATH 'drug/name',
        description        VARCHAR2(4000) PATH 'drug/description'
      )
    );
    I try to run it on the full file and get this error
    Error report:
    SQL Error: ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00007: unexpected end-of-file encountered
    31011. 00000 -  "XML parsing failed"
    *Cause:    XML parser returned an error while trying to parse the document.
    *Action:   Check if the document to be parsed is valid.
    The code to create patterns and object-relational tables. It worked well.
    set serveroutput on
    -- Create resource file for schema
    DECLARE
      res BOOLEAN;
    BEGIN
      res := DBMS_XDB.createResource('/home/pharma/drugbank.xsd', 
                    bfilename('XMLPHARMA', 'drugbank.xsd'),
                    nls_charset_id('AL32UTF8'));
      COMMIT;
    END;
    /
    
    -- optional debugging of create types and tables if you want a trace
    ALTER SESSION SET EVENTS = '31098 TRACE NAME CONTEXT FOREVER';
    
    BEGIN
      DBMS_XMLSCHEMA.registerSchema(
          SCHEMAURL => 'http://localhost:8080/home/pharma/drugbank.xsd',
          SCHEMADOC => bfilename('XMLPHARMA', 'drugbank.xsd'),
          CSID      => nls_charset_id('AL32UTF8'),
          LOCAL     => TRUE,
          GENTYPES  => TRUE,
          GENTABLES => TRUE,
          OWNER     => 'PHARMA');
      COMMIT;
    END;
    /
    SQL> select * from v$version;
    BANNER
    ---------------------------------------------------------------
    Oracle Database 11g Release 11.2.0.2.0 - Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE    11.2.0.2.0      Production
    TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    Follows the xml schema. Sorry for the length, but I think I might break something if I he snipped.
    <?xml version="1.0" encoding="UTF-8"?>
         <xs:schema  
         xmlns:xs="http://www.w3.org/2001/XMLSchema"  
         xmlns:xdb="http://xmlns.oracle.com/xdb"
         >
    
         <!-- General type definitions -->
         <xs:simpleType name="DecimalOrEmptyType">
              <xs:union memberTypes="xs:decimal EmptyStringType"/>
         </xs:simpleType>
         <xs:simpleType name="EmptyStringType">
              <xs:restriction base="xs:string">
                   <xs:enumeration value=""/>
              </xs:restriction>
         </xs:simpleType>
    
         <!-- Element Definitions -->
         <!-- Drug secondary accession number definition begins -->
         <xs:element name="secondary-accession-numbers" xdb:defaultTable="SECONDARY_ACCESSION_NUMBERS">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element name="secondary-accession-number" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug secondary accession number definition ends -->
         <!-- Drug groups definition begins -->
         <xs:element name="groups" xdb:defaultTable="GROUPS">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element name="group">
                             <xs:simpleType>
                                  <xs:restriction base="xs:string">
                                       <xs:enumeration value="approved"/>
                                       <xs:enumeration value="illicit"/>
                                       <xs:enumeration value="experimental"/>
                                       <xs:enumeration value="withdrawn"/>
                                       <xs:enumeration value="nutraceutical"/>
                                  </xs:restriction>
                             </xs:simpleType>
                        </xs:element>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug groups definition ends -->
         <!-- Drug taxonomy definition begins -->
         <xs:element name="substructure">
              <xs:complexType>
                   <xs:simpleContent>
                        <xs:extension base="xs:string">
                             <xs:attribute name="class" type="xs:string" use="required"/>
                        </xs:extension>
                   </xs:simpleContent>
              </xs:complexType>
         </xs:element>
         <xs:element name="substructures" xdb:defaultTable="SUBSTRUCTURES">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element ref="substructure"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="taxonomy" xdb:defaultTable="TAXONOMY">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="kingdom" type="xs:string"/>
                        <xs:element ref="substructures"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug taxonomy definition ends -->
         <!-- Drug brands definition begins -->
         <xs:element name="brands" xdb:defaultTable="BRANDS">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element name="brand" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug brands definition ends -->
         <!-- Drug mixtures definition begins -->
         <xs:element name="mixture">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="name" type="xs:string"/>
                        <xs:element name="ingredients" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="mixtures" xdb:defaultTable="MIXTURES">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element ref="mixture"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug mixtures definition ends -->
         <!-- Drug packagers definition begins -->
         <xs:element name="packager">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="name" type="xs:string"/>
                        <xs:element name="url" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="packagers" xdb:defaultTable="PACKAGERS">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element ref="packager"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug packagers definition ends -->
         <!-- Drug manufacturers definition begins -->
         <xs:element name="manufacturer">
              <xs:complexType>
                   <xs:simpleContent>
                        <xs:extension base="xs:string">
                             <xs:attribute name="generic" type="xs:string" use="required"/>
                        </xs:extension>
                   </xs:simpleContent>
              </xs:complexType>
         </xs:element>
         <xs:element name="manufacturers" xdb:defaultTable="MANUFACTURERS">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element ref="manufacturer"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug manufactures definition ends -->
         <!-- Drug pricing definition begins -->
         <xs:element name="cost">
              <xs:complexType>
                   <xs:simpleContent>
                        <xs:extension base="xs:string">
                             <xs:attribute name="currency" type="xs:string" use="required"/>
                        </xs:extension>
                   </xs:simpleContent>
              </xs:complexType>
         </xs:element>
         <xs:element name="price">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="description" type="xs:string"/>
                        <xs:element ref="cost"/>
                        <xs:element name="unit" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="prices" xdb:defaultTable="PRICES">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element ref="price"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug pricing definition ends -->
         <!-- Drug categories definition begins -->
         <xs:element name="categories" xdb:defaultTable="CATEGORIES">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element name="category" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug categories definition ends -->
         <!-- Drug affected orgainsms definition begins -->
         <xs:element name="affected-organisms" xdb:defaultTable="AFFECTED_ORGANISMS">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element name="affected-organism" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug affected organisms definition ends -->
         <!-- Drug dosage definition begins -->
         <xs:element name="dosage">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="form" type="xs:string"/>
                        <xs:element name="route" type="xs:string"/>
                        <xs:element name="strength" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="dosages" xdb:defaultTable="DOSAGES">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element ref="dosage"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug dosages definition ends -->
         <!-- Drug ATC codes definition begins -->
         <xs:element name="atc-codes" xdb:defaultTable="ATC_CODES">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element name="atc-code" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug ATC codes definition ends -->
         <!-- Drug AHFS codes definition begins -->
         <xs:element name="ahfs-codes" xdb:defaultTable="AHFS_CODES">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element name="ahfs-code" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug AHFS codes definition ends -->
         <!-- Drug Patent definition begins -->
         <xs:element name="patent">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="number" type="xs:string"/>
                        <xs:element name="country" type="xs:string"/>
                        <xs:element name="approved" type="xs:string"/>
                        <xs:element name="expires" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="patents" xdb:defaultTable="PATENTS">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element ref="patent"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug patent definition ends -->
         <!-- Drug food interactions definition begins -->
         <xs:element name="food-interactions" xdb:defaultTable="FOOD_INTERACTIONS">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="food-interaction" type="xs:string" maxOccurs="unbounded" minOccurs="0"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug food interactions definition ends -->
         <!-- Drug drug interactions definition begins -->
         <xs:element name="drug-interaction">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="drug" type="xs:integer"/>
                        <xs:element name="description" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="drug-interactions" xdb:defaultTable="DRUG_INTERACTIONS">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element ref="drug-interaction"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug drug interactions definition ends -->
         <!-- Drug protein sequences (biotech) definition begins -->
         <xs:element name="protein-sequences" xdb:defaultTable="PROTEIN_SEQUENCES">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element name="protein-sequence" type="SequenceType"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug protein sequences (biotech) definition ends-->
         <!-- Drug external links definition begins -->
         <xs:element name="external-link">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="resource" type="xs:string"/>
                        <xs:element name="url" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="external-links" xdb:defaultTable="EXTERNAL_LINKS">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element ref="external-link"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug external links definition ends -->
         <!-- Drug targets definition begins -->
         <xs:element name="targets" xdb:defaultTable="TARGETS">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="target" type="TargetBondType" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug targets definition ends -->
         <!-- Drug enzymes definition begins -->
         <xs:element name="enzymes" xdb:defaultTable="ENZYMES">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="enzyme" type="BondType" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug enzmes definition ends -->
         <!-- Drug transporters definition begins -->
         <xs:element name="transporters" xdb:defaultTable="TRANSPORTERS">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="transporter" type="BondType" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug transporters definition ends -->
         <!-- Drug carriers definition begins -->
         <xs:element name="carriers" xdb:defaultTable="CARRIERS">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="carrier" type="BondType" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug carriers definition ends -->
         <!-- Partner  Pfams definition begins -->
         <xs:element name="pfam">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="identifier" type="xs:string"/>
                        <xs:element name="name" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="pfams" xdb:defaultTable="PFAMS">
              <xs:complexType>
                   <xs:sequence minOccurs="0" maxOccurs="unbounded">
                        <xs:element ref="pfam"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Partner  Pfams definition end -->
         <!-- Partner  GO Classification definition begins -->
         <xs:element name="go-classifier">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="category" type="xs:string"/>
                        <xs:element name="description" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="go-classifiers" xdb:defaultTable="GO_CLASSIFIERS">
              <xs:complexType>
                   <xs:sequence minOccurs="0" maxOccurs="unbounded">
                        <xs:element ref="go-classifier"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Partner  GO Classification definition ends -->
         <!-- Partner Essentiality definition begins -->
         <xs:element name="essentiality">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="Essential"/>
                        <xs:enumeration value="Non-Essential"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <!-- Partner Essentiality definition ends -->
         
         <!-- Complex Type Definitions -->
         <xs:complexType name="SequenceType">
              <xs:sequence>
                   <xs:element name="header" type="xs:string"/>
                   <xs:element name="chain" type="xs:string"/>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="PropertyType">
              <xs:sequence>
                   <xs:element name="kind">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:enumeration value="logP"/>
                                  <xs:enumeration value="logS"/>
                                  <xs:enumeration value="logP/hydrophobicity"/>
                                  <xs:enumeration value="Water Solubility"/>
                                  <xs:enumeration value="caco2 Permeability"/>
                                  <xs:enumeration value="pKa"/>
                                  <xs:enumeration value="IUPAC Name"/>
                                  <xs:enumeration value="Molecular Weight"/>
                                  <xs:enumeration value="Monoisotopic Weight"/>
                                  <xs:enumeration value="SMILES"/>
                                  <xs:enumeration value="Molecular Formula"/>
                                  <xs:enumeration value="InChI"/>
                                  <xs:enumeration value="InChIKey"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
                   <xs:element name="value" type="xs:string"/>
                   <xs:element name="source">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:enumeration value="JChem"/>
                                  <xs:enumeration value="ALOGPS"/>
                                  <xs:enumeration value=""/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="PropertiesType">
              <xs:sequence>
                   <xs:element name="property" type="PropertyType" minOccurs="0" maxOccurs="unbounded"/>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="SynonymsType">
              <xs:sequence maxOccurs="unbounded" minOccurs="0">
                   <xs:element name="synonym" type="xs:string"/>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="IdentifiersType">
              <xs:sequence maxOccurs="unbounded" minOccurs="0">
                   <xs:element name="external-identifier">
                        <xs:complexType>
                             <xs:sequence>
                                  <xs:element name="resource" type="xs:string"/>
                                  <xs:element name="identifier" type="xs:string"/>
                             </xs:sequence>
                        </xs:complexType>
                   </xs:element>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="BondActionsType">
              <xs:sequence maxOccurs="unbounded" minOccurs="0">
                   <xs:element name="action" type="xs:string"/>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="BondType">
              <xs:sequence>
                   <xs:element name="actions" type="BondActionsType"/>
                   <xs:element name="references" type="xs:string"/>
              </xs:sequence>
              <xs:attribute name="position" type="xs:integer" use="optional"/>
              <xs:attribute name="partner" type="xs:integer"/>
         </xs:complexType>
         <xs:complexType name="TargetBondType">
              <xs:complexContent>
                   <xs:extension base="BondType">
                        <xs:sequence>
                             <xs:element name="known-action">
                                  <xs:simpleType>
                                       <xs:restriction base="xs:string">
                                            <xs:enumeration value="yes"/>
                                            <xs:enumeration value="no"/>
                                            <xs:enumeration value="unknown"/>
                                       </xs:restriction>
                                  </xs:simpleType>
                             </xs:element>
                        </xs:sequence>
                   </xs:extension>
              </xs:complexContent>
         </xs:complexType>
         
         <xs:complexType name="PartnerType">
              <xs:sequence>
                   <xs:element name="name" type="xs:string"/>
                   <xs:element name="general-function" type="xs:string"/>
                   <xs:element name="specific-function" type="xs:string"/>
                   <xs:element name="gene-name" type="xs:string"/>
                   <xs:element name="locus" type="xs:string"/>
                   <xs:element name="reaction" type="xs:string"/>
                   <xs:element name="signals" type="xs:string"/>
                   <xs:element name="cellular-location" type="xs:string"/>
                   <xs:element name="transmembrane-regions" type="xs:string"/>
                   <xs:element name="theoretical-pi" type="DecimalOrEmptyType"/>
                   <xs:element name="molecular-weight" type="DecimalOrEmptyType"/>
                   <xs:element name="chromosome" type="xs:string"/>
                   <xs:element ref="essentiality"/>
                   <xs:element name="references" type="xs:string"/>
                   <xs:element name="external-identifiers" type="IdentifiersType"/>
                   <xs:element name="synonyms" type="SynonymsType"/>
                   <xs:element name="protein-sequence" type="SequenceType" minOccurs="0"/>
                   <xs:element name="gene-sequence" type="SequenceType" minOccurs="0"/>
                   <xs:element ref="pfams"/>
                   <xs:element ref="go-classifiers"/>
              </xs:sequence>
              <xs:attribute name="id" type="xs:integer" use="required"/>
         </xs:complexType>
         <xs:complexType name="DrugType">
              <xs:sequence>
                   <xs:element name="drugbank-id" type="xs:string"/>
                   <xs:element name="name" type="xs:string"/>
                   <xs:element name="description" type="xs:string"/>
                   <xs:element name="cas-number" type="xs:string"/>
                   <xs:element name="general-references" type="xs:string"/>
                   <xs:element name="synthesis-reference" type="xs:string"/>
                   <xs:element name="indication" type="xs:string"/>
                   <xs:element name="pharmacology" type="xs:string"/>
                   <xs:element name="mechanism-of-action" type="xs:string"/>
                   <xs:element name="toxicity" type="xs:string"/>
                   <xs:element name="biotransformation" type="xs:string"/>
                   <xs:element name="absorption" type="xs:string"/>
                   <xs:element name="half-life" type="xs:string"/>
                   <xs:element name="protein-binding" type="xs:string"/>
                   <xs:element name="route-of-elimination" type="xs:string"/>
                   <xs:element name="volume-of-distribution" type="xs:string"/>
                   <xs:element name="clearance" type="xs:string"/>
                   <xs:element ref="secondary-accession-numbers"/>
                   <xs:element ref="groups"/>
                   <xs:element ref="taxonomy"/>
                   <xs:element name="synonyms" type="SynonymsType"/>
                   <xs:element ref="brands"/>
                   <xs:element ref="mixtures"/>
                   <xs:element ref="packagers"/>
                   <xs:element ref="manufacturers"/>
                   <xs:element ref="prices"/>
                   <xs:element ref="categories"/>
                   <xs:element ref="affected-organisms"/>
                   <xs:element ref="dosages"/>
                   <xs:element ref="atc-codes"/>
                   <xs:element ref="ahfs-codes"/>
                   <xs:element ref="patents"/>
                   <xs:element ref="food-interactions"/>
                   <xs:element ref="drug-interactions"/>
                   <xs:element ref="protein-sequences" minOccurs="0"/><!-- Only present for biotech drugs -->
                   <xs:element name="calculated-properties" type="PropertiesType" minOccurs="0"/><!-- Only present for small molecule drugs -->
                   <xs:element name="experimental-properties" type="PropertiesType"/>
                   <xs:element name="external-identifiers" type="IdentifiersType"/>
                   <xs:element ref="external-links"/>
                   <xs:element ref="targets"/>
                   <xs:element ref="enzymes"/>
                   <xs:element ref="transporters"/>
                   <xs:element ref="carriers"/>
              </xs:sequence>
              <xs:attribute name="type" use="required">
                   <xs:simpleType>
                        <xs:restriction base="xs:string">
                             <xs:enumeration value="small molecule"/>
                             <xs:enumeration value="biotech"/>
                        </xs:restriction>
                   </xs:simpleType>
              </xs:attribute>
              <xs:attribute name="updated" type="xs:string" use="required"/>
              <xs:attribute name="created" type="xs:string" use="required"/>
              <xs:attribute name="version" type="xs:decimal" use="required"/>
         </xs:complexType>
         
         <xs:element name="drugs"  xdb:defaultTable="DRUGS">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="drug" type="DrugType" minOccurs="0" maxOccurs="unbounded" />
                        <xs:element name="partners">
                             <xs:complexType>
                                  <xs:sequence>
                                       <xs:element name="partner" type="PartnerType" minOccurs="0" maxOccurs="unbounded" />
                                  </xs:sequence>
                             </xs:complexType>
                        </xs:element>
                   </xs:sequence>
              </xs:complexType>
         
              <xs:keyref name="targetPartnerIdKeyRef" refer="partnerIdKey">
                   <xs:selector xpath="drug/targets/*"/>
                   <xs:field xpath="@partner"/>
              </xs:keyref>
              <xs:keyref name="enzymePartnerIdKeyRef" refer="partnerIdKey">
                   <xs:selector xpath="drug/enzymes/*"/>
                   <xs:field xpath="@partner"/>
              </xs:keyref>
              <xs:keyref name="transporterPartnerIdKeyRef" refer="partnerIdKey">
                   <xs:selector xpath="drug/transporters/*"/>
                   <xs:field xpath="@partner"/>
              </xs:keyref>
              <xs:keyref name="carrierPartnerIdKeyRef" refer="partnerIdKey">
                   <xs:selector xpath="drug/carriers/*"/>
                   <xs:field xpath="@partner"/>
              </xs:keyref>
              <xs:key name="partnerIdKey">
                   <xs:selector xpath=".//partner"/>
                   <xs:field xpath="@id"/>
              </xs:key>
         </xs:element>     
    </xs:schema>
    Optimization white paper request
    http://www.Oracle.com/technetwork/database/features/xmldb/xmlqueryoptimize11gr2-168036.PDF

    Well Yes... You need not put GENTABLES-online TRUE when recording object relational. There are no structures in XML schema that require tables on online storage...

    SQL> DECLARE
      2    V_XMLSCHEMA XMLTYPE := xmltype(bfilename('&USERNAME', 'drugbank.xsd'),nls_charset_id('AL32UTF8'));
      3  BEGIN
      4          DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XMLSCHEMA);
      5          DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDOM(V_XMLSCHEMA);
      6          DBMS_XMLSCHEMA_ANNOTATE.setSQLType(V_XMLSCHEMA,DBMS_XDB_CONSTANTS.XSD_COMPLEX_TYPE,'BondType',DBMS_XDB_CONSTANTS.XSD_ELEMENT,'references','CLOB',TRUE);
      7          DBMS_XMLSCHEMA_ANNOTATE.setSQLType(V_XMLSCHEMA,DBMS_XDB_CONSTANTS.XSD_COMPLEX_TYPE,'PartnerType',DBMS_XDB_CONSTANTS.XSD_ELEMENT,'references','CLOB',TRUE);
      8          DBMS_XMLSCHEMA_ANNOTATE.setSQLType(V_XMLSCHEMA,DBMS_XDB_CONSTANTS.XSD_COMPLEX_TYPE,'DrugType',DBMS_XDB_CONSTANTS.XSD_ELEMENT,'general-references','CLOB',TRUE);
      9          DBMS_XMLSCHEMA_ANNOTATE.setSQLType(V_XMLSCHEMA,DBMS_XDB_CONSTANTS.XSD_COMPLEX_TYPE,'SequenceType',DBMS_XDB_CONSTANTS.XSD_ELEMENT,'chain','CLOB',TRUE);
     10    DBMS_XMLSCHEMA.registerSchema(
     11        SCHEMAURL => :SCHEMAURL,
     12        SCHEMADOC => V_XMLSCHEMA,
     13        LOCAL     => TRUE,
     14        GENTYPES  => TRUE,
     15        GENTABLES => TRUE);
     16  END;
     17  /
    old   2:   V_XMLSCHEMA XMLTYPE := xmltype(bfilename('&USERNAME', 'drugbank.xsd'),nls_charset_id('AL32UTF8'));
    new   2:   V_XMLSCHEMA XMLTYPE := xmltype(bfilename('PHARMA', 'drugbank.xsd'),nls_charset_id('AL32UTF8'));
    
    PL/SQL procedure successfully completed.
    
    Elapsed: 00:00:01.65
    SQL> CREATE TABLE drugs_xmltype OF XMLTYPE
      2  XMLSCHEMA "http://lims.drugbank.ca/docs/drugbank.xsd"
      3  ELEMENT "drugs"
      4  /
    
    Table created.
    

    results in

    SQL*Plus: Release 11.2.0.3.0 Production on Fri Apr 29 16:14:00 2011
    
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> select table_name from user_xml_tables;
    
    TABLE_NAME
    ------------------------------
    DRUGS_XMLTYPE
    
    SQL> select count(*) from user_nested_tables;
    
      COUNT(*)
    ----------
            36
    
    SQL>
    
  • The structure of the Table XML

    I have a batch structure in the XML model: -.

    -client BATCH = 'ABC' name = 'ABC1' type = "ABC_TYPE" >
    -< BATCH_SECTIONS >
    -< SECTION name = 'X' dependence 'NULL' = >
    -< JOB_SECTIONS name = "JOB1" dependency = "NULL" >
    -< JOB >
    < JOB type = "X" sub_type = "xx" dependency = "NULL" / >
    < JOB type = "X" sub_type = "yy" dependency = "NULL" / >
    < JOB type = "X" sub_type = addiction "zz" = "NULL" / >
    < / JOBS >
    < / JOB_SECTIONS >
    < / SECTION >
    -< SECTION name = dependence 'Y' = 'X' >
    -JOB_SECTIONS = "JOB2" dependency name = 'X' >
    -< JOB >
    < type of JOB = 'Y' sub_type = "xx" dependency = "X" / >
    < type of JOB = 'Y' sub_type = "yy" dependency = "X" / >
    < type of JOB = 'Y' sub_type = dependence 'zz' = 'X' / >
    < / JOBS >
    < / JOB_SECTIONS >
    < / SECTION >
    -< SECTION name dependency "Z" = "O" = >
    -< name JOB_SECTIONS = dependence "JOB3" = "NULL" >
    -< JOB >
    < type of JOB = «...» "sub_type = «...» "dependency ="NULL"/ >
    < / JOBS >
    < / JOB_SECTIONS >
    -< name JOB_SECTIONS = dependence "JOB4" = "NULL" >
    -< JOB >
    < type of JOB = «...» "sub_type = «...» "dependency ="NULL"/ >
    < / JOBS >
    < / JOB_SECTIONS >
    < / SECTION >
    < / BATCH_SECTIONS >
    < / BATCH >

    1 batch Structure having a section 3:-X, Y, Z
    2. each section having:-a job-section (section Z with 2 JOB SECTION)
    3. There is a dependency between sections. -realization of there depends on X and Z is completed depend on the realization of Y
    4.Z - section with 2 SECTION of WORK:-JOB3 and JOB4


    My question is that I want to convert this model XML structure in an ORACLE table.

    Concerning
    Amu_2007

    You're going to shred the XML into relational tables, I think.

    mdrake on Forum XMLDB provides details on how to do...

    XMLType view relational content

  • Apple script to check the part of iTunes library XML with another application.

    Y at - there no apple for script

    Set 'share the XML library with other applications iTunes'. under the name selected

    • iTunes
    • Preferences
    • Advanced tab...

    I want to read itunes Media Library .xml, but in the last version of iTunes without xml is created by default,

    so I want this XML created by my application through the apple script.

    iTunes12.4

    I don't think you can change that setting via AppleScript, however once you have enabled then the XML file will be generated and updated every time that the library is updated.

    TT2

  • Apple script to check the part of iTunes XML library with other applications.

    Y at - there no apple for script

    Check "Sharing iTunes library XML with other applications." Of

    • iTunes
    • Preferences
    • Advanced tab...

    I want to read itunes Media Library .xml but lates itunes no xml is created by default,

    so I want this XML created by my application through the apple script.

    iTunes12.4

    https://discussions.apple.com/message/28513383#28513383 - new with the parameter preferably 12.2 iTunes to turn create .xml

    If you really want an AppleScript, I think you should ask on the iTunes for Mac forum, or maybe the OSX Technologies.

Maybe you are looking for

  • Bug in El Capitan Dictionary widget

    The widget dictionary in the dashboard area does not resize to match the text when you look at a definition. Yosemite, it is automatically resized for content of text looking for a Word, and you can also resize the window further if you preferred. Pl

  • Dock Finder icon misbehave?

    My icon Finder is to have this Green Hat, which I can't find any reason... Can someone help me?Thank you

  • Special features of SSD W100

    Yesterday, I bought a w100. I like it. I'm programming Delphi / Visual C++ / Python + Qt... Tomorrow I'll start programming. Is there a development kit for the peculiarities of the w100 (two screens, new icons on windows, tools of toshiba...)? I want

  • Question about graphics card on Satellite P750 - 15 L

    Hello I ve just recently bought this model laptop, my dxdiag tells me it's the Intel HD graphics card but advertising I ve bought said it was 550 GT Nivida, I m wondering if there is some drivers I download so that it can pick up or if I need to cont

  • KB954430 installs whenever I stopped Vista Home Premium 32

    It again me successfully, but there no date every time I stopped since 02/08/09.  Why is this and how do I stop?  I have not updated each time out. Thank you Hugh