Problem by querying the Excel XML spreadsheet (namespace)

Hello

I have a file of Excel (2003) recorded as XML spreadsheet that I wish I could query in the database (10 gr 2) using extract/extractvalue. Somehow, the definition of this file namespace is preventing me from reading the values in the file. The excerpt/extractvalue function returns empty values (NULL). Can someone help me with an example how to query individual nodes in this file?

Here is the query/XML:
WITH x AS
     (SELECT HTTPURITYPE ('http://www.dataliberation.nl/newnxl/docs/F2083/xmltestsheet.xml').getxml () xmldoc
      FROM   dual)
select  extract(xmldoc,'/Workbook/DocumentProperties','xmlns="urn:schemas-microsoft-com:office:office"') doc_properties
,       extractValue(xmldoc, '/Workbook/DocumentProperties/Author')      author
from   x
Thanks in advance,
Christian

I originally written/tested on 11.1.0.6, but I just it ran cleanly on 10.2.0.4 as well.

Tags: Oracle Development

Similar Questions

  • Query the Excel problem

    Hello

    I have create a cfm to export the data of my query, qOrds (coming from my cfc).

    In fact, I have a button in flex that when I click, needs to export data to Excel for my request.
    My flex button calls the following function:

    My function in Flex

    public void RetrieveExcel (): void
    {
    var urll:URLRequest = new URLRequest (" http://bang:8500/dcsnew/Export2xls.cfm"); ")

    navigateToURL (url, "_blank");

    }




    TextHERE's my Exportt2xls.cfm

    < cfinvoke component = "mycfc.cfc" method = "getOrds" returnvariable = "qOrds" > "
    < name cfinvokeargument = "mydate" value = "#url.mydate #" >
    < / cfinvoke >

    < CFCONTENT TYPE = "application / vnd.ms - excel" >
    < name cfheader = "Content-Disposition" value = "filename = report.xls" >

    < cfquery name = "exportdata" dbtype = "query" >
    SELECT *.
    OF qOrds
    < / cfquery >

    < table >

    < cfoutput >
    < b >
    < cfloop list = "" #exportdata.columnlist # "index ="TDFIELD">"
    < td > #TDFIELD # < table >
    < / cfloop >
    < /tr >
    < / cfoutput >

    < cfoutput query = "exportdata" >
    < b >
    < cfloop list = "" #exportdata.columnlist # "index ="COLUMNNAME">"
    #exportdata [COLUMNNAME] [exportdata.currentrow] # < td > < table >
    < / cfloop >
    < /tr >
    < / cfoutput >

    < cfreturn > #exportdata #.




    I have an argument to date I want to spend at the MTC.
    But when running the function, it gives me the following error:

    "Mydate element is undefined in URL."

    Where I have to pass the variable "mydate" in my flex code.

    Any help would be much appreciated.



    "var urlString:String = http://bang:8500/dcsnew/Export2xls.cfm?myDate= ' + myDataVar;
    var url: URLRequest = new URLRequest (urlString);

  • Cannot locate the Excel 2007 spreadsheet files after uninstalling Firefox

    Trying to open spreadsheets with Explorer that were registered with Firefox as browser. Are worksheets related to the browser? If this is the case, I plead ignorance. Is there anyway to recover? I am a bit technologically challenged then you please answer in layman's language. I reinstalled Firefox but no cigar. TKS so much! Hope this makes sense...

    Hello dflhoo, you are sure that you have downloaded and opened not only spreadsheets directly with excel (in the latter case that they downloaded to a temporary location where they are deleted after a one-time-use)?

    downloaded files normally are not related to your browser - they will always be accessible without any problems after you have uninstalled or switched browsers and are found at the place where you downloaded the original to (in default firefox, the download in your user folder folder), the file system

  • Problem in obtaining the root XML element. (without prefix)

    Hi all

    my xml is as below.

    < ns1:abcd >
    < ns2: a > 1 < / ns2: a >
    < ns2:b > 2 < / ns2:b >
    < / ns1:abcd >

    If I try to retrieve the value of the root of the xml document.

    Myroot node = doc.getDocumentElement ();

    String result = myroot.getNodeName ();

    My output is ns1:abcd... I want only 'abcd '...

    Also if I try to print myroot.getPrefix, myroot.getNamespaceURI... all these values are null.

    My xml will not always have the same namespaces... starting from the xml inbound I must first check for namespaces... Please give me an idea.

    I think so.. I need an evaluation space names to...

    Please help me in this regard.

    Thank you
    Sabarisri. N

    Hi Sabarisri,

    Please try the following code:

    import java.io.StringReader;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.xml.sax.InputSource;
    
    public class Runner2 {
        public static void main(String[] args) {
            String xmlString =
                "" +
                "  1" +
                "  2" +
                "";
    
            try {
                InputSource is = new InputSource(new StringReader(xmlString));
                DocumentBuilder docBuilder =
                    DocumentBuilderFactory.newInstance().newDocumentBuilder();
                Document document = docBuilder.parse(is);
                Element element = document.getDocumentElement();
                System.out.println(element.getLocalName());
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    }
    

    Kind regards
    Pino

  • How to query the attributes of xml documents

    I want to query only the details in the number = "705230" id (id is an attribute)

    I tried, but does not help. I should be able to query the value of the core_org_id attribute

    Select extract (CLOB_DATA, ' PcrDocument/PcrOrganization/core_org_id) CORE_ORG_ID of pcr_files where existsNode (CLOB_DATA, ' PcrDocument/PcrOrganization/questions/problem [@id = "705230"]') = 1;
    -returns nothing...

    I tried to extract the value for the id of the issue for R_DATE & R_REVIEW_DATE = 705230, but unable to iam.
    The data for all the questions is returned.

    Here is the query used...
    Select extract (CLOB_DATA, 'PcrDocument, PcrOrganization, questions, problem') ISSUE of pcr_files where existsNode (CLOB_DATA, ' PcrDocument/PcrOrganization/questions/problem [@id = "705230"]') = 1;


    Here is the part of the XML document iam mark on...

    -< ns1:PcrDocument id = "PCR-13562" title = "disclosures of EU - CE-1060/2009" version = '1' pcrPublishDate = "' 2012-01 - 11 T 12: 49:02" container = "http://www.w3.org/2001/XMLSchema" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:ns1 = "http://integration.mysite.com/ServiceSchema/v3" > "
    -ns1:PcrOrganization core_org_id = "345840" >
    < ns1:PcrLinkedTo value = "ISSUE" / >
    -< ns1:AdditionalInfo >
    < ns1:Info type = "AdditionalInfo_QuartelyReport_URL" > < br > < other >MGH< / ns1:Info >
    < / ns1:AdditionalInfo >
    -< ns1:Issues >
    -< ns1:Issue id = "705230" >
    -< ns1:AdditionalInfo >
    < ns1:Info type = "R_DATE" > credit Release Date: April 9, 2010 < / ns1:Info >
    < ns1:Info type = "R_REVIEW_DATE" > credit last review Date: October 12, 2011 < / ns1:Info >
    < ns1:Info type = "AdditionalInfo_QuartelyReport_URL" > < br > < other >MGH< / ns1:Info >
    < / ns1:AdditionalInfo >
    -< ns1:IssueDetail id = "114766798" >
    -< ns1:AdditionalInfo >
    < ns1:Info type = "R_DATE" > credit Release Date: April 9, 2010 < / ns1:Info >
    < ns1:Info type = "R_REVIEW_DATE" > credit last review Date: October 12, 2011 < / ns1:Info >
    < ns1:Info type = "AdditionalInfo_QuartelyReport_URL" > < br > < other >MGH< / ns1:Info >
    < / ns1:AdditionalInfo >
    < / ns1:IssueDetail >
    < / ns1:Issue >
    -< ns1:Issue id = "727193" >
    -< ns1:AdditionalInfo >
    < ns1:Info type = "R_DATE" > credit Release Date: April 9, 2010 < / ns1:Info >
    < ns1:Info type = "R_REVIEW_DATE" > credit last review Date: October 12, 2011 < / ns1:Info >
    < ns1:Info type = "AdditionalInfo_QuartelyReport_URL" > < br > < other >MGH< / ns1:Info >
    < / ns1:AdditionalInfo >
    -< ns1:IssueDetail id = "117994574" >
    -< ns1:AdditionalInfo >
    < ns1:Info type = "R_DATE" > credit Release Date: April 9, 2010 < / ns1:Info >
    < ns1:Info type = "R_REVIEW_DATE" > credit last review Date: October 12, 2011 < / ns1:Info >
    < ns1:Info type = "AdditionalInfo_QuartelyReport_URL" > < br > < other >MGH< / ns1:Info >
    < / ns1:AdditionalInfo >
    < / ns1:IssueDetail >
    < / ns1:Issue >
    < / ns1:Issues >
    < / ns1:PcrOrganization >
    < / ns1:PcrDocument >

    Select extract (CLOB_DATA, ' PcrDocument/PcrOrganization/core_org_id) CORE_ORG_ID of pcr_files where existsNode (CLOB_DATA, ' PcrDocument/PcrOrganization/questions/problem [@id = "705230"]') = 1;
    -returns nothing...

    Some remarks (apart the obvious syntax error ' to leave'):

    -You are missing the namespace declaration in the functions existsNode() and extract()
    -You must use extractValue() to extract scalar values
    -Given that core_org_id is an attribute, you must use an attribute axis to access (@core_org_id or attribute::core_org_id)

    SQL> select extractValue( CLOB_DATA
      2                     , '/PcrDocument/PcrOrganization/@core_org_id'
      3                     , 'xmlns="http://integration.mysite.com/ServiceSchema/v3"' ) CORE_ORG_ID
      4  from pcr_files
      5  where existsNode( CLOB_DATA
      6                  , '/PcrDocument/PcrOrganization/Issues/Issue[@id="705230"]'
      7                  , 'xmlns="http://integration.mysite.com/ServiceSchema/v3"' ) = 1
      8  ;
    
    CORE_ORG_ID
    --------------------------------------------------------------------------------
    345840
    
    SQL>
    SQL> select extractValue( value(x)
      2                     , '/Issue/AdditionalInfo/Info[@type="R_DATE"]'
      3                     , 'xmlns="http://integration.mysite.com/ServiceSchema/v3"' ) as R_DATE
      4       , extractValue( value(x)
      5                     , '/Issue/AdditionalInfo/Info[@type="R_REVIEW_DATE"]'
      6                     , 'xmlns="http://integration.mysite.com/ServiceSchema/v3"' ) as R_REVIEW_DATE
      7  from pcr_files t
      8     , table(
      9         xmlsequence(
     10           extract( t.clob_data
     11                  , '/PcrDocument/PcrOrganization/Issues/Issue[@id="705230"]'
     12                  , 'xmlns="http://integration.mysite.com/ServiceSchema/v3"' )
     13         )
     14       ) x
     15  ;
    
    R_DATE                                                                           R_REVIEW_DATE
    -------------------------------------------------------------------------------- --------------------------------------------------------------------------------
    Credit  Release Date: 09-Apr-2010                                                Credit Last Review Date: 12-Oct-2011
     
    

    You don't mention the version of your database.
    The foregoing is deprecated in 11.2, use XMLTable/XMLQuery if you're on 11g.

  • Windows media player to the excel spreadsheet explort music library

    I'm trying my library of windows media player 10 to export to an excel spreadsheet and I can't find a simple way to do it.  Does anyone know how to do this?  Thank you!

    Hello

    There is no option of Microsoft that exports the information of music library to Excel.

    However, you can use your favorite search engine and check if there are any third-party tool that will help you to support your petition.

    NOTE: Microsoft cannot guarantee that problems resulting from the use of third-party software can be resolved. Software using third party is at your own risk.

  • Query results pane should display the entire XML following the execution of the query

    Hi, I'm trying to get the xml output results returned in sqldeveloper returned in full.

    they are truncated to.

    I tried the trick / * xml * / but that is implemented in the form xml cdata codes and other structures of nickname.

    Select xmlserialize (DOCUMENT

    XMLELEMENT ("root",

    XMLAttributes ('http://www.millicom.com' as 'xmlns'),

    XMLAGG)

    XMLELEMENT ("line",

    XMLFOREST (U.username,

    U.user_id,

    U.PASSWORD,

    U.ACCOUNT_STATUS,

    U.LOCK_DATE,

    U.EXPIRY_DATE,

    U.DEFAULT_TABLESPACE,

    U.TEMPORARY_TABLESPACE,

    U.CREATED,

    U.PROFILE,

    U.INITIAL_RSRC_CONSUMER_GROUP,

    U.EXTERNAL_NAME,

    U.PASSWORD_VERSIONS,

    U.EDITIONS_ENABLED,

    U.AUTHENTICATION_TYPE)))

    AS CLOB DASH)

    from dba_users U

    CROSS JOIN (select 1 of the double connect by level < = 10);

    Thanks for any help you can offer.


    JM

    Hi jm,

    In the line of query results, did scroll all the way to the right, then click twice on the «...» "at the end of the line to open the cell editor?

    So again, who does not show all the XML, it may be a problem with the version of the ojdb6.jar in use (11.2.0.3 client or later is required), or whether or not the JDBC OCI/thickness is used.  Read the following discussion: retrieve XMLTYPE based on very slow saved schema

    Kind regards

    Gary

    SQL development team

  • Problem of extracting data from the XLIFF XML file

    Hi again,

    AS3 CS6 Flash Pro

    I have the XML loaded from a Flash panel language translation file strings in an XML variable. Works very well. Traces out - shown below.

    When I try to extract the data as XML < trans-unit >, I get an 1120: access of undefined property unit.

    function completeHandler(event:LoaderEvent):void {
        var stuff:XMLLoader = LoaderMax.getLoader(arrayXMLFiles[0]);
       var moreStuff:XML = LoaderMax.getContent(arrayXMLFiles[0]);
       ssDebug.trace(moreStuff); // this works with output shown below
       ssDebug.trace(moreStuff.xliff.file.body.trans-unit); // - error here
    }
    

    The Trace is here:

    <xliff version="1.0" lang="en" xmlns="http://www.w3.org/XML/1998/namespace">
      <file datatype="plaintext" original="CardJam.fla" source-language="EN">
        <header/>
        <body>
          <trans-unit id="001" resname="IDS_ZXP7_JAM_01">
            <source>If, while you are printing, your printer stops, ...</source>
          </trans-unit>
          <trans-unit id="002" resname="IDS_ZXP7_JAM_02">
            <source>look at the Operator Control Panel (OCP) for the fault description.</source>
          </trans-unit>
          <trans-unit id="003" resname="IDS_ZXP7_JAM_03">
            <source>If the fault is a card jam, open and close the Print Cover (or Options Cover).</source>
          </trans-unit>
          <trans-unit id="004" resname="IDS_ZXP7_JAM_04">
            <source>The printer will initialize and move the jammed card to the Reject Bin.</source>
          </trans-unit>
          <trans-unit id="005" resname="IDS_ZXP7_JAM_TITLE">
            <source>Card Jam</source>
          </trans-unit>
        </body>
      </file>
    </xliff>
    
    

    I found a code by looking at a similar problem - I do not know how to retrieve other data (as I guess) the rest of the HTML in the code. I need to find a better reference with details and examples.

    I fixed it by changing:

    ssDebug.trace(moreStuff.xliff.file.body.trans-unit); -error

    TO:

    ssDebug.trace (moreStuff.file.body ['trans-unit']); -no error

    with results expected (no error):

    If, while you are printing, your printer stops...

    get to the control panel (OCP) operator for the error description.

    If the fault is a card jam, open and close the Print cover (or cover the Options).

    The printer will initialize and move the card stuck in the compartment to reject.

    Card jam

  • problem loading XML default namespace

    I'm loading multiple xml/rss files. For some of them I have to use the namespace (atom feed)

    so I write these lines

    var atom: Namespace = new Namespace ("http://www.w3.org/2005/Atom" "");

    var rssXML:XML = new XML();
    lack of namespace xml = Atom;

    I test this in an outside my program, but when I integrate it in my main program, it seems that it is at odds with all the other xml

    the problem is: xml = Atom namespace default

    How to set a namespace only for an xml object?

    I try different way, but did not get from anywhere

    Thank you


    You can declare the namespace in XML (but do it before you create XML object):

    var namespace1:Namespace = new Namespace("http://www.w3.org/2005/Atom");
    default xml namespace = namespace1;
    var xml1:XML =  ;
    trace(xml1.namespace());
    
    var namespace2:Namespace = new Namespace();
    default xml namespace = namespace2;
    var xml2:XML =  ;
    trace(xml2.namespace());
    
    var namespace3:Namespace = new Namespace("http://www.example.com/schema");
    default xml namespace = namespace3;
    var xml3:XML =  ;
    trace(xml3.namespace());
    

    Trace

    http://www.w3.org/2005/Atom
    
    http://www.example.com/schema
    

    --

    Kenneth Kawamoto

    http://www.materiaprima.co.UK/

  • writing to the excel spreadsheet

    Hi, I have problems when writing to Excel.

    I use the entry in table vi which is comma delimited.

    I can write numeric values in the worksheet. I want to put a string in the first row of the column followed by the data in the lines below, but I can't seem to get this string value.

    Any suggestions? If somebody has got this before?

    Hi Jagwa,

    write the string (row) Firstly, and then write the numbers. Use two write functions and don't forget not to 'Add file' true...

  • It is an intermittent problem, as the excellent files, powerpoint will corrupt network drive.

    It is an intermittent problem, as the excellent files, powerpoint will corrupt network drive. Any help will be much appreciated.

    To avoid this, I'm making sure that files are not left open so much because we run backup incremental three times in a week.

    Files is not very high - about - 2 MB

    Some screenshots are inserted

    Thank you

    Amit

    http://answers.Microsoft.com/en-us/Office/Forum/office_xp-Excel?tab=unanswered&TM=1373425932359

    above is office xp, excel forum you might be better off poster in this forum that many people are familiar with excel and powerpoint.

  • problem with the app.xml

    Hi, I'm having headaches with the air sdk.

    I'm the "porting" an air for Microsoft device emulator application.  The app.xml has a node of , but if I try to deploy, I get the following error:

    Error: Cannot find node: versionNumber
    

    When I remove the node and replace it with I get the following error:

    Launching error: Packaging failed: 1
    ...app.xml(28): error 103: application.versionNumber is an unexpected element/attribute
    ...app.xml(139): error 104: application.version is required
    ERROR: AIR validation failed
    

    When I have two and I get the following error after logging in to the debugger out (perhaps unrelated)

    Packaging failed: 1
    ...app.xml(28): error 103: application.versionNumber is an unexpected element/attribute
    Error: AIR validation failed
    

    AIR 2.5 removing support for the field and replaced with two fields. et .

    versionNumber is the one required by the BB SDK. It has a few limitations - numbers between 0 and 999 only, and you must have 3 sections (that is to say 1.0.0 - or - 0.5.957). -Change to and make sure your version number is within the limits, and you shouldn't have the problem more.

    The error messages are confusing and make believe that the version label is always supported by 2.5, even if it is not.

  • problem connecting vSphere6.0: javax.xml.ws.soap.SOAPFaultException: the session is not authenticated.

    In our plugin, we retrieve the ExtensionManager extension information. We use the following code to do this.

    private static void setContext(VCenterInfo vcenter) {
            Map<String, Object> ctxt = ((BindingProvider) vimPortType).getRequestContext();
            ctxt.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, vcenter.getServiceUrl());
            ctxt.put(BindingProvider.SESSION_MAINTAIN_PROPERTY, true);
    
            String vmwareSoapSession = "vmware_soap_session=\"" + vcenter.getSession() + "\"";
    
            @SuppressWarnings("unchecked")
            Map<String, List<String>> headers = (Map<String, List<String>>) ctxt.get(MessageContext.HTTP_REQUEST_HEADERS);
            if (headers == null) {
                headers = Maps.newHashMap();
            }
            headers.put(COOKIE, Collections.singletonList(vmwareSoapSession));
            ctxt.put(MessageContext.HTTP_REQUEST_HEADERS, headers);
        }
    
    
        private static Extension getExtension(VCenterInfo vcenter) throws RuntimeFaultFaultMsg {
            setContext(vcenter);
    
            ServiceContent sc = getServiceContent();
            ManagedObjectReference extensionManager = sc.getExtensionManager();
    
            return vimPortType.findExtension(extensionManager, KEY);
        }
    
    
    
    
    
    
    
    
    

    vCenterInfo = VCenterInfo [name=10.18.236.231, vcenterUuid=fb1e5cdf-9b34-405d-946f-bcd450139a7d, serviceUrl=https://10.18.236.231:443/sdk, session="77b4562fbca17ce1bc27f8371c5ed737316ca77e", thumbprint=05:80:1B:A7:D0:05:DF:A1:F0:1D:E2:66:FA:66:4C:26:61:A9:65:33, version=6.0.0] 
    

    This code works perfectly in vSphere 5.5

    Recently, we have begun to test vSphere 6.0 and continue to operate in this exception.

    Caused by: javax.xml.ws.soap.SOAPFaultException: The session is not authenticated.
      at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
      at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:125)
      at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
      at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
      at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
      at com.sun.proxy.$Proxy499.findExtension(Unknown Source)
      at com.<companyname>.service.vcenter.VCenterService.getExtension(VCenterService.java:149)
    

    The exception is thrown on the back vimPortType.findExtension (extensionManager, KEY); line.

    If we run the same code using the exact same URL and a separate project (simple java program) session ID, we have no problem and get the correct information. All of our other software modules that have a similar code work fine. We also looked at each log file, we could find but could not find information about a session is invalid or not authenticated.

    String vmwareSoapSession = "vmware_soap_session =-""+ vcenter.getSession () +"\""; "

    You use the additional quotes here. Remove the quotes further from here.

  • I upgraded to a new computer with Yosemite, after have migrated my settings on, Dreamweaver CS 5.5 will not launch. It says it cannot find the menus.xml file, then the problem is getting worse.

    I upgraded to a new computer with Yosemite, after have migrated my settings on. Adobe CS5.5 works very well except Dreamweaver CS 5.5, it says it cannot locate the menus.xml file and cannot rebuild from a backup. He suggested resettlement.

    But when I try to reinstall, I get an error that says "Installer failed to initialize. Please download adobe support advisor to detect the problem.

    Who produces the net problem of it being abandoned, and that brought me here. Help!

    This is a duplicate thread.

    DW CS5.5 and Yosemite [subject edited by Moderator]

    Ultimately, the problem has been resolved by running the cleanup CC tools then by reinstalling the software.

    Nancy O.

  • 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
     
    

Maybe you are looking for

  • My close/minimize buttons are half blurry.

    My buttons at the top right are blurred and transparent on the bottom half. Without a skin you see less blury of buttons: https://imagizer.imageshack.us/v2/158x71q90/540/gSlew2.jpg With skin, you see that Fuzzy part of before is covered with a part o

  • (Model: D6000 ac750) Only the Power LED comes on after start

    Hello When I turn on my router, only the power LED comes on, no other LED lights. Ive been waiting for awhile as well, switching router on and outside, from time to time but its still the same result, only power LED lights I think this happened becau

  • My Security Center is not running

    The message reads "the Security Center is currently unavailable because the"Security Center"service is not started, or has been interrupted.

  • No floppy found at startup that I changed to factory settings...

    Had PC problems, that I solved, but in the process, I changed on factory reset boot order.  I don't have a floppy and now the start he continues to try to find. I know how to reach the installation program do not know how to change it in order to byp

  • HP8625 printer: password lock control panel

    My fax in the printer HP 8625 range is locked. Using the control panel of the printer if I go to tools/configuration/control panel lock I am asked to put a "user name" and "password", I used the name and the password I have for the administrator when