How can I get the first row in a cursor when I arrived at the end?

is it possible to set the cursor in the first line, when I reached the end of it?

Thanks in advance

"... but very likely" dbms_xmlgen.restartquery "closes and reopens the cursor under the hood...".

Evidence:

SQL>  declare
   cur   sys_refcursor;
   t     timestamp;
   n     integer;
   ctx   integer;
begin
   open cur for
      select systimestamp t, 1 n from dual
      union all
      select systimestamp t, 2 n from dual
      union all
      select systimestamp t, 3 n from dual
      union all
      select systimestamp t, 4 n from dual;

   loop
      fetch cur into t, n;

      exit when cur%notfound or n = 4;
      dbms_output.put_line (t);
   end loop;

   dbms_lock.sleep (2);
   ctx := dbms_xmlgen.newcontext (cur);
   dbms_xmlgen.restartquery (ctx);
   dbms_xmlgen.closecontext (ctx);

   loop
      fetch cur into t, n;

      exit when cur%notfound;
      dbms_output.put_line ('Second run: ' || t);
   end loop;

   close cur;
end;
/
07.05.09 10:31:58,153181
07.05.09 10:31:58,153181
07.05.09 10:31:58,153181
Second run: 07.05.09 10:32:00,155158
Second run: 07.05.09 10:32:00,155158
Second run: 07.05.09 10:32:00,155158
Second run: 07.05.09 10:32:00,155158
PL/SQL procedure successfully completed.

If it was the same cursor timestamps should be the same :(

Tags: Database

Similar Questions

  • How can I get the end tags on each row returned by my query?

    Hi all

    I have a pretty simple data model. With a request from the mother and one request of the child. I need to have the 'Invoice' end tags for each line but I do not understand until the end of the data, I get only "invoice header" tags for each row.

    Somone can you please help! I've included the output at this time, as it should exit and my data model.

    This is what the data looks like now...

    <? XML version = "1.0" encoding = "UTF-8"? >
    -< InvoiceImport >

    -< TransactionInformation >
    < TransactionType > X 104 < / TransactionType >
    -transfer >
    < TransferDate > 2009-11-23T 09: 26:57.000 - 08:00 < / TransferDate >
    < TransferTime > 2009-11-23T 09: 26:57.000 - 08:00 < / TransferTime >
    < / transfer >
    < / TransactionInformation >

    -< invoice >
    -< invoice >
    -< InvoiceHeader >
    < TransactionType > X 104 < / TransactionType >
    < key / >
    < Voucherid / >
    < Scanningno / >
    profile <>TRAINVPO < / profile >
    < amount > 2208.9 < / amount >
    < arrival / >
    < Attrib1 / >
    < Attrib1 / >
    < Attrib2 / >
    < Attrib3 / >
    < Attrib4 / >
    < Attrib5 / >
    < CancelCode / >
    < category > 11 < / category >
    < > 1900 ClientCode < / ClientCode >
    < contraentryid / >
    < currencycurrencyid > $ < / currencycurrencyid >
    < exchangerate / >
    < extension / >
    < file_name / >
    < > 20070802 invoicedate < / invoicedate >
    < kidno / >
    < calculatedamount / >
    < calculatedvatamount / >
    < logisticcompany / >
    < maturity / >
    < missingdocs / >
    < payamount / >
    < paydate / >
    < period / >
    < poactioncode / >
    < poattrib1 / >
    < poattrib2 / >
    < poattrib3 / >
    < poinformation / >
    < popurchaseorderno / >
    < popurchaser > [email protected] < / popurchaser >
    < postatusupdated / >
    < postingdate / >
    < prebookingcode / >
    < prevoucherdate / >
    < prevoucherid / >
    < purchaseorderno > 55015 < / purchaseorderno >
    < purchaseorderstatuscode / >
    < signature / >
    < sourceid / >
    < status / >
    < stopcontrol / >
    < subcompany / >
    < supplierbankgiro / >
    < suppliercode > 33738540 < / suppliercode >
    < supplierorgno / >
    < supplierref / >
    < taxcode / >
    < userfullname / >
    < vatamount / >
    < voucherclass / >
    < voucherdate / >
    < localvatamount / >
    < vatexchangerate / >
    < bankgiro / >
    < podeliveryaddress / >
    < posuppliermessage / >
    < deliverytype / >
    < accountuser / >
    < deliverytype / >
    < accountsuser / >
    -< AccountLines >
    -< AccountLine >
    R104 < TransactionType > < / TransactionType >
    < key / >
    < invoicekey / >
    < invoicevoucherid / >
    < invoicescanningno / >
    < accountlinkcode > 16970 < / accountlinkcode >
    < amount > 2208.9 < / amount >
    < amount1 > 0 < / amount1 >
    < amount2 > 0 < / amount2 >
    < montants3 / >
    < approverfullname / >
    < attrib1 / >
    < attrib2 / >
    < attrib3 / >
    < attrib4 / >
    < attrib5 / >
    < businessarea / >
    < > 1900 clientcode < / clientcode >
    < comments / >
    < dateapproved / >
    < datereceived / >
    < Department / >
    < dimensiond1code > 111 < / dimensiond1code >
    < dimensiond2code > 0000 < / dimensiond2code >
    < dimensiond3code > 16970 < / dimensiond3code >
    < dimensiond4code > 0000 < / dimensiond4code >
    < dimensiond5code > 0000 < / dimensiond5code >
    < dimensiond6code > 0000 < / dimensiond6code >
    < dimensiond7code > 000 < / dimensiond7code >
    < dimensiond8code > 00000 < / dimensiond8code >
    < extension / >
    < invoicecurrencyid > $ < / invoicecurrencyid >
    < invoiceperiod / >
    < invoicepostingdate / >
    < invoicesupplierref / >
    < invoicesuppliercode / >
    < calculatedamount / >
    < poactioncode / >
    < poattrib1 / >
    < poattrib2 / >
    < poattrib3 / >
    < podiscount / >
    < podiscountamount / >
    < poinformation / >
    < poitemdescription > DELL OPTIPLEX 745 ULTRA SMALL FORM FACTOR NUMBER E-QUOTE E-008752100 FOR TIM BLISS NUMBER INTERNAL 151678 < / poitemdescription >
    < poitemnumber / >
    < poitems / >
    < poitemsordered > 2 < / poitemsordered >
    < poitemtype > each < / poitemtype >
    < polinenumber > 1 < / polinenumber >
    < popurchaseorderno > 55015 < / popurchaseorderno >
    < popurchaser / >
    < poquantity / >
    < posourceid > 1 < / posourceid >
    < postatusupdated / >
    < potransportationterm / >
    < pounitprice > 1104.45 < / pounitprice >
    < productmaingroup / >
    < purchaseorderdate / >
    < purchaseorderno > 55015 < / purchaseorderno >
    < purchaseorderstatus / >
    < received / >
    < receiverfullname / >
    < sourceid / >
    < status / >
    < sub-account / >
    < taxcode / >
    < userfullname / >
    < podeliverynumber / >
    < poitemsdelivered > 2 < / poitemsdelivered >
    < poitemsinvoiced > 0 < / poitemsinvoiced >
    < Detailsbc / >
    < poleadtime / >
    < / AccountLine >
    < / AccountLines >
    < / InvoiceHeader >
    * <-I need the Bill end tag here *.

    * <-I need invoice beginning tag here *.
    -< InvoiceHeader >
    < TransactionType > X 104 < / TransactionType >
    < key / >
    < Voucherid / >
    < Scanningno / >
    profile <>TRAINVPO < / profile >
    < amount > 1000544.11 < / amount >
    < arrival / >
    < Attrib1 / >
    < Attrib1 / >
    < Attrib2 / >
    < Attrib3 / >
    < Attrib4 / >
    < Attrib5 / >
    < CancelCode / >
    < category > 11 < / category >
    < > 1900 ClientCode < / ClientCode >
    < contraentryid / >
    < currencycurrencyid > $ < / currencycurrencyid >
    < exchangerate / >
    < extension / >
    < file_name / >
    < > 20070731 invoicedate < / invoicedate >
    < kidno / >
    < calculatedamount / >
    < calculatedvatamount / >
    < logisticcompany / >
    < maturity / >
    < missingdocs / >
    < payamount / >
    < paydate / >
    < period / >
    < poactioncode / >
    MRO < poattrib1 > < / poattrib1 >
    < poattrib2 / >
    < poattrib3 / >
    < poinformation / >
    < popurchaseorderno / >
    < popurchaser / >
    < postatusupdated / >
    < postingdate / >
    < prebookingcode / >
    < prevoucherdate / >
    < prevoucherid / >
    < purchaseorderno > 55001 < / purchaseorderno >
    < purchaseorderstatuscode / >
    < signature / >
    < sourceid / >
    < status / >
    < stopcontrol / >
    < subcompany / >
    < supplierbankgiro / >
    < suppliercode > 9840648 < / suppliercode >
    < supplierorgno / >
    < supplierref / >
    < taxcode / >
    < userfullname / >
    < vatamount / >
    < voucherclass / >
    < voucherdate / >
    < localvatamount / >
    < vatexchangerate / >
    < bankgiro / >
    < podeliveryaddress / >
    < posuppliermessage / >
    < deliverytype / >
    < accountuser / >
    < deliverytype / >
    < accountsuser / >
    -< AccountLines >
    -< AccountLine >
    R104 < TransactionType > < / TransactionType >
    < key / >
    < invoicekey / >
    < invoicevoucherid / >
    < invoicescanningno / >
    < accountlinkcode > 16970 < / accountlinkcode >
    < amount > 1000544.11 < / amount >
    < amount1 > 0 < / amount1 >
    < amount2 > 999483.35 < / amount2 >
    < montants3 / >
    < approverfullname / >
    < attrib1 / >
    < attrib2 / >
    < attrib3 / >
    < attrib4 / >
    < attrib5 / >
    < businessarea / >
    < > 1900 clientcode < / clientcode >
    < comments / >
    < dateapproved / >
    < datereceived / >
    < Department / >
    < dimensiond1code > 111 < / dimensiond1code >
    < dimensiond2code > 0000 < / dimensiond2code >
    < dimensiond3code > 16970 < / dimensiond3code >
    < dimensiond4code > 0000 < / dimensiond4code >
    < dimensiond5code > 0000 < / dimensiond5code >
    < dimensiond6code > 0000 < / dimensiond6code >
    < dimensiond7code > 000 < / dimensiond7code >
    < dimensiond8code > 00000 < / dimensiond8code >
    < extension / >
    < invoicecurrencyid > $ < / invoicecurrencyid >
    < invoiceperiod / >
    < invoicepostingdate / >
    < invoicesupplierref / >
    < invoicesuppliercode / >
    < calculatedamount / >
    < poactioncode / >
    < poattrib1 / >
    < poattrib2 / >
    < poattrib3 / >
    < podiscount / >
    < podiscountamount / >
    < poinformation / >
    < poitemdescription > SOFTWARE UPDATE LICENSE AND SUPPORT for DATABASE AND APPLICATION SERVERS. REQUEST BY BRUNO G. Please PUT IN. # ON ALL INVOICES. < / poitemdescription >
    < poitemnumber / >
    < poitems / >
    < poitemsordered > 1000544.11 < / poitemsordered >
    < poitemtype > Dollar < / poitemtype >
    < polinenumber > 1 < / polinenumber >
    < popurchaseorderno > 55001 < / popurchaseorderno >
    < popurchaser / >
    < poquantity / >
    < posourceid > 1 < / posourceid >
    < postatusupdated / >
    < potransportationterm / >
    < pounitprice > 1 < / pounitprice >
    < productmaingroup / >
    < purchaseorderdate / >
    < purchaseorderno > 55001 < / purchaseorderno >
    < purchaseorderstatus / >
    < received / >
    < receiverfullname / >
    < sourceid / >
    < status / >
    < sub-account / >
    < taxcode / >
    < userfullname / >
    < podeliverynumber / >
    < poitemsdelivered > 0 < / poitemsdelivered >
    < poitemsinvoiced > 999483.35 < / poitemsinvoiced >
    < Detailsbc / >
    < poleadtime / >
    < / AccountLine >
    < / AccountLines >
    < / InvoiceHeader >
    < / invoice >
    < / invoices >
    < / InvoiceImport >

    Here's how the data should look...

    < invoice >
    < Invoice > it's rank 1
    < InvoiceHeader >
    Header stuff here
    < \InvoiceHeader >
    < AccountLines >
    < AccountLine >
    1 LineItem stuff here of things here
    < \AccountLine >
    < AccountLine >
    LineItem 2 stuff here of things here
    < \AccountLine >
    < \AccountLines >
    < \Invoice > -I need this to add the closing tag!

    < Invoice > -I need to add this opening tag!
    It is of rank 2
    < InvoiceHeader >
    Header stuff here
    < \InvoiceHeader >
    < AccountLines >
    < AccountLine >
    1 LineItem stuff here of things here
    < \AccountLine >
    < AccountLine >
    LineItem 2 stuff here of things here
    < \AccountLine >
    < \AccountLines >
    < \Invoice >
    Bills of closing < \Invoices >


    Here's my data model...


    <? XML version = "1.0" encoding = "ISO-8859-1'? >
    < name of dataTemplate = "InvoiceImport" description = "HSTX AP Master X 104" exit of invoice XML version = "1.0" >
    Properties of <>
    < property name = "xml_tag_case" value = "as_are" / >
    < property name = "include_rowsettag" value = "false" / >
    < / properties >
    < Parameters >
    < / Parameter >

    < dataQuery >
    < SQLStatement instance name = "Trans" >
    <! [CDATA [SELECT DISTINCT
    transactionType
    transferdate
    transfertime
    FROM hstx_apint_x104_history]] >

    < / sqlStatement >

    < sqlStatement = "Bill" name >
    <! [CDATA [SELECT
    invoiceimport
    transactiontype
    transferdate
    transfertime
    clientcode
    changecode
    null key
    null voucherid
    null scanningno
    profile
    quantity
    arrival
    attrib1
    attrib2
    attrib3
    attrib4
    attrib5
    cancelcode
    category
    contraentryid
    currencycurrencyid
    Exchange rates
    extension
    file name
    , to_char (to_date (invoicedate), 'YYYYMMDD') as invoicedate
    kidno
    calculatedamount
    calculatedvatamount
    logisticcompany
    maturity
    missingdocs
    payamount
    paydate
    period
    poactioncode
    poattrib1
    poattrib2
    poattrib3
    poinformation
    popurchaseorderno
    popurchaser
    postatusupdated
    postingdate
    prebookingcode
    prevoucherdate
    prevoucherid
    purchaseorderno as PO_NUMBER
    purchaseorderstatuscode
    signature
    Source ID
    status
    stopcontrol
    subcompany
    supplierbankgiro
    suppliercode
    supplierorgno
    supplierref
    taxcode
    userfullname
    vatamount
    voucherclass
    voucherdate
    localvatamount
    vatexchangerate
    bankgiro
    podeliveryaddress
    posuppliermessage
    null deliverytype
    null accountuser
    deliverytype
    accountsuser
    created_by
    creation_date,
    last_update_login
    last_updated_by
    last_update_date
    request_id
    conc_request_date
    prog_appl_id
    conc_program_id
    FROM hstx_apint_x104_history]] >
    < / sqlStatement >
    < SQLStatement instance name = "AccountLines" >
    <! [CDATA [Select
    key
    "R104" transactiontype
    invoicekey
    invoicevoucherid
    invoicescanningno
    accountlinkcode
    quantity
    amount1
    amount2
    montants3
    approverfullname
    attrib1
    attrib2
    attrib3
    attrib4
    attrib5
    businessarea
    clientcode
    comments
    dateapproved
    datereceived
    Department
    dimensiond1code
    dimensiond2code
    dimensiond3code
    dimensiond4code
    dimensiond5code
    dimensiond6code
    dimensiond7code
    dimensiond8code
    extension
    invoicecurrencyid
    invoiceperiod
    invoicepostingdate
    invoicesupplierref
    invoicesuppliercode
    calculatedamount
    poactioncode
    poattrib1
    poattrib2
    poattrib3
    podiscount
    podiscountamount
    poinformation
    poitemdescription
    poitemnumber
    poitems
    poitemsordered
    poitemtype
    polinenumber
    popurchaseorderno
    popurchaser
    poquantity
    posourceid
    postatusupdated
    potransportationterm
    pounitprice
    productmaingroup
    purchaseorderdate
    purchaseorderno
    purchaseorderstatus
    received
    receiverfullname
    Source ID
    status
    Sub-account
    taxcode
    userfullname
    podeliverynumber
    poitemsdelivered
    poitemsinvoiced
    Detailsbc
    poleadtime
    last_updated_by
    last_update_date
    request_id
    conc_request_date
    prog_appl_id
    conc_program_id
    OF hstx_apint_x104_lines_history
    [[WHERE purchaseorderno =: PO_NUMBER]] >
    < / sqlStatement >
    < / dataQuery >

    < dataStructure >
    < name of group = 'TransactionInformation"source ="Trans">
    < element name = "TransactionType" value = "transactiontype" / >
    < name of group = 'Transfer' source = 'Trans' >
    < element name = "TransferDate" value = "transferdate" / >
    < element name = "TransferTime' value ="transfertime"/ >
    < / Group >
    < / Group >

    < = "Bills" source = "Bill" group name >
    < = "Bill" source = "Bill" group name >
    < name of the group "InvoiceHeader" source = "Invoice" = >
    < element name = "TransactionType" value = "transactiontype" / >
    < feature name = 'Key' value = 'key' / >
    < element name = "Voucherid" value = "voucherid" / >
    < element name = "Scanningno" value = "scanningno" / >
    < element name = "Profile" value = "profile" / >
    < feature name = 'Amount' value = 'amount' / >
    < element name = "Finish" value = "check" / >
    < element name = "Attrib1" value = "attrib1" / >
    < element name = "Attrib1" value = "attrib1" / >
    < element name = "Attrib2" value = "attrib2" / >
    < element name = "Attrib3" value = "attrib3" / >
    < element name = "Attrib4" value = "attrib4" / >
    < element name = "Attrib5' value ="attrib5"/ >
    < element name = "CancelCode" value = "cancelcode" / >
    < element name = "Category" value = "category" / >
    < element name = "ClientCode' value ="clientcode"/ >
    < element name = "contraentryid" value = "contraentryid" / >
    < element name = "currencycurrencyid" value = "currencycurrencyid" / >
    < element name = "exchange rate" value = "exchange rate" / >
    < element name = "extension" value = "extension" / >
    < element name = "filename" value = "filename" / >
    < element name = "invoicedate' value ="invoicedate"/ >
    < element name = "kidno" value = "kidno" / >
    < element name = "calculatedamount" value = "calculatedamount" / >
    < element name = "calculatedvatamount" value = "calculatedvatamount" / >
    < element name = "logisticcompany" value = "logisticcompany" / >
    < feature name = 'maturity' value = 'maturity' / >
    < element name = "missingdocs' value ="missingdocs"/ >
    < element name = "payamount' value ="payamount"/ >
    < element name = "paydate' value ="paydate"/ >
    < feature name = 'period' value = 'period' / >
    < element name = "poactioncode" value = "poactioncode" / >
    < element name = "poattrib1" value = "poattrib1" / >
    < element name = "poattrib2" value = "poattrib2" / >
    < element name = "poattrib3" value = "poattrib3" / >
    < element name = "poinformation" value = "poinformation" / >
    < element name = "popurchaseorderno" value = "linktoline" / >
    < element name = "popurchaser" value = "popurchaser" / >
    < element name = "postatusupdated" value = "postatusupdated" / >
    < element name = "postingdate" value = "postingdate" / >
    < element name = "prebookingcode" value = "prebookingcode" / >
    < element name = "prevoucherdate" value = "prevoucherdate" / >
    < element name = "prevoucherid" value = "prevoucherid" / >
    < element name = "purchaseorderno" value = "po_number" / >
    < element name = "purchaseorderstatuscode" value = "purchaseorderstatuscode" / >
    < element name = "signature" value = "signature" / >
    < element name = "sourceid" value = "sourceid" / >
    < element name = "status" value = "status" / >
    < element name = "stopcontrol" value = "stopcontrol" / >
    < element name = "subcompany' value ="subcompany"/ >
    < element name = "supplierbankgiro" value = "supplierbankgiro" / >
    < element name = "suppliercode" value = "suppliercode" / >
    < element name = "supplierorgno" value = "supplierorgno" / >
    < element name = "supplierref" value = "supplierref" / >
    < element name = "taxcode" value = "taxcode" / >
    < element name = "userfullname" value = "userfullname" / >
    < element name = "vatamount" value = "vatamount" / >
    < element name = "voucherclass" value = "voucherclass" / >
    < element name = "voucherdate" value = "voucherdate" / >
    < element name = "localvatamount" value = "localvatamount" / >
    < element name = "vatexchangerate" value = "vatexchangerate" / >
    < element name = "bankgiro" value = "bankgiro" / >
    < element name = "podeliveryaddress" value = "podeliveryaddress" / >
    < element name = "posuppliermessage" value = "posuppliermessage" / >
    < element name = "deliverytype' value ="deliverytype"/ >
    < element name = "accountuser" value = "accountuser" / >
    < element name = "deliverytype' value ="deliverytype"/ >
    < element name = "accountsuser' value ="accountsuser"/ >


    < name of group = "AccountLines" source = "AccountLines" >
    < name of group = "AccountLine" source = "AccountLines" >
    < element name = "TransactionType" value = "transactiontype" / >
    < feature name = 'key' value = 'key' / >
    < element name = "invoicekey" value = "invoicekey" / >
    < element name = "invoicevoucherid" value = "invoicevoucherid" / >
    < element name = "invoicescanningno" value = "invoicescanningno" / >
    < element name = "accountlinkcode" value = "accountlinkcode" / >
    < element name = 'amount' value = 'amount' / >
    < element name = "amount1' value ="amount1"/ >
    < element name = "amount2' value ="amount2"/ >
    < element name = "montants3" value = "montants3" / >
    < element name = "approverfullname" value = "approverfullname" / >
    < element name = "attrib1" value = "attrib1" / >
    < element name = "attrib2" value = "attrib2" / >
    < element name = "attrib3" value = "attrib3" / >
    < element name = "attrib4" value = "attrib4" / >
    < element name = "attrib5' value ="attrib5"/ >
    < element name = "businessarea' value ="businessarea"/ >
    < element name = "clientcode' value ="clientcode"/ >
    < element name = "comments" value = "Comments" / >
    < element name = "dateapproved" value = "dateapproved" / >
    < element name = "datereceived' value ="datereceived"/ >
    < element name = "Department" value = "department" / >
    < element name = "dimensiond1code" value = "dimensiond1code" / >
    < element name = "dimensiond2code" value = "dimensiond2code" / >
    < element name = "dimensiond3code" value = "dimensiond3code" / >
    < element name = "dimensiond4code" value = "dimensiond4code" / >
    < element name = "dimensiond5code" value = "dimensiond5code" / >
    < element name = "dimensiond6code" value = "dimensiond6code" / >
    < element name = "dimensiond7code" value = "dimensiond7code" / >
    < element name = "dimensiond8code" value = "dimensiond8code" / >
    < element name = "extension" value = "extension" / >
    < element name = "invoicecurrencyid" value = "invoicecurrencyid" / >
    < element name = "invoiceperiod" value = "invoiceperiod" / >
    < element name = "invoicepostingdate" value = "invoicepostingdate" / >
    < element name = "invoicesupplierref" value = "invoicesupplierref" / >
    < element name = "invoicesuppliercode" value = "invoicesuppliercode" / >
    < element name = "calculatedamount" alue = "calculatedamount" / >
    < element name = "poactioncode" value = "poactioncode" / >
    < element name = "poattrib1" value = "poattrib1" / >
    < element name = "poattrib2" value = "poattrib2" / >
    < element name = "poattrib3" value = "poattrib3" / >
    < element name = "podiscount" value = "podiscount" / >
    < element name = "podiscountamount" value = "podiscountamount" / >
    < element name = "poinformation" value = "poinformation" / >
    < element name = "poitemdescription" value = "poitemdescription" / >
    < element name = "poitemnumber" value = "poitemnumber" / >
    < element name = "poitems" value = "poitems" / >
    < element name = "poitemsordered" value = "poitemsordered" / >
    < element name = "poitemtype" value = "poitemtype" / >
    < element name = "polinenumber" value = "polinenumber" / >
    < element name = "popurchaseorderno" value = "popurchaseorderno" / >
    < element name = "popurchaser" value = "popurchaser" / >
    < element name = "poquantity" value = "poquantity" / >
    < element name = "posourceid" value = "posourceid" / >
    < element name = "postatusupdated" value = "postatusupdated" / >
    < element name = "potransportationterm" value = "potransportationterm" / >
    < element name = "pounitprice" value = "pounitprice" / >
    < element name = "productmaingroup" value = "productmaingroup" / >
    < element name = "purchaseorderdate" value = "purchaseorderdate" / >
    < element name = "purchaseorderno" value = "purchaseorderno" / >
    < element name = "purchaseorderstatus" value = "purchaseorderstatus" / >
    < element name = "received" value = "received" / >
    < element name = "receiverfullname" value = "receiverfullname" / >
    < element name = "sourceid" value = "sourceid" / >
    < element name = "status" value = "status" / >
    < element name = "subaccount" value = "sub-account" / >
    < element name = "taxcode" value = "taxcode" / >
    < element name = "userfullname" value = "userfullname" / >
    < element name = "podeliverynumber" value = "podeliverynumber" / >
    < element name = "poitemsdelivered" value = "poitemsdelivered" / >
    < element name = "poitemsinvoiced" value = "poitemsinvoiced" / >
    < element name = "Detailsbc" value = "DétailsBC" / >
    < element name = "poleadtime" value = "poleadtime" / >
    < / Group >
    < / Group >
    < / Group >
    < / Group >
    < / Group >


    < / dataStructure >
    < / dataTemplate >

    Published by: user3007158 on November 23, 2009 12:46

    In this case, forget the XSL transformations.

    If you use a shell script for SFTP file, use the Unix grep command to remove unwanted tags before calling SFTP.

    Thus, to create unique tags for items below , say UNWANTED_ELEM_fieldname. grep - iv UNWANTED_ELEM yourxml > newxml. Send newxml 3rd party system.

    If this is your solution, remember to give me points.

    If you want to continue to do XSL transformations, watching models in XDO_TEMPLATES_B where template_type_code = "XSL - XML" for examples.

    In addition, refer to the blog of Tim Dexter - http://blogs.oracle.com/xmlpublisher/templates/xsl/.

    Published by: SIyer on Nov 24, 2009 14:39

  • Gmail button (in internet explorer) keeps having moved to the right in my taskbar when I wasn't staying on the left (that's why I first open). How can I get the taskbar buttons to stop randomly to reorganize and stay in order?

    Gmail button (in internet explorer) keeps having moved to the right in my taskbar when I want to keep it on the left (that's why I first open).  How can I get the taskbar buttons to stop randomly to reorganize and stay in order?  I'm talking about the buttons on list of my open applications and documents in Windows Vista.  The bar tasks are "locked", but the button of the window open with gmail in internet explore reappears suddenly in the good moments apparently random.

    It is in the middle part of the taskbar (what I found online so far is on the start menu, the quick launch area or area/system tray of notification, the location of the taskbar in full, either about grouping taskbar - I disabled because I would like to separate).  Can anyone help?  I don't understand why this is happening (or why microsoft would never do).

    Lock the taskbar that it prevents to be moved elsewhere on the office and maintains the different sections where they are - it does not block the tabs showing what is open where they were when they were opened.  There is no control for this function.  Maybe if you uncheck similar taskbar buttons group it will help, but I honestly don't know (and fear he won't make any difference - it may even make things worse).  This also happens to me and I was unable to find an answer.  I think that there are more than just random, but I can't telll you why he moves the legs periodically (sometimes it works fine all day and other days it happens almost immediately).  But still, there is no control for this function, so there is no way to tell him to keep a specific order or to lock an established order, once it has been created.  I suspect that it happens because the notification area icons appear and hide and new programs open and close and which changes the amount of space available and so he rearranges things so that they match and apparently does not always consider the original sequence in which the elements have been added.  Maybe if you remove the Quick Launch toolbar and then add again, the order will reset (but that I know not - probably not in the original sequence, which I doubt is logged nowhere - it did not work when I tried it).

    Unfortunately, I don't have a solution to this problem (and I spend a little time looking for even before myselff posed the question) and do not believe that there is a.  It is also unfortunate that you can't move them so they can be put back in the right order if they change.  I don't think that there is nothing wrong with your system or that it is something that can be repaired or fixed - it's just the way it is and we just have to live with it.  I don't know any 3rd party software that controls the order of tabs open in the taskbar program (but you can check out Bing, Gooogle,www.tucows.comand www.download.com to see if I'm wrong on this - here n "t all when I looked trying to solve this problem for my own system).

    I'm sorry it wasn't what you wanted to hear, but it's like that.  I don't know if it's different in Windows 7.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • I tried to download a pdf and convert them into excel, but the data in excellent is always to the image format.  How can I get the pdf data into the columns and rows?

    I tried to download a pdf and convert them into excel, but the data in excellent is always to the image format.  How can I get the pdf data into the columns and rows so that I can do the calculations?

    If you start the https://forums.adobe.com/welcome Forums Index

    You will be able to select a forum for the specific Adobe products you use

    Click on the symbol "arrow down" on the right (where it is said to see all our products and Services) to open the drop-down list and scroll

  • How can I get the serial number for update for first pro cs4 4.2.1, one provided with the product does not work.

    How can I get the serial number for update for first pro cs4 4.2.1, one provided with the product does not work?

    You don't need a serial nr for updating a program

    You need the original CS4.0. install and add the series nr. to get the program to work.

    Now you can update to 4.2.1

  • I'm new to CC.  I discovered that I had to download first CS6 inorder to get it. (May not yet know how to get the title templates, etc. cannot understand instructions; but I spread) I see that it still says trial.  How can I get the

    I'm new to CC.  I discovered that I had to download first CS6 in@order to get it. (May not yet know how to get the title templates, etc. cannot understand instructions; but I spread) I see that it still says trial.  How can I get the full thing.  I am a Subscriber complete cc

    I don't know what you've done, but here are the instructions to install the PProCS6 and the callback with a cloud account

    Yet the instructions http://helpx.adobe.com/encore/kb/encore-cs6-installed-cc.html if you have a subscription

    - and the difference in the Cloud application manager 2015 https://forums.adobe.com/thread/1906752

    Still will not run as a trial, it is enabled when you install and activate PProCS6

  • How can I get the maximum salary of the first ascending

    Hello

    How can I get the maximum salary of the first in ascending order.
    I need the sql query.

    want my output:

    Emp_name salary
    A 5000
    SS 100
    300 AA
    DD 700
    WW 2000



    Thank you
    Walid.

    Here is an example:

    SQL> with mytable as
      2  ( select 'aa' as col1,  300 col2 from dual union all
      3    select 'ss' as col1,  100 col2 from dual union all
      4    select 'a'  as col1, 5000 col2 from dual union all
      5    select 'dd' as col1,  700 col2 from dual union all
      6    select 'ww' as col1, 2000 col2 from dual )
      7  select col1, col2
      8  from   mytable
      9  order by decode(row_number() over (order by col2 desc),1,0,1),col2;
    
    CO       COL2
    -- ----------
    a        5000
    ss        100
    aa        300
    dd        700
    ww       2000
    
    SQL>
    

    Nicolas.

  • Hello, how can I get the update for adobe first pro 2003?

    Hello, how can I get the update for adobe first pro 2003?

    No, the original CS will not work on Windows 7 and old products are more supported, anyway:

    Error: Unavailable activation server | CS2 or Acrobat 7, older products

    Mylenium

  • How can I get the filtered data from the first form

    How can I get the filtered data from the first form in a second form to make an update of the multi.
    Thank you very much

    William,

    I would use for this collections. A link is good if you need to pass a single value.

    1. create a collection
    2 fill the collection with your result set
    3. go in the page target and uses a method of a query in your link to this page
    4. your target page receives a request and allows you to edit documents.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • How can I get the value of the element checked a box to tick LOV?

    Hi all

    I need to insert rows into a table when a checkbox element is checked.
    The checkbox element is a LOV in a form.
    -----------------------
    Select the DESCRIPCIÓN display_value, ID_DOCUMENTO return_value
    of DOCUMENT
    order by 1
    ------------------------------

    Source
    ------------------------------
    DECLARE
    CURSOR C_REG_DOC IS SELECT ID_DOCUMENTO FROM REGISTRO_DOCUMENTO WHERE ID_REGISTRO =: P6_ID_REGISTRO;
    v_id_documento documento.id_documento%TYPE;
    v_results VARCHAR2 (50);
    Boolean v_first_loop: = true;
    BEGIN
    for this loop C_REG_DOC
    If v_first_loop then
    v_results: = it.ID_DOCUMENTO;
    v_first_loop: = false;
    on the other
    v_results: = v_results |': ' | it.ID_DOCUMENTO;
    end if;
    end loop;
    Return v_results;
    END;
    --------------------------

    I need to create a process to insert rows in a relational table, but I do not know how...
    ------------------
    FOR *? *
    LOOP
    INSERT INTO registro_documento (id_reg_documento, id_registro, id_documento)
    VALUES(null,:P4_ID_REGISTRO,???);
    END LOOP;
    ---------------

    How can I get the value of the active element (id_documento) to insert it?

    Thank you!

    Alex

    Hello:

    You can use the apex_util.string_to_table function to retrieve the values of the LOV as shown in the example

    declare
    arr wwv_flow_global.vc_arr2;
    begin
    arr:= apex_util.string_to_table(:P_CHECKBOX_LOV_ITEM)
    for x in arr.first..arr.last loop
    // insert statement
    iNSERT INTO registro_documento( arr(i) ,.........id_reg_documento,id_registro,id_documento)
    end loop;
    end;
    

    CITY

  • How can I get the address book to sort by the name of 'Family' (using v 31.3.0).

    After a computer crash, I had to load Thunderbird (v31.3.0) in my computer running Windows 8.1, and I managed to import my address book backup file in Thunderbird (v31.3.0).
    My problem is that I don't see an option to sort the address book by name of 'Family', which was available with the version of Thunderbird, I had before the crash.
    How can I get the address book to sort by the name of "family"?

    "Address book".
    Select address book
    "View' > 'Show name as' > last/first". "

    You can sort by name.
    Click on the 'Name' column header to change the sort order,
    Reversed, then click on the 'Name' column header again to reverse the order.

    Or
    'View' > ' sort by ' > select 'Name' and 'Crescent '.

  • All of a sudden my shrunken screen size... How can I get the display back to what it was

    All of a sudden my shrunken screen size... How can I get the display back to what it was

    Hello

    Please try this first:

    Hold down the CTRL key, and then press on + (plus) sign several times.

    I hope this helps.

  • How can I get the address of the memory of a table?

    Hi all

    Please bear with me, as this can be confusing. Let me know if you have any questions.

    I have a CCD of Hamamatsu and an external DLL that comes with it that I use. I call the "DcamCapture" function - this sends the capture command to the CCD.

    Its documentation:

    "BOOL DcamCapture (LPVOID pImageBuff, INT nBuffSize)

    [Summary]
    Begins to capture an image of the device.

    [Arguments]
    pImageBuff specifies the start address of the buffer where the image data is
    to be stored.

    nBuffSize specifies the size of the buffer (number of bytes).

    [Note]
    (1) this function emits an instruction to begin to capture the image. Since the image
    capture is not complete even when the function is completed, use the DcamWait

    function to check if the image capture is complete. »

    The "BOLD" is my own. So after that I called this function, I have to call DcamWait. The problem is, from this point, labview has already written the pImageBuff to its indicator variable - in fact, he wrote immediately after the return of this function. But before that data has even written to memory! So I go out exactly what I put in - an empty array.

    In C++, this isn't a problem. What they do in their code for the example is call DcamCapture, DcamWait in a loop, and then dereference the pointer pImageBuff once all this is done.

    I don't know how to dereference the pointer of table in Labview.

    So I have to, as a clumsy hack, call DcamCapture TWICE. I first call DcamCapture, then DcamWait, then DcamCapture again - this time, I use the FCM to dereference the pointer, pImageBuff, which has the correct data (now).

    -How can I get the location of the memory of the pImageBuff? And then, how can I access it?

    Thanks for your help. I called NOR and they 'think' about my problem - I would see if anyone here can come up with a solution.

    You can do this by using the functions of the memory manager of LabVIEW, you call by setting the name of the library to 'LabVIEW' in the call library function node.  The functions you need are DSNewPtr, MoveBlock (which in fact copy of data) and DSDisposePtr.  There are short documents on these functions using LabVIEW.  You need to call DSNewPtr to allocate the memory, switch to the DCamCapture, loop on DCamWait, use MoveBlock to copy this pointer data in a table that manages LabVIEW and finally free the pointer.  Here is an example of a similar sequence: http://forums.ni.com/t5/LabVIEW/array-pointer-from-dll/m-p/1217453#M519958.

  • How can I get the wwe, Inc. on the slate tablet app 7?

    How can I get the wwe, Inc. app for my hp slate tablet 7?  Some things said not compatible.

    Applications that require a GPS chip in a device won't like the entry level of Slate7 tablet as it does not.  To work around the problem, you will need to 'load side' the program of another Android device that can run it.  She is called extract APK.

    Extraction of the APK is not officially approved by HP. If an application is not available in a specific area which is a restriction that the developer has put on the application. Such a restriction could be due to the licensing of content.

    There are two main steps in order to extract the APK-

    (1) extract the application of another Android device, or download the APK file directly. If you download the APK file also, please be very confident of the Web site. Because you will be "forcing" the application to install and don't not download through Google, it is possible the application has been infected by malware or otherwise damaged.

    To perform step 1, first install the application on another Android device, and also to install an "APK Extractor" application. (there are several to choose from and available for free in the game of Google store).
    Once the application is extracted, copy the file to a MicroSD card, or use another means of transfer for example transfer or by e-mail.

    Insert the MicroSD card into your 7 Slate, or download the file.
    You may need to install a file browser to locate the file on your tab 7. These are also available in the store from game Google free.

    You must change a setting of security on your tab 7; Click settings, security and place a check in "unknown Sources allow installation of applications from unknown sources. You will get a warning about the potential of malicious software by changing this setting.

    Once the security setting has been changed, find the APK file and simply "click" on it to open it. It will install everything as it was downloading from the game store.

    I will state some things well-
    (1) this process is not approved by HP. I am a volunteer here and not an official representative of HP.
    (2) If a request is blocked in your area, then installation can cause problems or even violate certain laws or license.
    (3) download an APK on a suspicious Web site could introduce viruses/spyware/malware or other undesirable behaviors. Do not download APKs for files that are not free Google game like this would be piracy.
    (4) installation of an APK that "requires" GPS may not work fully, although in many cases, you can manually enter in your location and it will work.

    WyreNut

  • How can I get the area of a balloon with video analysis

    Hallo
    If I have a video analysis for a ball, how can I get the box?

    Vision Wizard as follows:

    First clean up your image to maximize the contrast between your ball and the background.  It is usually a combination of blurring/smoothing/cleaning.

    Then, run a threshold to generate a binary image that ideally contains only your ball.

    The use of the particle analysis for information on the ball.  One of the results of the stage of the analysis of the particle is the area.

    Most of the difficulties for this type of analysis is to get a clean enough to work with image.  If you can put a picture of the sample, I might be able to generate a Vision Assistant Script that performs the steps described above.

Maybe you are looking for