How can I obtain the XML

Hello

I have not followed the example of XML file and I want to get items from this XML file. How can I get the XML elements?

Databases
SQL*Plus: Release 10.2.0.3.0 - Production on Tue Jul 24 17:17:55 2012
 
Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.
 
 
Connected to:
Oracle Database 10g Release 10.2.0.3.0 - 64bit Production
 
BANNER
----------------------------------------------------------------
Oracle Database 10g Release 10.2.0.3.0 - 64bit Production
PL/SQL Release 10.2.0.3.0 - Production
CORE    10.2.0.3.0      Production
TNS for Linux: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
XML
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:skos="http://www.w3.org/2004/02/skos/core#">
  <skos:Concept rdf:about="http://my.site.com/#Acoustics">
    <skos:ID>12033</skos:ID>
    <skos:NO>150</skos:NO>
    <skos:ANO>232</skos:ANO>
    <skos:prefLabel>Acoustics</skos:prefLabel>
    <skos:historyNote>http://www.theiet.org/resources/inspec/</skos:historyNote>
    <skos:altLabel rdf:resource="http://my.site.com/#Sound"/>
    <skos:broader rdf:resource="http://my.site.com/#Physics"/>
    <skos:narrower rdf:resource="http://my.site.com/#Aeroacoustics"/>
    <skos:narrower rdf:resource="http://my.site.com/#Vibrations (Acoustics)"/>
    <skos:narrower rdf:resource="http://my.site.com/#Acoustic materials"/>
    <skos:THES>PHYS</skos:THES>
    <skos:STA>Candidate</skos:STA>
  </skos:Concept>
  <skos:Concept rdf:about="http://my.site.com/#Sound">
    <skos:NO>450</skos:NO>
    <skos:ID>1483636</skos:ID>
    <skos:USE>Acoustics</skos:USE>
  </skos:Concept>
</rdf:RDF>
Thanks in advance.

Published by: 876991 on July 26, 2012 12:02

However, if I need to include "skos: narrower" elements then what I have to do? I have to write PL/SQL code to this and this information separately? or I can get the items in the recurring SQL query?

I knew you would ask this, which is why I predicted in my previous answer:

However, if you want to retrieve recurring nodes such as , you must decide how you want the output to look like (collections nested etc..).

So, how do you store repetitive items?

For example, you can use a collection type:

create type narrower_t is object ( res varchar2(2000) );
/

create type narrower_coll is table of narrower_t;
/

select x.ID
     , x.NO
     , cast(
         multiset(
           select res
           from xmltable(
                  xmlnamespaces(
                    'http://www.w3.org/1999/02/22-rdf-syntax-ns#' as "rdf"
                  , 'http://www.w3.org/2004/02/skos/core#' as "skos"
                  )
                , '/skos:narrower'
                  passing x.narrowers
                  columns res varchar2(2000) path '@rdf:resource'
                )
         )
         as narrower_coll
       ) as narrowers
from th_xml t
   , xmltable(
       xmlnamespaces(
         'http://www.w3.org/1999/02/22-rdf-syntax-ns#' as "rdf"
       , 'http://www.w3.org/2004/02/skos/core#' as "skos"
       )
     , '/rdf:RDF/skos:Concept'
       passing t.in_file_1
       columns
         ID         number       path 'skos:ID'
       , NO         number       path 'skos:NO'
       , narrowers  xmltype      path 'skos:narrower'
     ) x
;

Tags: Oracle Development

Similar Questions

  • How can I query the XML file that is stored as a CLOB data?

    Hi people,

    Please see below the example XML file, which is stored in 'os_import_docs', 'document' as a CLOB column.

    I would like to ask this XML file using some select SQL.


    How can I query form below XML?
    <?xml version="1.0" encoding="UTF-8"?>
    <etd>
      <header>
        <AR>000000000</AR>
        <AW>0</AW>
        <CT>S</CT>
        <CU>H</CU>
        <CZ>SS48</CZ>
        <BU>4</BU>
        <CH>0032</CH>
        <CK>2012-11-01</CK>
        <CL>21:18</CL>
        <CW>225</CW>
        <CX>0</CX>
        <CF>SS-CZL18</CF>
        <DV>2</DV>
      </header>
      <account_group id="234">
        <account id="234">
          <invoice id="000742024">
            <da>
              <AR>000742024</AR>
              <AW>0</AW>
              <CT>D</CT>
              <CU>A</CU>
              <CH>0032</CH>
              <BY>31-10-2012</BY>
              <CA>25-10-2012</CA>
              <AB>234</AB>
              <AA>234</AA>
              <BS>88754515</BS>
              <AD>Mike Tyson</AD>
              <AC>Mike Tyson</AC>
              <AZ>CZ6521232465</AZ>
              <AE/>
              <CG>A</CG>
              <AL>A</AL>
              <BZ>.</BZ>
              <AH>Some street</AH>
              <AI/>
              <AF>Some city</AF>
              <AK>Kraj</AK>
              <AG>CZ</AG>
              <AJ>885 21</AJ>
              <CR>21-11-2012</CR>
              <AY>602718709</AY>
              <AV>800184965</AV>
              <AP/>
              <AO/>
              <AQ/>
              <AN/>
            </da>
            <da>
              <AR>000742024</AR>
              <AW>0</AW>
              <CT>D</CT>
              <CU>A</CU>
              <CH>0032</CH>
              <BY>31-10-2012</BY>
              <CA>25-10-2012</CA>
              <AB>234</AB>
              <AA>234</AA>
              <BS>88754515</BS>
              <AD>Mike Tyson</AD>
              <AC>Mike Tyson</AC>
              <AZ>CZ6521232465</AZ>
              <AE/>
              <CG>A</CG>
              <AL>L</AL>
              <BZ>Mike Tyson</BZ>
              <AH>Some street</AH>
              <AI/>
              <AF>Some city</AF>
              <AK>Kraj</AK>
              <AG>CZ</AG>
              <AJ>885 21</AJ>
              <CR>21-11-2012</CR>
              <AY/>
              <AV>800184965</AV>
              <AP/>
              <AO/>
              <AQ/>
              <AN/>
            </da>
            <detaildc CH="0032" AB="234" BS="11888954" BB="32" BA="CZ" AT="" CI="7077329000002340342" AU="" DU="1Z48395" CB="CZK">
              <dc>
                <AW>0</AW>
                <CT>D</CT>
                <CU>C</CU>
                <BY>31-10-2012</BY>
                <CA>25-10-2012</CA>
                <CV>8151</CV>
                <BT>12111</BT>
                <CJ>1</CJ>
                <AM>0</AM>
                <DR>PC</DR>
                <DS/>
                <DO>25-10-2012</DO>
                <DQ>18:42</DQ>
                <CE>1</CE>
                <BH>8151</BH>
                <CY>8151 SHELL MALKOVICE P</CY>
                <DP>049336</DP>
                <DT/>
                <BQ/>
                <BR>500000</BR>
                <CN>30</CN>
                <CM>030</CM>
                <BO>160,00</BO>
                <BF>38,900</BF>
                <BC>6224,00</BC>
                <BI>32,417</BI>
                <CD>B</CD>
                <BG>0,600</BG>
                <BK>31,817</BK>
                <BJ>0,000</BJ>
                <DI>8</DI>
                <BP>20,00%</BP>
                <CC>CZK</CC>
                <BM>5090,67</BM>
                <BN>1018,13</BN>
                <BL>6108,80</BL>
                <BD>5090,67</BD>
                <BE>1018,13</BE>
                <DW>6108,80</DW>
                <CO>Nafta</CO>
              </dc>
            </detaildc>
            <dt>
              <AR>000742024</AR>
              <AW>0</AW>
              <CT>D</CT>
              <CU>T</CU>
              <CH>0032</CH>
              <BY>31-10-2012</BY>
              <CA>25-10-2012</CA>
              <AB>234</AB>
              <AA>234</AA>
              <BS>11888954</BS>
              <BB/>
              <BA>CZ</BA>
              <DG>1</DG>
              <CN>30</CN>
              <CM>030</CM>
              <DF>160,00</DF>
              <DH>litr</DH>
              <DJ>20,00%</DJ>
              <DD>5090,67</DD>
              <DE>1018,13</DE>
              <DC>6108,80</DC>
              <DB>CZK</DB>
              <DA>P</DA>
              <AX/>
              <CQ/>
              <CP/>
            </dt>
            <dt>
              <AR>000742024</AR>
              <AW>0</AW>
              <CT>D</CT>
              <CU>T</CU>
              <CH>0032</CH>
              <BY>31-10-2012</BY>
              <CA>25-10-2012</CA>
              <AB>234</AB>
              <AA>234</AA>
              <BS>11888954</BS>
              <BB/>
              <BA>CZ</BA>
              <DG>2</DG>
              <CN/>
              <CM/>
              <DF>160,00</DF>
              <DH>litr</DH>
              <DJ/>
              <DD>5090,67</DD>
              <DE>1018,13</DE>
              <DC>6108,80</DC>
              <DB>CZK</DB>
              <DA/>
              <AX/>
              <CQ/>
              <CP/>
            </dt>
            <dt>
              <AR>000742024</AR>
              <AW>0</AW>
              <CT>D</CT>
              <CU>T</CU>
              <CH>0032</CH>
              <BY>31-10-2012</BY>
              <CA>25-10-2012</CA>
              <AB>234</AB>
              <AA>234</AA>
              <BS>11888954</BS>
              <BB/>
              <BA>CZ</BA>
              <DG>19</DG>
              <CN/>
              <CM/>
              <DF/>
              <DH/>
              <DJ/>
              <DD>5090,67</DD>
              <DE>1018,13</DE>
              <DC>6108,80</DC>
              <DB>CZK</DB>
              <DA/>
              <AX/>
              <CQ/>
              <CP/>
            </dt>
            <dt>
              <AR>000742024</AR>
              <AW>0</AW>
              <CT>D</CT>
              <CU>T</CU>
              <CH>0032</CH>
              <BY>31-10-2012</BY>
              <CA>25-10-2012</CA>
              <AB>234</AB>
              <AA>234</AA>
              <BS>11888954</BS>
              <BB/>
              <BA>CZ</BA>
              <DG>8</DG>
              <CN/>
              <CM/>
              <DF/>
              <DH/>
              <DJ/>
              <DD>5090,67</DD>
              <DE>1018,13</DE>
              <DC>6108,80</DC>
              <DB>CZK</DB>
              <DA/>
              <AX/>
              <CQ/>
              <CP/>
            </dt>
          </invoice>
        </account>
      </account_group>
      <footer>
        <AR>999999999</AR>
        <AW>0</AW>
        <CT>S</CT>
        <CU>T</CU>
        <CZ>SS48</CZ>
        <BU>4</BU>
        <CH>0032</CH>
        <CK>2012-11-01</CK>
        <CL>23:04</CL>
        <CW>225</CW>
        <BX>1</BX>
        <CS>7</CS>
        <BW>0000000000000610880</BW>
      </footer>
    </etd>
    example - does not:
        select  x.*
        from os_import_docs d
             ,XMLTABLE('/etd/header'
                        PASSING httpuritype(d.document).getXML()
                        COLUMNS 
                           response_status varchar2(50) PATH 'AR'
                        )  x
       where d.object_id = 2587058
         and rownum = 1;  
    
     
    ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: 6196, maximum: 4000)
    Thank you very much
    Tomas

    No error on my side.

    I just put in the comments the two columns:

    SQL> SELECT h.AR
      2       , h.CK
      3       , h.CF
      4       , i.AR4
      5       , i.AD
      6       , ddc.*
      7       --, i.AR5
      8       --, i.DG
      9       , ddn.*
     10       , h.CZ
     11       , h.BU
     12       , h.CH
     13       , h.CK7
     14       , h.CL
     15  FROM os_import_docs d,
     16       XMLTable(
     17         '/etd'
     18         PASSING xmlparse(document d.document)
     19         COLUMNS
     20           AR        varchar2(10) PATH 'header/AR'
     21         , CK        varchar2(10) PATH 'header/CK'
     22         , CF        varchar2(10) PATH 'header/CF'
     23         , CZ        varchar2(10) PATH 'footer/CZ'
     24         , BU        varchar2(10) PATH 'footer/BU'
     25         , CH        varchar2(10) PATH 'footer/CH'
     26         , CK7       varchar2(10) PATH 'footer/CK'
     27         , CL        varchar2(10) PATH 'footer/CL'
     28         , invoices  xmltype      PATH 'account_group/account/invoice'
     29       ) h
     30     , XMLTable(
     31         '/invoice'
     32         PASSING h.invoices
     33         COLUMNS
     34           AR4       varchar2(10) PATH 'da/AR'
     35         , AD        varchar2(20) PATH 'da/AD'
     36         --, AR5       varchar2(10) PATH 'dt/AR'
     37         --, DG        varchar2(10) PATH 'dt/DG'
     38         , detaildc  xmltype      PATH 'detaildc'
     39         , detaildn  xmltype      PATH 'detaildn'
     40       ) i
     41     , XMLTable(
     42         '/detaildc'
     43         PASSING i.detaildc
     44         COLUMNS
     45           DU        varchar2(10) PATH '@DU'
     46         , CB        varchar2(10) PATH '@CB'
     47         , DO        varchar2(10) PATH 'dc/DO'
     48         , CY        varchar2(20) PATH 'dc/CY'
     49         , BM        varchar2(10) PATH 'dc/BM'
     50         , CO        varchar2(30) PATH 'dc/CO'
     51       ) (+) ddc
     52     , XMLTable(
     53         '/detaildn'
     54         PASSING i.detaildn
     55         COLUMNS
     56           CI        varchar2(20) PATH '@CI'
     57         , BY_       varchar2(10) PATH 'dn/BY'
     58         , BM6       varchar2(10) PATH 'dn/BM'
     59       ) (+) ddn
     60  ;
    
    AR         CK         CF         AR4        AD                   DU         CB         DO         CY                   BM         CO                             CI                   BY_        BM6        CZ         BU         CH         CK7        CL
    ---------- ---------- ---------- ---------- -------------------- ---------- ---------- ---------- -------------------- ---------- ------------------------------ -------------------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
    000000000  2012-10-31 SS-CZL19   EI08P4993  ING. ANTONIN GURICA, 1Z48395    EUR        16-10-2012 ASFINAG POST_MAUT    1940,60    Dalnicni znamka                                                           SS47       4          0032       2012-10-31 01:25
    000000000  2012-10-31 SS-CZL19   EI08P4993  ING. ANTONIN GURICA, 1Z48395    EUR        17-10-2012 ASFINAG POST_MAUT    1328,10    Dalnicni znamka                                                           SS47       4          0032       2012-10-31 01:25
    000000000  2012-10-31 SS-CZL19   EI08P4993  ING. ANTONIN GURICA, 1Z48395    EUR        23-10-2012 ASFINAG POST_MAUT    1831,80    Dalnicni znamka                                                           SS47       4          0032       2012-10-31 01:25
    000000000  2012-10-31 SS-CZL19   EI08P4993  ING. ANTONIN GURICA, 1Z48395    EUR        24-10-2012 ASFINAG POST_MAUT    867,30     Dalnicni znamka                                                           SS47       4          0032       2012-10-31 01:25
    000000000  2012-10-31 SS-CZL19   EI08P4993  ING. ANTONIN GURICA, 1Z48396    EUR        23-10-2012 ASFINAG POST_MAUT    2749,00    Dalnicni znamka                                                           SS47       4          0032       2012-10-31 01:25
    
    
    
    000000000  2012-10-31 SS-CZL19   EI3496334  ING. ANTONIN GURICA, 1Z48397    HUF        29-10-2012 ALLAMI AUTOPALYAKEZE 233,50     Dalnicni znamka                                                           SS47       4          0032       2012-10-31 01:25
    000000000  2012-10-31 SS-CZL19   EI4DG3954  ING. ANTONIN GURICA,            EUR        22-10-2012 1047061              24267,70   Dalnicni znamka                                                           SS47       4          0032       2012-10-31 01:25
    000000000  2012-10-31 SS-CZL19   EI4E34269  ING. ANTONIN GURICA,            EUR        23-10-2012 TBS VIACARD          5671,60    Dalnicni poplatek                                                         SS47       4          0032       2012-10-31 01:25
    000000000  2012-10-31 SS-CZL19   EI8QF1520  ING. ANTONIN GURICA, 1Z48395    EUR        29-10-2012 LAMAIN               200,10     Dalnicni znamka                                                           SS47       4          0032       2012-10-31 01:25
    
    78 rows selected
     
    
  • How can I parse the XML file using the Oracle's Sql query.

    Hi all
    I have an XML file that must analyze and display the result according to the following example
    Can you please recommend me an approach to get the result.

    For example, here is my XML:

    <? XML version = "1.0" encoding = "UTF-8"? >
    < xmlns:pi = "urn:com.workday / picof pi: Extract_Employees" >
    < IP: employee >
    < Additional_Information: pi > < pi: pi function: PriorValue = "" > Intern - masteri¿½s < / pi: function >
    < / pi: Additional_Information >
    < / pi: employee >
    < / pi: Extract_Employees >

    Databases:

    Oracle Database 10 g Enterprise Edition release 10.2.0.3.0 - production

    SQL > SELECT * FROM NLS_DATABASE_PARAMETERS;

    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS.,.
    WE8ISO8859P1 NLS_CHARACTERSET
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI. SSXFF AM
    NLS_TIMESTAMP_FORMAT-DD-MON-RR HH.MI. SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI. SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI. SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    BINARY NLS_COMP
    NLS_LENGTH_SEMANTICS BYTES
    NLS_NCHAR_CONV_EXCP FAKE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_RDBMS_VERSION 10.2.0.3.0



    The Xml file above with UTF-8 character sets which is multi bytes.

    But in my character database is WE8ISO8859P1 for example ISO-8859-1 (single-byte character set)

    SQL > SELECT extractValue (Value (x) ', ' / pi:Employee/pi:Additional_Information/pi:Job_Title','xmlns:pi="urn:com.workday/picof ' ')
    TABLE (XMLSequence (extract (XMLType (bfilename('XMLDIR','XML_Issue_227176.xml'), nls_charset_id ('AL32UTF8')),'/ pi: Employee ',' xmlns:pi="urn:com.workday/picof"'))) x;)))


    which gives the following error:

    Error:
    ORA-31011: XML parsing failed
    ORA-19202: an error has occurred in the processing of XML
    LPX-00200: could not convert from UTF-8 encoding to ISO-8859-1
    Error on line 1
    ORA-06512: at "SYS." XMLTYPE", line 295
    ORA-06512: at line 1

    Also I tried with this
    SQL > SELECT convert (extractValue (Value (x), ' / pi:Employee/pi:Additional_Information/pi:Job_Title','xmlns:pi="urn:com.workday/picof"'),'WE8ISO8859P1 ', 'UTF8'))
    TABLE (XMLSequence (extract (XMLType (bfilename('XMLDIR','XML_Issue_227176.xml'), nls_charset_id ('AL32UTF8')),'/ pi: Employee ',' xmlns:pi="urn:com.workday/picof"'))) x;)))

    The same error is according to the above error message.

    Please help in this regard.

    Thank you and best regards,
    Sandrine

    You know the code of real character behind "" or you receive the file like that?

    For the record, "" is the wildcard of UTF-8 (0xEFBFBD), so that the original character of the means has already been replaced and that very probably the file was not coded properly in the first place.

    With respect to the resolution of the problem, try another method to read the file:

    SQL> select value from nls_database_parameters where parameter = 'NLS_CHARACTERSET';
    
    VALUE
    ----------------------------------------
    WE8ISO8859P15
    
    SQL> SELECT x.*
      2  FROM XMLTable(
      3         XMLNamespaces(default 'urn:com.workday/picof')
      4       , '/Extract_Employees/Employee'
      5         passing xmltype(
      6                   dbms_xslprocessor.read2clob(
      7                     'COP_DIR'
      8                   , 'XML_Issue_227176.xml'
      9                   , nls_charset_id('AL32UTF8')
     10                   )
     11                 )
     12         columns job_title varchar2(30) path 'Additional_Information/Job_Title'
     13       ) x
     14  ;
    
    JOB_TITLE
    ------------------------------
    Intern -  Master¿s
     
    
  • How can I obtain the data by programming block

    Dear friends,

    I use Oracle Forms version 6.0.8.26.0 and need to know how I can get the data by programming block elements, for use during execution.

    Let's say I have a data block called 'BLK_TEST', what elements are "ITEM1", "ITEM2" and "ITEM3" - I need my form to look inside 'BLK_TEST' programmatically and display its "ITEM1", "ITEM2" and 'ITEM3' elements to the user. I just need to know if there's a top that looks at "BLK_TEST" and for this job. I thought it might be get_block_property.

    Furthermore, is it possible for me to find all the data blocks by programming as well? In the affirmative, please tell me.

    Sincere thanks and best regards,

    Franklin

    You can search in the online help.
    At get_block_property you have firt_item and last_item, which returns the first element of your block, and the last_item of your block.
    You can combine these properties with the property get_item_property(item_name,NEXTITEM) in a loop inside your block and show all the item you need.
    Hope it helps you,
    Fabrizio.

    If this answer is useful or appropriate, please mark. Thank you.

  • How can I set the xml file data button colors?

    I read an xml file to create a group of buttons. I also use a Repeater to create the Group of buttons.

    I am the created buttons, but am unable to correctly set the fill color. I get the error 'Implicit coercion of a value of type String to a type unrelated to Array' if I try to plug r.currentItem.value, even when I used an Actionscript function to convert a string to an array of 2 uints. Is there a solution of casting of simple type that I'm simply not?

    Any help would be greatly appreciated!

    The xml file has the following format:

    < color >
    < color >
    < name > cantaloupes < / name >
    < value > 0xFFCC66 < / value >
    < / color >
    < color >
    < name > banana < / name >
    < value > 0xFFFF66 < / value >
    < / color >
    < color >
    < name > lemon < / name >
    < value > 0xFFFF00 < / value >
    < / color >
    < color >
    < name > honeydew < / name >
    < value > 0xCCFF66 < / value >
    < / color >
    < / color >

    The code I have so far is:

    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' initialize = "colors.send ()" layout = "absolute" > "
    < mx:HTTPService id = "color" url = "assets/colors_standard.xml" resultFormat = "e4x" / > "
    < mx:XMLListCollection id = source="{colors.lastResult.color}"/ "xlc_colors" >
    < mx:TabNavigator left = "0" top = "0" right = low "0" = "0" >
    < mx:Canvas label = "Tab 1" width = "100%" height = "100%" >
    < mx:Accordion width = "200" left = "0" top = "0" low = '0' >
    < mx:Canvas label = "Colors" width = "100%" height = "100%" >
    < mx:Label text = "Current color Selection" left = "10" right = "10" top = "10" height = "20" fontWeight = "bold" / >
    < mx:Button label = "Update of colors" left = "10" right = "10" top = "227" height = "22" id = "button_colors_update" / >
    < mx:Canvas height = "189" left is '10' right is "10" top = "30" borderStyle = "outset" backgroundColor = "#e9e9e9" >
    < mx:Tile id = "tile_standard" direction = "horizontal" tileWidth = "25" tileWidth = "25" horizontalAlign = "center" verticalAlign = "middle" borderStyle = "outset" left = "10" right = "10" top = "10" height = "134" backgroundColor = "#ffffff" >
    < mx:Repeater id = "r" dataProvider = "{xlc_colors}" >
    < mx:Button toolTip = "{r.currentItem.name}" height = "15" width = "15" x = "10" y = "10" / > "
    < / mx:Repeater >
    < / mx:Tile >
    < mx:Button label = "Other colors" id = "button_colors_online" height = "22" left = "10" right = "10" low = "10" / >
    < / mx:Canvas >
    < / mx:Canvas >
    < / mx:Accordion >
    < / mx:Canvas >
    < / mx:TabNavigator >
    < / mx:Application >

    Here you go:


    http://www.Adobe.com/2006/mxml '.
    verticalAlign = "middle" horizontalAlign = "center".
    layout = "horizontal" >


    [Bindable]
    private var array: Array = ['blue', 'red'];
    private var _color:String = "red";

    private void fillColors(c:String): Array {}
    StyleManager.getColorName ('red'), StyleManager.getColorName ('blue')
    return [c, c];
    }
    ]]>




  • How can I obtain and load the service pack 2 for my sony vaio 2000

    How can I obtain and load the service pack 2 for my Sony Vaio 2000 (model year) that I need it to have

    installation of some software.

    Rex

    I suggest to download the full Windows XP Service Pack 3 (not 2) and copy to a CD for future use, here http://www.microsoft.com/download/en/details.aspx?id=24

  • How can I correct the error that my XML page cannot be displayed?

    When I run the Microsoft Fix it Center each item comes up with the same answer that I can't watch my XML input using XSL style sheet and to correct the error. How can I fix the error?

    Hello

    ·         Who solve this are you referring to and why do you run the hotfix on the system?

    ·         Outside this Web site you are able to view websites without any problems?

    ·         What browser are you using and what version?

    The error means that web browser is unable to display information from a database file (XML) using the rules defined for the display of information (XSL). Rules XSL on the site you access may be unavailable, corrupted, or currently modified and made available later.

    If it is not then your site, I suggest to try after a while and check if you are able to view the Web site. If this is your site then, I suggest you check the code you have created and then try to view the Web site.

    If you use internet explore, then I suggest you to reset Internet explorer and see if the problem is resolved. Follow the steps mentioned in the article below.

    How to reset Internet Explorer settings

    http://support.Microsoft.com/kb/923737

    I suggest you return the item mentioned below.

    Error message "Cannot display the Page XML" when you open an XML file as an attachment in an e-mail message

    http://support.Microsoft.com/kb/303487

  • How can I get the original xml code to a webservice called...

    I use WL 10.3.

    I created a WebService using WSDL as a starting point. The Web service is running as it should, but now I want to go back to the original XML that was passed in.

    I tried to collect the data to a string using JAXB, but he complains that there is no notation for @XmlRootElement - so, who does not work.

    I also tried to access the original data by injecting the WebServiceContext, but this value is always zero (not sure why that doesn't work)...


    Is someone can you PLEASE tell me how can I get the original XML code?

    You can use managers to this end, for example,

    package server.handlers;
    
    import javax.xml.transform.Source;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.stream.StreamResult;
    import javax.xml.ws.LogicalMessage;
    import javax.xml.ws.handler.LogicalHandler;
    import javax.xml.ws.handler.LogicalMessageContext;
    import javax.xml.ws.handler.MessageContext;
    
    public class ServiceLogicalHandler implements LogicalHandler {
    
        public boolean handleMessage(LogicalMessageContext context) {
            Boolean direction = (Boolean) context.get(LogicalMessageContext.MESSAGE_OUTBOUND_PROPERTY);
            if (direction) {
                System.out.println("LOGICAL - DIRECTION IS OUTBOUND");
            } else {
                System.out.println("LOGICAL - DIRECTION IS INBOUND");
            }
            return true;
        }
    
        public boolean handleFault(LogicalMessageContext context) {
            Boolean direction = (Boolean) context.get(LogicalMessageContext.MESSAGE_OUTBOUND_PROPERTY);
            if (direction) {
                System.out.println("LOGICALFAULT - DIRECTION IS OUTBOUND");
    
                LogicalMessage message = context.getMessage();
                Source payload = message.getPayload();
                try {
                    Transformer transformer = TransformerFactory.newInstance().newTransformer();
                    transformer.transform(payload, new StreamResult(System.out));
                } catch (TransformerException ex) {
                    ex.printStackTrace();
                }
            } else {
                System.out.println("LOGICALFAULT - DIRECTION IS INBOUND");
            }
            return true;
        }
    
        public void close(MessageContext context) {
        }
    }
    

    More information on managers can be found here: http://www.javaworld.com/javaworld/jw-02-2007/jw-02-handler.html

  • How can I change the name of the search engine in the search bar?

    I just added the Oxford Dictionary to my list of search engines in the search bar. Only problem is that it does not say Oxford Dictionary. It says ONO.

    How can I change the list of search engines, I can change the more evocative name?

    Are there not such somewhere or an XML file that contains these entries?

    Firefox gathers information about the plugins of research from two sources - the default searchplugins folder that is shared by all profiles Firefox (C:\Program Files (x 86) \Mozilla Firefox\searchplugins) and the folder searchplugins in your active profile. They are combined into a data file named search.json.

    I read a few threads on the net about the modification of these search plugins, and it seems to require some trial and error. Assume that the ONO plugin is in your profile.

    Under help > troubleshooting information, you can click the open folder containing (pre-Fx12) or folder (Fx12) Show to open your folder of the currently active profile. Snap searchplugins. Here are the XML files you can edit in your favorite text editor. If you break one, you can probably just download again, but if you're a cautious type, go ahead and make a backup.

    After the change the short name and save and close the file, change your probably not will immediately appear in Firefox because some trigger event may be necessary to update search.json. If the restart of Firefox is not enough, you can try to rename search.json before restarting, but this can cause you to lose the keywords that you have assigned through the dialog box handle the search engines.

    In any case, it's all improvised that have not tried-TI-me-even, then I suggest to do some additional research.

    (If there is an Add on very practical to do this, I don't find it.)

  • How can I check the levels of ink on deskjet 2050 on Windows 8?

    How can I check the levels of ink on deskjet 2050 on Windows 8?

    Hello

    If you do not have the full features software download and follow HP printer Installation Wizard to obtain and install the latest version of the software automatically:

    http://h10025.www1.HP.com/ewfrf/wc/softwareDownloadIndex?cc=us & LC = on & JumpID = ex_r4155/HHO/IPG/ccdoc/piw / & softwareitem = MP-115766-2

    Once you have the complete software use the Hp software to locate the estimated ink levels, you can access it from Windows 8 start screen by clicking on the icon HP Deskjet 2050:

    http://support.HP.com/us-en/document/c02049595

  • How can I get the windows update? X8024400A error)

    I did a restore after my pro windows xp crashed now can't do windows update! How can I get the windows update? I get an error from the site Web has encountered a problem and cannot display the page you are trying to view. The options provided below may help you solve the problem. X8024400A error)

    Please help me!

    I could not download my favorite Antivirus unable to get updates.  Only a few site I couldn't even. It seemed to get worse until:

    I fould a place that gave me these instructions:

    1. Reregister the BITS files and Windows Update files. To do this, type the following commands at a command prompt. Press ENTER after you type each command.

      • Regsvr32.exe atl.dll
      • Regsvr32.exe urlmon.dll
      • Regsvr32.exe mshtml.dll
      • Regsvr32.exe shdocvw.dll
      • Regsvr32.exe browseui.dll
      • Regsvr32.exe jscript.dll
      • Regsvr32.exe vbscript.dll
      • Regsvr32.exe scrrun.dll
      • Regsvr32.exe msxml.dll
      • Regsvr32.exe msxml3.dll
      • Regsvr32.exe msxml6.dll
      • Regsvr32.exe actxprxy.dll
      • Regsvr32.exe softpub.dll
      • Regsvr32.exe wintrust.dll
      • Regsvr32.exe dssenh.dll
      • Regsvr32.exe rsaenh.dll
      • Regsvr32.exe gpkcsp.dll
      • Regsvr32.exe sccbase.dll
      • Regsvr32.exe slbcsp.dll
      • Regsvr32.exe cryptdlg.dll
      • Regsvr32.exe oleaut32.dll
      • Regsvr32.exe ole32.dll
      • Regsvr32.exe shell32.dll
      • Regsvr32.exe initpki.dll
      • Regsvr32.exe c:\windows\system32\wuapi.dll
      • Regsvr32.exe c:\windows\system32\wuaueng.dll
      • Regsvr32.exe wuaueng1.dll
      • Regsvr32.exe c:\windows\system32\dllcache\wucltui.dll
      • Regsvr32.exe c:\windows\system32\wups.dll
      • Regsvr32.exe wups2.dll
      • Regsvr32.exe wuweb.dll
      • Regsvr32.exe qmgr.dll
      • Regsvr32.exe qmgrprxy.dll
      • Regsvr32.exe c:\windows\system32\wucltux.dll
      • Regsvr32.exe c:\windows\system32\muweb.dll
      • Regsvr32.exe c:\windows\system32\wuwebv.dll
    2. Reset Winsock. To do this, type the following command at a command prompt and press ENTER:
      netsh winsock reset
    3. If you are running Windows XP or Windows Server 2003, you must set the proxy settings. To do this, type the following command at a command prompt and press ENTER:
      Proxycfg.exe d
    4. Restart the BITS service and the Windows Update service. To do this, type the following commands at a command prompt. Press ENTER after you type each command.
      • net start bits
      • net start wuauserv
    5. If you are running Windows Vista or Windows Server 2008, erase the BITS queue. To do this, type the following command at a command prompt and press ENTER:
      Bitsadmin.exe/Reset /allusers
    6. Install the latest Windows Update Agent. For more information, click on the number below to view the article in the Microsoft Knowledge Base:
      949104 (http://support.microsoft.com/kb/949104/) how to obtain the latest version of the Windows Update Agent to help manage updates on a computer
    7. Restart the computer.

    After doing these, well most of them work. When I clicked on OK, but some are not. All of this worked!   I was able to update.  I was about to throw my computer!

    I don't know the tip you give here would have worked more quickly.  I just couldn't not here. Something was originally internet Exployer of do not leave me here.

    I had to work on him. Now everything seems to work very well. I have sort of my breatgh again and wory that error could haoppen again.

    1 million for your help thanks. It's great to have a place like this with pro like you here.  Much appreciated by a non pro like me.  Great place to learn more about computers.

  • How can I cancel the keys Fn on my Aspire

    How can I cancel the Fn blue only accidentally obtained keys lit? I tried the ctl + Fn + shift key twice the thing and it doesn't work.  Thank you

    FN + numLock

  • I lost the internet connection after acceptance of your latest updates. How can I cancel the updates?

    I lost the internet connection after acceptance of your latest updates. How can I cancel the updates?

    Debbie

    How do you know that the loss of your internet connection has nothing to do with the Windows updates? You must find the reason for the loss of the connection.

    How do you connect? Is a wired or wireless with a modem or a router? If a router is the router shared with another computer and this computer can connect to the internet? You need to determine if the problem is a fault on your computer or a failure to connect to your internet access provider?

    What error messages are reported?

    Event Viewer reports

    1. normally, when an error occurs on your computer looking in Event Viewer should be your starting point to find a solution. More related system errors are recorded and get an exact copy of the relevant report is important. Unfortunately, is not easy to understand reports and most of the users computer need help with their interpretation. I have to say later interpretation.

    2 Event Viewer includes three main newspapers of Windows. Here's the Application, security, and system. For purposes of troubleshooting system is by far the most important.

    3. to access the system log, select Start, Control Panel, administrative tools, Event Viewer, in the list on the left of the window select Windows and the system logs. Place the cursor on the system, right click and select filter current log. Check the front of the error and click OK and see you only reports errors. Click the Date and time column header to sort. You may need to click a second time to see the last report above.

    4. a tip for posting copies of error reports! Run Event Viewer and double-click the error you want to copy. Select the Details tab and check the box in front of the XML view. Click the copy button to place a copy in the Clipboard and close Event Viewer. Now start your message and paste it into the body of the message. Make sure that it is the first dough right out of the event viewer.

    5. He cautioned against three types of reports, information, and reports errors. In most situations, it is the error reports that offer the best information but sometimes WARNING reports provide useful clues.

    6. all reports have stamps date and hour and when troubleshooting, it is important to focus on the latest reports. Reports of studies from the point when the computer is started, and then check if a similar report appeared in the previous session. If errors do not repeat investigation as to why they happen is wasted effort.

    7. in the individual reports the most important information is the event ID and Source such as these help when looking for help on the internet. The description is just as important and copy the exact text to use as search criteria greatly helps achieve better results when using Google. Not paraphrase descriptions when other people asking for help.

  • Display screen: How can I change the contrast on my screen

    How can I change the contrast on my screen

    LimeRicky wrote:

    How can I change the contrast on my screen

    Using contrast (and perhaps, brightness, if desired/necessary) controls on the front of the monitor.  (If you have a portable computer, see the documentation that accompanies it.)

    Bruce Chambers

    Help us help you:
    http://www.CatB.org/~ESR/FAQs/smart-questions.html

    http://support.Microsoft.com/default.aspx/KB/555375

    They who can give up liberty to obtain a little temporary safety deserve neither liberty nor safety. ~ Benjamin Franklin

    A lot of people could die rather that thinking; in fact, most do. ~ Bertrand Russell

    The philosopher never killed the priests, while the priest killed a large number of philosophers.
    ~ Denis Diderot

  • How can I update the rubrics with WebServices?

    How can I update the rubrics with WebServices?

    /Anyone/ has some success with this?

    It becomes important to our business objectives in order to solve the problems within the control elements.

    I can't enter the number of line by line in order to uniquely identify it. How can I get that number, so I can send it with xml "update"?

    A little nudge in the right direction would be much appreciated.

    Aaron.

    You must use a field on the form as the one on the line items, NOT the line number that appears in the journal of the line item. If I understand correctly, the LineItemIdentifier can be any field on the form, even the short description. It is best if you know you will use web services to update the line items, you add a (potentially hidden) field to the form and fill that with unique values when positions are created. If you are working with existing elements of line, then you must choose a field that will be usually unique within a single record and hope, you don't have a lot of duplicates.

Maybe you are looking for

  • How can access to about: support be blocked?

    We want to block access to about: supports, because our public users can reset Firefox from the site.

  • Supporting files outside of the .exe file

    I have a labview executable that uses resources. Currently I use resources by giving the path to the file. This becomes a problem when downloaded files executable support on the Internet and accessible from there. It loads only the exe and the misses

  • Acer Aspire Switch 10 (SW5-011-18R3) missing drivers after win 10 reinstall

    If there was a problem in that I had to completely reinstall the operating system on a switch sucks. I installed a new copy of windows (via usb) 10 at the end missed me drivers for several pieces of equipment, by checking the section support pilot gi

  • HP video G70-246US up to 1gig?

    I bought this laptop with the knowledge of the seller that goes from video memory to 1 GB. From now on, I use only 64 mbs on the Accelerator from Intel. I tried to go into the bios, but there is no options to increase memory. Any ideas on what I'm mi

  • FSX Gold Edition - Disc 2 does not recognize

    I can't install FSX Deluxe Gold Edition, disk 1 installs correctly, then asks me to put in disk 2 and it doesn't seem to recognize the 2nd disc, HELP Frustrated