Listen to the changing value of the element that is passed under dynamic PL/SQL action
Hello
Version 4.2.6 apex
I have a dynamic action that fires the PL/SQL. It is about 'change' DA for item P1_INPUT.
It triggers the PL/SQL code
:P0_ITEM_CONTROL := '{"Item":"#P2_SIF_MT_INFO","State":"success"}';
Now, I want to hear this change (in question (P0_ITEM_CONTROL) in my external JS.
$('#P0_ITEM_CONTROL').on('change', function() ....
Of course, in that you can only listen for the changes that have been made by typing the entry itself, so I have to add another REAL action that fires the code JAVASCRIPT and trigger the change manually.
$('#P0_ITEM_CONTROL').trigger('change');
Which is cause of unnecessary bloat. Is there another way to trigger the change?
First one that comes to mind is to create a DA who listen to change everything I want my JS to trigger. Then trigger manually there from there.
Then come from your other thread, I take back what I said - I have messed up. I felt pretty sure the plsql execute did not have the change event, but I was wrong - I checked once again after the other thread. Since you're using two versions of jquery your question is exactly the same in this thread as what you experience with the popup lov! Use apex.jQuery to listen for the event changes and you will be fine, since the action of plsql execute trigger changes on 'elements to return'!
Tags: Database
Similar Questions
-
How can I get rid of the blue name and the date that is entered under the signature
How can I get rid of the blue name and the date that is entered under the signature
Yes! you see Configure text where you can uncheck date Logo etc...
For more information, see image
-
How to have some default values in all the elements that are empty in the xslt file.
Hello
Need help:
Scenario:
After transformation .xslt, there are certain elements that are mapped but left empty. I want to give him some defaults as '0'. How to do this.
Thank you.you could do this:
http://StackOverflow.com/questions/2791295/setting-default-values-for-empty-nodes
and if you want different default values for some nodes to which you may use local-name and some other default settings listed
-
No data when querying XML document which does not have all the elements that are populated
Hi people
Following the previous post http://bit.ly/beyCdc forum, I met a new show that I'm looking to solve today.
General information:
The xml document, I try to shred them may exist in 2 forms; b limited form and (b) complex form, which
to comply with the same xmlschema.
The structure of the two forms of the document is:
b limited version
(1) under the parent node (of BASANTA) is a child node - RTDRFileHeader
(2) also under the parent node is a node of complex "ConnectionList. This can consist of thousands of child nodes 'connection '.
(3) below a given node of "Connection" are child nodes that are of interest, they are:
(b) extended versionConnection/HPMN Connection/VPM Connection/FileItemList/FileItem/FileType/InitTAP/TAPSeqNo Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TAPTxCutoffTmstp Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TAPAvailTmstp Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TAPCurrency Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TotalNetCharge Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TotalTax
The structure of the Extended version is identical to the above limited version but there are elements of additional group under the /chargeInfo. element
It's TrafficBreakdownList and AdditionalChargeInfo. In addition, the TrafficBreakdownList has child nodes that contain elements of the group.
For example.
What I'm trying to achieve, if possible, is to have a SQL statement that can interrogate the two versions of the xml document. CurrentlyConnection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/CallEventType Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/CallEventType/CallEventInfo/NumberOfEvents Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/CallEventType/CallEventInfo/TotNetCharge Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/CallEventType/CallEventInfo/TotTaxValue Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/InvPeriod Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/TotalNetChargeSDR Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/TotalTaxSDR Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/VPMNLocCurr Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/TotalNetChargeVLCSR Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/TotalNetChargeVLCCD Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/TotalTaxVLCCD Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/TotalTaxVLCCD
the following SQL statement works properly against the extended version XML document, but when used against the limited version he returns no rows.
I guess what I'm after is like a LEFT JOIN XML :-) If the node is not present, returns NULL for this element.
b limited Version of XML
(b) extended version of XML<RTDR> <RTDRFileHeader> <Prefix>MRTDR</Prefix> <Sender>EDSCH</Sender> <Recipient>NXTMP</Recipient> <PMN>UKRAS</PMN> <ReportSeqNo>5</ReportSeqNo> <TADIGGenSchemaVersion>2.2</TADIGGenSchemaVersion> <RTDRSchemaVersion>1.1</RTDRSchemaVersion> <CreationTmstp>2009-09-04T04:04:00.000000+02:00</CreationTmstp> </RTDRFileHeader> <ConnectionList> <Connection> <VPMN>UKRAS</VPMN> <HPMN>LIEK9</HPMN> <FileItemList> <FileItem> <FileID>CDUKRASLIEK901274-00005-m</FileID> <ExchTmstp>2009-08-24T12:07:22.000000+02:00</ExchTmstp> <FileType> <InitTAP> <TAPSeqNo>1274</TAPSeqNo> <NotifFileInd>true</NotifFileInd> <ChargeInfo> <TAPTxCutoffTmstp>2009-08-24T12:52:10.000000+03:00</TAPTxCutoffTmstp> <TAPAvailTmstp>2009-08-24T11:52:10.000000+02:00</TAPAvailTmstp> <TAPCurrency>SDR</TAPCurrency> <TotalNetCharge>0</TotalNetCharge> <TotalTax>0</TotalTax> </ChargeInfo> </InitTAP> </FileType> </FileItem> <FileItem> <FileID>CDUKRASLIEK901280-00005-m</FileID> <ExchTmstp>2009-08-30T12:14:39.000000+02:00</ExchTmstp> <FileType> <InitTAP> <TAPSeqNo>1280</TAPSeqNo> <NotifFileInd>true</NotifFileInd> <ChargeInfo> <TAPTxCutoffTmstp>2009-08-30T12:52:34.000000+03:00</TAPTxCutoffTmstp> <TAPAvailTmstp>2009-08-30T11:52:34.000000+02:00</TAPAvailTmstp> <TAPCurrency>SDR</TAPCurrency> <TotalNetCharge>0</TotalNetCharge> <TotalTax>0</TotalTax> </ChargeInfo> </InitTAP> </FileType> </FileItem> </FileItemList> </Connection> <Connection> <VPMN>UKRZZ</VPMN> <HPMN>LIEZZ</HPMN> <FileItemList> <FileItem> <FileID>CDUKRZZLIEZZ01274-00005-m</FileID> <ExchTmstp>2009-08-24T12:07:22.000000+02:00</ExchTmstp> <FileType> <InitTAP> <TAPSeqNo>1274</TAPSeqNo> <NotifFileInd>true</NotifFileInd> <ChargeInfo> <TAPTxCutoffTmstp>2009-08-24T12:52:10.000000+03:00</TAPTxCutoffTmstp> <TAPAvailTmstp>2009-08-24T11:52:10.000000+02:00</TAPAvailTmstp> <TAPCurrency>SDR</TAPCurrency> <TotalNetCharge>0</TotalNetCharge> <TotalTax>0</TotalTax> </ChargeInfo> </InitTAP> </FileType> </FileItem> <FileItem> <FileID>CDUKRZZLIEZZ01280-00005-m</FileID> <ExchTmstp>2009-08-30T12:14:39.000000+02:00</ExchTmstp> <FileType> <InitTAP> <TAPSeqNo>1280</TAPSeqNo> <NotifFileInd>true</NotifFileInd> <ChargeInfo> <TAPTxCutoffTmstp>2009-08-30T12:52:34.000000+03:00</TAPTxCutoffTmstp> <TAPAvailTmstp>2009-08-30T11:52:34.000000+02:00</TAPAvailTmstp> <TAPCurrency>SDR</TAPCurrency> <TotalNetCharge>0</TotalNetCharge> <TotalTax>0</TotalTax> </ChargeInfo> </InitTAP> </FileType> </FileItem> </FileItemList> </Connection> </ConnectionList> </RTDR> '
It's the query I want to be able to run against the two XML documents. As mentioned, this works very well against the complex XML but no result against the simple XML.<RTDR xmlns:tadig-gen="https://infocentre.gsm.org/TADIG-GEN" xmlns="https://infocentre.gsm.org/TADIG-RTDR"> <RTDRFileHeader> <Prefix>DRTDR</Prefix> <Sender>EDSCH</Sender> <Recipient>NXTMP</Recipient> <PMN>AAAAA</PMN> <ReportSeqNo>1</ReportSeqNo> <TADIGGenSchemaVersion>2.2</TADIGGenSchemaVersion> <RTDRSchemaVersion>1.1</RTDRSchemaVersion> <CreationTmstp>2010-03-17T12:32:37.000000+01:00</CreationTmstp> </RTDRFileHeader> <ConnectionList> <Connection> <VPMN>AAAAA</VPMN> <HPMN>GRCCO</HPMN> <FileItemList> <FileItem> <FileID>CDAAAAAGRCCO04164-00001-d</FileID> <ExchTmstp>2010-03-16T00:30:27.000000+01:00</ExchTmstp> <FileType> <InitTAP> <TAPSeqNo>4164</TAPSeqNo> <NotifFileInd>false</NotifFileInd> <ChargeInfo> <TAPTxCutoffTmstp>2010-03-16T00:15:25.000000+01:00</TAPTxCutoffTmstp> <TAPAvailTmstp>2010-03-16T00:15:25.000000+01:00</TAPAvailTmstp> <TAPCurrency>SDR</TAPCurrency> <TotalNetCharge>48.546</TotalNetCharge> <TotalTax>0</TotalTax> <TrafficBreakdownList> <TrafficBreakdownItem> <CallEventType>CS MO</CallEventType> <CallEventInfo> <NumberOfEvents>7</NumberOfEvents> <TotNetCharge>11.16</TotNetCharge> <TotTaxValue>0</TotTaxValue> </CallEventInfo> </TrafficBreakdownItem> <TrafficBreakdownItem> <CallEventType>CS MT</CallEventType> <CallEventInfo> <NumberOfEvents>2</NumberOfEvents> <TotNetCharge>0</TotNetCharge> <TotTaxValue>0</TotTaxValue> </CallEventInfo> </TrafficBreakdownItem> <TrafficBreakdownItem> <CallEventType>GPRS Calls</CallEventType> <CallEventInfo> <NumberOfEvents>26</NumberOfEvents> <TotNetCharge>37.35</TotNetCharge> <TotTaxValue>0</TotTaxValue> </CallEventInfo> </TrafficBreakdownItem> <TrafficBreakdownItem> <CallEventType>SM-MO</CallEventType> <CallEventInfo> <NumberOfEvents>1</NumberOfEvents> <TotNetCharge>.036</TotNetCharge> <TotTaxValue>0</TotTaxValue> </CallEventInfo> </TrafficBreakdownItem> <TrafficBreakdownItem> <CallEventType>SM-MT</CallEventType> <CallEventInfo> <NumberOfEvents>3</NumberOfEvents> <TotNetCharge>0</TotNetCharge> <TotTaxValue>0</TotTaxValue> </CallEventInfo> </TrafficBreakdownItem> </TrafficBreakdownList> <AdditionalChargeInfo> <InvPeriod>2010-03</InvPeriod> <TotalNetChargeSDR>48.546</TotalNetChargeSDR> <TotalTaxSDR>0</TotalTaxSDR> <VPMNLocCurr>EUR</VPMNLocCurr> <TotalNetChargeVLCSR>54.687</TotalNetChargeVLCSR> <TotalTaxVLCSR>0</TotalTaxVLCSR> <TotalNetChargeVLCCD>54.216</TotalNetChargeVLCCD> <TotalTaxVLCCD>0</TotalTaxVLCCD> </AdditionalChargeInfo> </ChargeInfo> </InitTAP> </FileType> </FileItem> <FileItem> <FileID>CDAAAAAGRCCO04165-00001-d</FileID> <ExchTmstp>2010-03-16T09:27:15.000000+01:00</ExchTmstp> <FileType> <InitTAP> <TAPSeqNo>4165</TAPSeqNo> <NotifFileInd>false</NotifFileInd> <ChargeInfo> <TAPTxCutoffTmstp>2010-03-16T09:15:20.000000+01:00</TAPTxCutoffTmstp> <TAPAvailTmstp>2010-03-16T09:15:20.000000+01:00</TAPAvailTmstp> <TAPCurrency>SDR</TAPCurrency> <TotalNetCharge>7.114</TotalNetCharge> <TotalTax>0</TotalTax> <TrafficBreakdownList> <TrafficBreakdownItem> <CallEventType>CS MO</CallEventType> <CallEventInfo> <NumberOfEvents>5</NumberOfEvents> <TotNetCharge>4.985</TotNetCharge> <TotTaxValue>0</TotTaxValue> </CallEventInfo> </TrafficBreakdownItem> <TrafficBreakdownItem> <CallEventType>CS MT</CallEventType> <CallEventInfo> <NumberOfEvents>1</NumberOfEvents> <TotNetCharge>0</TotNetCharge> <TotTaxValue>0</TotTaxValue> </CallEventInfo> </TrafficBreakdownItem> <TrafficBreakdownItem> <CallEventType>GPRS Calls</CallEventType> <CallEventInfo> <NumberOfEvents>10</NumberOfEvents> <TotNetCharge>2.057</TotNetCharge> <TotTaxValue>0</TotTaxValue> </CallEventInfo> </TrafficBreakdownItem> <TrafficBreakdownItem> <CallEventType>SM-MO</CallEventType> <CallEventInfo> <NumberOfEvents>2</NumberOfEvents> <TotNetCharge>.072</TotNetCharge> <TotTaxValue>0</TotTaxValue> </CallEventInfo> </TrafficBreakdownItem> <TrafficBreakdownItem> <CallEventType>SM-MT</CallEventType> <CallEventInfo> <NumberOfEvents>6</NumberOfEvents> <TotNetCharge>0</TotNetCharge> <TotTaxValue>0</TotTaxValue> </CallEventInfo> </TrafficBreakdownItem> </TrafficBreakdownList> <AdditionalChargeInfo> <InvPeriod>2010-03</InvPeriod> <TotalNetChargeSDR>7.114</TotalNetChargeSDR> <TotalTaxSDR>0</TotalTaxSDR> <VPMNLocCurr>EUR</VPMNLocCurr> <TotalNetChargeVLCSR>8.014</TotalNetChargeVLCSR> <TotalTaxVLCSR>0</TotalTaxVLCSR> <TotalNetChargeVLCCD>7.959</TotalNetChargeVLCCD> <TotalTaxVLCCD>0</TotalTaxVLCCD> </AdditionalChargeInfo> </ChargeInfo> </InitTAP> </FileType> </FileItem> <FileItem> <FileID>CDAAAAAGRCCO04166-00001-d</FileID> <ExchTmstp>2010-03-16T14:28:43.000000+01:00</ExchTmstp> <FileType> <InitTAP> <TAPSeqNo>4166</TAPSeqNo> <NotifFileInd>false</NotifFileInd> <ChargeInfo> <TAPTxCutoffTmstp>2010-03-16T14:15:23.000000+01:00</TAPTxCutoffTmstp> <TAPAvailTmstp>2010-03-16T14:15:23.000000+01:00</TAPAvailTmstp> <TAPCurrency>SDR</TAPCurrency> <TotalNetCharge>1.638</TotalNetCharge> <TotalTax>0</TotalTax> <TrafficBreakdownList> <TrafficBreakdownItem> <CallEventType>CS MO</CallEventType> <CallEventInfo> <NumberOfEvents>2</NumberOfEvents> <TotNetCharge>1.458</TotNetCharge> <TotTaxValue>0</TotTaxValue> </CallEventInfo> </TrafficBreakdownItem> <TrafficBreakdownItem> <CallEventType>CS MT</CallEventType> <CallEventInfo> <NumberOfEvents>7</NumberOfEvents> <TotNetCharge>0</TotNetCharge> <TotTaxValue>0</TotTaxValue> </CallEventInfo> </TrafficBreakdownItem> <TrafficBreakdownItem> <CallEventType>SM-MO</CallEventType> <CallEventInfo> <NumberOfEvents>5</NumberOfEvents> <TotNetCharge>.18</TotNetCharge> <TotTaxValue>0</TotTaxValue> </CallEventInfo> </TrafficBreakdownItem> <TrafficBreakdownItem> <CallEventType>SM-MT</CallEventType> <CallEventInfo> <NumberOfEvents>15</NumberOfEvents> <TotNetCharge>0</TotNetCharge> <TotTaxValue>0</TotTaxValue> </CallEventInfo> </TrafficBreakdownItem> </TrafficBreakdownList> <AdditionalChargeInfo> <InvPeriod>2010-03</InvPeriod> <TotalNetChargeSDR>1.638</TotalNetChargeSDR> <TotalTaxSDR>0</TotalTaxSDR> <VPMNLocCurr>EUR</VPMNLocCurr> <TotalNetChargeVLCSR>1.845</TotalNetChargeVLCSR> <TotalTaxVLCSR>0</TotalTaxVLCSR> <TotalNetChargeVLCCD>1.832</TotalNetChargeVLCCD> <TotalTaxVLCCD>0</TotalTaxVLCCD> </AdditionalChargeInfo> </ChargeInfo> </InitTAP> </FileType> </FileItem> </FileItemList> </Connection> <Connection> <VPMN>AAAAA</VPMN> <HPMN>GRCSH</HPMN> <FileItemList> <FileItem> <FileID>CDAAAAAGRCSH03283-00001-d</FileID> <ExchTmstp>2010-03-16T00:30:29.000000+01:00</ExchTmstp> <FileType> <InitTAP> <TAPSeqNo>3283</TAPSeqNo> <NotifFileInd>false</NotifFileInd> <ChargeInfo> <TAPTxCutoffTmstp>2010-03-16T00:15:25.000000+01:00</TAPTxCutoffTmstp> <TAPAvailTmstp>2010-03-16T00:15:25.000000+01:00</TAPAvailTmstp> <TAPCurrency>SDR</TAPCurrency> <TotalNetCharge>0</TotalNetCharge> <TotalTax>0</TotalTax> <TrafficBreakdownList> <TrafficBreakdownItem> <CallEventType>SM-MT</CallEventType> <CallEventInfo> <NumberOfEvents>1</NumberOfEvents> <TotNetCharge>0</TotNetCharge> <TotTaxValue>0</TotTaxValue> </CallEventInfo> </TrafficBreakdownItem> </TrafficBreakdownList> <AdditionalChargeInfo> <InvPeriod>2010-03</InvPeriod> <TotalNetChargeSDR>0</TotalNetChargeSDR> <TotalTaxSDR>0</TotalTaxSDR> <VPMNLocCurr>EUR</VPMNLocCurr> <TotalNetChargeVLCSR>0</TotalNetChargeVLCSR> <TotalTaxVLCSR>0</TotalTaxVLCSR> <TotalNetChargeVLCCD>0</TotalNetChargeVLCCD> <TotalTaxVLCCD>0</TotalTaxVLCCD> </AdditionalChargeInfo> </ChargeInfo> </InitTAP> </FileType> </FileItem> <FileItem> <FileID>CDAAAAAGRCSH03284-00001-d</FileID> <ExchTmstp>2010-03-16T09:27:16.000000+01:00</ExchTmstp> <FileType> <InitTAP> <TAPSeqNo>3284</TAPSeqNo> <NotifFileInd>false</NotifFileInd> <ChargeInfo> <TAPTxCutoffTmstp>2010-03-16T09:15:20.000000+01:00</TAPTxCutoffTmstp> <TAPAvailTmstp>2010-03-16T09:15:20.000000+01:00</TAPAvailTmstp> <TAPCurrency>SDR</TAPCurrency> <TotalNetCharge>.072</TotalNetCharge> <TotalTax>0</TotalTax> <TrafficBreakdownList> <TrafficBreakdownItem> <CallEventType>SM-MO</CallEventType> <CallEventInfo> <NumberOfEvents>2</NumberOfEvents> <TotNetCharge>.072</TotNetCharge> <TotTaxValue>0</TotTaxValue> </CallEventInfo> </TrafficBreakdownItem> <TrafficBreakdownItem> <CallEventType>SM-MT</CallEventType> <CallEventInfo> <NumberOfEvents>2</NumberOfEvents> <TotNetCharge>0</TotNetCharge> <TotTaxValue>0</TotTaxValue> </CallEventInfo> </TrafficBreakdownItem> </TrafficBreakdownList> <AdditionalChargeInfo> <InvPeriod>2010-03</InvPeriod> <TotalNetChargeSDR>.072</TotalNetChargeSDR> <TotalTaxSDR>0</TotalTaxSDR> <VPMNLocCurr>EUR</VPMNLocCurr> <TotalNetChargeVLCSR>.081</TotalNetChargeVLCSR> <TotalTaxVLCSR>0</TotalTaxVLCSR> <TotalNetChargeVLCCD>.081</TotalNetChargeVLCCD> <TotalTaxVLCCD>0</TotalTaxVLCCD> </AdditionalChargeInfo> </ChargeInfo> </InitTAP> </FileType> </FileItem> <FileItem> <FileID>CDAAAAAGRCSH03285-00001-d</FileID> <ExchTmstp>2010-03-16T14:28:45.000000+01:00</ExchTmstp> <FileType> <InitTAP> <TAPSeqNo>3285</TAPSeqNo> <NotifFileInd>false</NotifFileInd> <ChargeInfo> <TAPTxCutoffTmstp>2010-03-16T14:15:24.000000+01:00</TAPTxCutoffTmstp> <TAPAvailTmstp>2010-03-16T14:15:24.000000+01:00</TAPAvailTmstp> <TAPCurrency>SDR</TAPCurrency> <TotalNetCharge>0</TotalNetCharge> <TotalTax>0</TotalTax> <TrafficBreakdownList> <TrafficBreakdownItem> <CallEventType>SM-MT</CallEventType> <CallEventInfo> <NumberOfEvents>1</NumberOfEvents> <TotNetCharge>0</TotNetCharge> <TotTaxValue>0</TotTaxValue> </CallEventInfo> </TrafficBreakdownItem> </TrafficBreakdownList> <AdditionalChargeInfo> <InvPeriod>2010-03</InvPeriod> <TotalNetChargeSDR>0</TotalNetChargeSDR> <TotalTaxSDR>0</TotalTaxSDR> <VPMNLocCurr>EUR</VPMNLocCurr> <TotalNetChargeVLCSR>0</TotalNetChargeVLCSR> <TotalTaxVLCSR>0</TotalTaxVLCSR> <TotalNetChargeVLCCD>0</TotalNetChargeVLCCD> <TotalTaxVLCCD>0</TotalTaxVLCCD> </AdditionalChargeInfo> </ChargeInfo> </InitTAP> </FileType> </FileItem> </FileItemList> </Connection> </ConnectionList> </RTDR>’
Thank you very muchSELECT rtd.rtdr_document_id ,rtd.filename ,EXTRACTVALUE(rtd.rtdr , '/RTDR/RTDRFileHeader/PMN' ) client_pmn ,connXML."VPMN" vpmn ,connXML."HPMN" hpmn ,fileXML."TAPSeqNo" tap_seq_no ,chrgXML."TAPTxCutoffTmstp" tap_tx_cut_off_tmstp ,chrgXML."TAPAvailTmstp" tap_avail_tmstp ,chrgXML."TAPCurrency" tap_currency ,chrgXML."TotalNetCharge" total_net_charge ,chrgXML."TotalTax" total_tax ,traffXML."CallEventType" call_event_type ,callEvtXML."NumberOfEvents" number_of_events ,callEvtXML."TotNetCharge" call_event_ttl_net_charge ,callEvtXML."TotTaxValue" call_event_ttl_tax_value FROM t rtd ,XMLTABLE( XMLNAMESPACES ( DEFAULT 'https://infocentre.gsm.org/TADIG-RTDR' ), '/RTDR/ConnectionList/Connection' PASSING rtd.myXML COLUMNS "VPMN" VARCHAR2(5) PATH '/Connection/VPMN' ,"HPMN" VARCHAR2(5) PATH '/Connection/HPMN' ,"FileXML" XMLTYPE PATH '/Connection/FileItemList/FileItem/FileType/InitTAP' ) connXML ,XMLTABLE( XMLNAMESPACES ( DEFAULT 'https://infocentre.gsm.org/TADIG-RTDR' ), '/InitTAP' PASSING connXML."FileXML" COLUMNS "TAPSeqNo" VARCHAR2(50) PATH '/InitTAP/TAPSeqNo' ,"ChargeInfoXML" XMLTYPE PATH '/InitTAP/ChargeInfo' ) fileXML ,XMLTABLE( XMLNAMESPACES ( DEFAULT 'https://infocentre.gsm.org/TADIG-RTDR' ), '/ChargeInfo' PASSING fileXML."ChargeInfoXML" COLUMNS "TAPTxCutoffTmstp" VARCHAR2(30) PATH '/ChargeInfo/TAPTxCutoffTmstp' ,"TAPAvailTmstp" VARCHAR2(30) PATH '/ChargeInfo/TAPAvailTmstp' ,"TAPCurrency" VARCHAR2(30) PATH '/ChargeInfo/TAPCurrency' ,"TotalNetCharge" NUMBER(22,5) PATH '/ChargeInfo/TotalNetCharge' ,"TotalTax" NUMBER(22,5) PATH '/ChargeInfo/TotalTax' ,"TrafficBreakdownListXML" XMLTYPE PATH 'TrafficBreakdownList/TrafficBreakdownItem' ) chrgXML ,XMLTABLE( XMLNAMESPACES ( DEFAULT 'https://infocentre.gsm.org/TADIG-RTDR' ), '/TrafficBreakdownItem' PASSING chrgXML."TrafficBreakdownListXML" COLUMNS "CallEventType" VARCHAR2(20) PATH '/TrafficBreakdownItem/CallEventType' ,"CallEventInfoXML" XMLTYPE PATH '/TrafficBreakdownItem/CallEventInfo' ) traffXML ,XMLTABLE( XMLNAMESPACES ( DEFAULT 'https://infocentre.gsm.org/TADIG-RTDR' ), '/CallEventInfo' PASSING traffXML."CallEventInfoXML" COLUMNS "NumberOfEvents" NUMBER PATH '/CallEventInfo/NumberOfEvents' ,"TotNetCharge" NUMBER PATH '/CallEventInfo/TotNetCharge' ,"TotTaxValue" NUMBER PATH '/CallEventInfo/TotTaxValue' ) callEvtXML
Kind regards
Simon GaddHi Simon,.
I guess what I'm after looks like a LEFT JOIN XML
Exactly.
Try to add a (+) after the last two XMLTABLEs operator:
... ,XMLTABLE( XMLNAMESPACES ( DEFAULT 'https://infocentre.gsm.org/TADIG-RTDR' ), '/TrafficBreakdownItem' PASSING chrgXML."TrafficBreakdownListXML" COLUMNS "CallEventType" VARCHAR2(20) PATH '/TrafficBreakdownItem/CallEventType' ,"CallEventInfoXML" XMLTYPE PATH '/TrafficBreakdownItem/CallEventInfo' ) (+) traffXML ,XMLTABLE( XMLNAMESPACES ( DEFAULT 'https://infocentre.gsm.org/TADIG-RTDR' ), '/CallEventInfo' PASSING traffXML."CallEventInfoXML" COLUMNS "NumberOfEvents" NUMBER PATH '/CallEventInfo/NumberOfEvents' ,"TotNetCharge" NUMBER PATH '/CallEventInfo/TotNetCharge' ,"TotTaxValue" NUMBER PATH '/CallEventInfo/TotTaxValue' ) (+) callEvtXML
HTH.
PS: the declaration of namespaces does not appear in the 'limited' version, perhaps you simply forgotten in your sample? Could you confirm?
-
I have a number of mp3 files in folders that are defined as part of my WMP library, but the tracks are not listed when I go to the library in WMP, if I list by artist, album or all the songs. I tried running the hotfix that allegedly rebuilt the library database, but still don't see them.
Hello
I suggest you follow the troubleshooting steps form the article and check if it helps.
You cannot view, add, or delete items in the library of Windows Media Player 11
http://support.Microsoft.com/kb/925718
Hope this helps
-
How to choose the elements that are copied when using a custom template?
Hello
As the title, how to choose whether or not an element is copied into a new project when the project is created from a custom template?
I recently created a custom template by following these instructions, as had recommended after my last question on the forums:
The template was created so that I can create several versions of a broad program of LabVIEW with unique names (using the prefix in the project options). It works fine except that some things are not copied into the new project, even if they are part of the model. The most important point of "disappeared" is for runtime menu (which is a RTM file). Does anyone know why this might be missing? And how to make sure, it is included in the future?
Thanks for any help.
OK, here is the custom script VI (saved in LabVIEW 2012) and XML update that should fix your test project. You can take a look at how I implemented XML and script VI, then make the changes applicable to your current project.
1. use the attached file to MenuTest.xml for your meta data. Note the new sections CustomVIMode and CustomVIPath .
2 create a folder next to your .lvproj of the source script and place the PostCopyScripting.vi in there.
Once you have done so, your MenuTestProject should be copied on properly... the GTR will be present in the new Bachelor of LAW, it will have a correct prefix (if specified), and it will be the correct link to the VI.
I would like to know if you have any other questions or problems.
-
Can make the elements that I need to?
Im trying to figure out whether and how to do something. I don't know the technical term for this then I'll explain. Example: you have a color photo of flowers. You change the photo in black and white, then make 1 flower in color... Can anyone help me please with this. I can do it with Corel Paintshop... but prefer to do with the items. Thank you!!!
Of course, easily. In PSE 8, get the smart brush, choose a black and white conversion style in the options bar, activate the check of the reverse box and drag on what you want in color. The rest of the image becomes black and white, what you drag more stays in color.
-
Can I load MDR100ABN listener using the charger that comes with mobile phones
Can I load MDR100ABN earpiece with charger that comes with mobile or camera DSC-HX90V
Hello, ss2016!
It is recommended to use only the USB cable provided with the product itself. But if it is a Sony USB cable, then it should be all right. I load all my Sony products with different cables Sony too (as long as the load cables shown in the port of loading of the product), and there is no problem. They all work very well. No problem whatsoever. I never use another cable other than a charge cable Sony with my Sony products. If the is a charger for Sony, there should be no problem using it as a charging cable. Make sure that it fits into the port of loading of the headphones. The DSC-HX90V is also a Sony product, so it shouldn't be a problem using the Sony camera cable to charge your Sony headphones. In other words, make sure you only use cables from Sony to charge Sony products. (But we must ensure that the cable Sony fits into the Sony product)
Best regards
-
I often use my computer for demonstration software. When that someone turned on the feature of having one zero circle on this point I am pointing to and activated by Ctrl-left click but I have no idea how turn it off.
Help!
Thank you
Type 'mouse' in the 'Search' box and press ENTER. Click "Pointer Options" and uncheck the box "see the position of the pointer when I press the CTRL key".
-
Good day everyone.
Been working on a fun project for a while now and overtime, I added the audio, images and YouTube videos in my project that later, I decided not to use in the timeline panel. These media (for example, a specific song or image) are always loaded when I load the project and are included in the assets of the project, of course. The reason being, I never deleted from the project.
Now, I probably have about 30 to 40 cases. It is time to clean house and I want to know if there is a command or a way to get the first (ss12) to highlight, gold banner somehow let me know which media, well listed and loaded, is not used in the timeline panel.
Any chance this feature exist?
Best.
Love_Green_Turtles
For your consideration... Try on a new mini test project before using it on a project of 'true '...
Open an active project
Click on the Options tab of Control Panel
In the Panel Options Select display
Select in the List View view
In list view all files that are in the current project and the timeline will have a green dot in the used column.
If you delete a file from the timeline, the green dot next to the involved file will disappear.
You should be able to go through the list of assets/open project view and clear all entries that do not have a green dot next to them.
Another safety net to consider... make a copy of the 'real' project and try the above on the copy.
Please let us know if we have targeted your question and if the works above for you.
Thank you.
RTA
-
A 12 DIR EXE can get the parameters that is passed?
I want to pass two parameters to my application DIR in the command line.
Is this possible? What is the method or command?
Thank you
Jim
the command line
http://www.Director-online.com/dougwiki/index.php?title=Undocumented_Lingo#the_commandLine
-
Display text different box color based on the value of the element
Hello
Someone knows how to change a color of text box is based on the value of the element?
for example. If the element has the value = 0, display framed in red, or white.
Is this possible?
Thank youOpps above was a bad code...
Assume that the element that will have a value of 0 is P1_ABC then use the code below
if( $v('P1_ABC') == '0') $x('P1_ABC').style.backgroundColor='red'; else $x('P1_ABC').style.backgroundColor='white';
Kind regards
Shijesh -
Forming a dynamic report with the value of an element query
Hi gurus,
We wanted to create a report based on the value of an element in the page.
For example
There is a text box named p1_table according to the value of this element that should alter the query from the report
(1) when p1_table = emp query report should be select * from EMP
(2) when p1_table = dept query report should be select * from dept
I tried to do this using
Select * from: p1_table and select * from v('p1_table'), it does not work.
Kindly help me in the fulfilment of the condition.
Thank you and best regards,
Vikas KrishnaHi Vikas,
You should do this as a report based on a function that returns the query string. You generate the string dynamically in function.
Concerning
André -
workaround for the limitation of pilot ODI xml: same name of the element under
Hello
I have an xml schema, as shown below that has a (GTIN) name of the element that is repeated as sub in other element name type complex
< xs: element name = "ArticleDetails1" maxOccurs = "unbounded" >
< xs: complexType >
< xs: SEQUENCE >
< xs: element name = "GTIN" type = "xs: String" minOccurs = "1" maxOccurs = "1" / >
< xs: element name = "IETS1" minOccurs = "0" maxOccurs = "1" >
< xs: complexType >
< xs: SEQUENCE >
< xs: element name = "GTIN" type = "xs: String" maxOccurs = "unbounded" / >
< / xs: SEQUENCE >
< / xs: complexType >
< / xs: element >
< xs: SEQUENCE >
< / xs: complexType >
< / xs: element >
When I strip, I was hoping IETS1 tables and GTIN which will be a reference to the IETS1 table. But only IETS1 table is created to which several GTIN are ignored when the xml file is loaded (GTIN only the first goes to the table of the IETS1). If I change item under IETS1 say 'GTIN1' and then 2 tables is created for the IETS1 and another for GTIN1 and things work fine in this case.
I came across this link
who says it's a limitation of xml driver.
I'm interested to know if there is a work around for this problem as long as it is not well known, but it is possible to change the name of the sub element in Xsd that came from another system?
Thank you.
Well, I discovered the work around. The trick is to give f =
in url jdbc (instead of DTD path) and specify number (GTIN) nodes under the node of the IETS1. -
The tag of the element for CSS - how to use it?
Hello
I was watching this video and this guy was using inspect element in Chrome to identify things, that he wanted to change in a web page. I remember him it helps a lot:
{Element.style
}
.. and then write the changes in his CSS in Dreamweaver. I was not able to understand what that means though that element.style above. Can someone explain what it is? Do I need to use it whenever I want to add a change in my existing CSS file? Sorry, this is a vague question, but I just want to understand better. For some reason, I went to the school of W3 and still can't find anything.
Thank you.
An assumption
{ Element.style
}
is a generic term meaning exactly that.
element is the element that is referenced as p, div, span, h2, etc.
.style is the class assigned to the element of identification.
If we wanted to change the color of the text of a particular title, we would use
{ H2.} {Red }
color: Red;
}
and our markup would look like
It's my red topic
Maybe you are looking for
-
DeskJet 1000: Remove the borders on my photos
My little Deskjet 1000 prints beautifully, but here's the problem I have: it prints with a border around the sides. I don't want a border. I put photo paper glossy 4 x 6 print in portrait, and there is a border of white half inch around all sides a
-
The display freezes randomly. The Windows desktop, on the Web pages and during the games. This problem started when I had Vista and I have improved the thought that the BONE was the problem. It is not the case. I added 2 GB of the thought of RAM I ne
-
Hello I am trying to create a query that is derived from an existing query. I created a query that returns all of the pools resource with the name 'like' % ovdc However, I filter the set so that anything that ends with the string 'recover' show no r
-
I have 4 HP 110 recovery, given to me by Staples, disks when I bought the computer. I've just 'refreshed' my computer and now need to use the disks. Y at - it a command to run records, or do I have to copy each file individually? Thank you.
-
CHARACTER ANIMATION: Nothing is pinned, but slippery is distorted?
I imported a character in CA and I added mobile points adding I tried, but members keep getting distorted? I've included pictures. I have not nailed down anything yet so I don't know why this is happening? Help, please!