How can i count the times one TAG occurred in a XMLTYPE?

hi all
is there method i can use to count the times one specified TAG occurred in a XMLTYPE?
i just konw the method getClobVal,existNode,extract,...
but none seems can help this
anyone can help me?

i see
i think i know how to use Xpath func
but when i try the following statement on sqlplus( Release 9.2.0.4.0),it says :"the XPATH is not supportted"
declare
l_xml xmltype;
num number;
begin
select XML_BODY into l_xml from KD_SHIMEN_SEISEI w where FILE='SMNDATA';
--get value OK!
num := xmltype.extract(l_xml,'/Tag1[1]/Tag2/text()').getNumberVal();
--sum or count ,failed,Xpath not support?
num := xmltype.extract(l_xml,'sum(/Tag1/Tag2/text())').getNumberVal();
               DBMS_OUTPUT.PUT_LINE(num);
end;
can u explain this?

Similar Messages

  • I have two apple id's because my hotmail account is no longer active. How can I delete the old one and use or update the new one?  Every time I try it won't allow me and now my iPad thinks there are two accounts and they are arguing with each other. Help!

    I have two apple id's because my hotmail account is no longer active. How can I delete the old one and use or update the new one?  Every time I try it won't allow me and now my iPad thinks there are two accounts and they are arguing with each other. Help!

    You can't merge accounts or copy content to a different account, so anything that you bought or downloaded via the old account is tied to that account - so any updates that those apps get you will only be able to download via that account. You can change which account is logged in on the iPad via Settings > Store

  • How can i get the time and result together show in one Array or in Cluster?

    hello everyone i am a new user .I want to get the time and voltge form a Generater. How can i get the time and result together show in one Array or in Cluster?When i selecte the first(or third...) result then in the front panel display the time and the voltge.Thank you!
    I post the time and voltge NOT together photo
    Attachments:
    12345.GIF ‏54 KB

    You can create an array of clusters with one element being the time and the other being the voltage, like so (using the "Get Waveform Components" function):
    Message Edited by smercurio_fc on 10-17-2007 03:15 PM
    Attachments:
    pic.PNG ‏11 KB

  • I had 2 games of clash of clans on 1 game centre.  Now I can only see one?  How can I find the other one?

    My kids had 2 games of clash of clans on 1 game centre.  Now I can only see one?  How can I find the other one?
    My daughter set up a game centre on her ipad.  My son, on his ipad used the same game centre log in.  He then set up his own game of clash of clans.  After my son set up his Clash of Clans, my daugher set up her own Clash of Clans using the same game centre log in on her ipad.  Both were using the Clash of Clans successfully on their own ipads using the same game centre log in. 
    One day my son signed into someone elses Clash of Clans, since then he is unable to go back to his Clash of Clans and can only see his sisters.
    Please let me know if this can be resolved.
    We wish to delete my daughters Clash of Clans - as she does not use it at all.  We would like to regain access to my sons. 
    My son can visit his Clash of Clans - his clan name is 'The Big Boys'  He has a shield that is blue with a yellow lightning from top right to bottom left.  His name is Fat Poo (I know ridiculous).
    If you can help us or advise us what to do we would make my son very happy
    thanks

    Thanks for taking a stab at it: that didn't prove to be the problem. That option in the settings for tabbed browsing was not checked.
    I may be a bit behind the times: I am used to tabbed browsing showing all the tabs it possibly can, instead of just the last one. Sometimes it won't even show the last tab: I can have 15 tabs open, and not see a single tab. I've been confused by this into closing a window with lots of tabs open, because it looks like a single page-window.
    My main problem with the tab-bar flashing to the end of the row is that it means a great deal more mouse-clicking around to browse.
    I haven't tried installing the latest beta. Maybe that would fix the problem.
    Toddo

  • Apple TV uploads can take up to 30 minutes. I need control over this, because it interrupts my presentations. How can I control the time it chooses to do uploads?

    Apple TV uploads can take up to 30 minutes. I need control over this, because it interrupts my presentations. How can I control the time it chooses to do uploads?

    this is exactly the kind of response i expected, almost begged support to please not do this to me and yet there it is another meaningless, non helpful, standard template response to restart my apple tv.
    this does NOT work which is why i am contacting you. i have tried all suggestions about unplugging and restarting and nothing works.
    i live in an apartment and logon to the provided wifi wireless. so i do not have access to a router. however, management says they have talked with their provider and have been assured that the required ports are available.
    remember all the jokes about how bad windows was because the solution was always to re boot. funny huh? how is apple any different.
    i have been to the local apple care store and they are clueless, too.
    should we just end it here and you admit that i will not be getting any support from apple on this one? i got the ipad because my kids were such big fans. it is difficult for me to share their enthusiasm.
    at this point i am just curious about how you say you cannot support your own product so i can complete my file on this contact.
    thanks...sorry it was you who got this problem..

  • How can I make the background one solid color?  It is too difficult and noticeable when I use the retouch button and try to erase all the creases in my backdrop.  So, how can I have just a solid white background?

    How can I make the background one solid color?  It is too difficult and noticeable when I use the retouch button and try to erase all the creases in my backdrop.  So, how can I have just a solid white background?

    When talking about a specific image posting the image may be useful.
    One can use a Layer Mask and add a white Layer underneath.

  • I have just installed a 2TB time capsule on my iMac i7, it see my second 1TB hard drive but the 256 SSD doesn't come up in the list of hard drives I can back up. How can I enable the time machine to see my first SSD 256gb hard drive?

    I have just installed a 2TB time capsule on my iMac i7, it see my second 1TB hard drive but the 256 SSD doesn't come up in the list of hard drives I can back up. How can I enable the time machine to see my first SSD 256gb hard drive?

    iLife is preinstalled on all the Macs. If you purchased iLife in the App Store or your computer came without DVDs, open App Store > Purchases and download the applications. If your Mac came with discs, insert the Applications DVD and install iLife applications

  • I have 2 ipod touches. I backed up the new one with old's info. The old one will not unlock with the password I had wrote down and I tried my new ones password.  How can I reset the old ipod without affecting the new one and how can I unlock the old one?

    I have 2 ipod touches. I backed up the new one with old's info. The old one will not unlock with the password I had wrote down and I tried my new ones password.  How can I reset the old ipod without affecting the new one and how can I unlock the old one?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software

  • How can i pass the value one from to another form?

    hi all
    how can i pass the value one from to another form  with out use it when ever i want to needed this value that ican useit?
    like i have two fields U_test1 and U_test2  table name @AUSR
    that i have  four form  A! , A2,A3,A4    please tell me in details....?

    Hi,
    U can assign the values to some variables and access then in ur required forms.
    Vasu Natari.

  • For iPhone4 with iOS7, how can i see the time of day for a voice memo instead of the length of time for the recording?

    For iPhone 4S with iOS7 version 7.0.2, how can I see the time of day for a voice memo, as opposed to its length (of time)?

    For iPhone 4S with iOS7 version 7.0.2, how can I see the time of day for a voice memo, as opposed to its length (of time)?

  • I downloaded a movie twice.  How can I cancel the other one and get a refund?

    I downloaded a movie twice.  How can I cancel the other one and get a refund?

    If you are speaking of an iTunes purchase, you will need to contact iTunes Customer Service and explain the situation. Their written policy is kinda cold, in that they say they don't issue refunds for erroneous purchases, but I have found them to be a bit more understanding and helpful than that.
    Start by calling Apple at 1-800-275-2273 (if in the US) and ask to be connected to iTunes Customer Service.

  • How can I find the time a site was accessed in Safari's history?

    I know that Safari's "History" list is in reverse order, that is, most recently visited sites at the top of the list.  How can I find the time a particular site was visited?

    As of Safari 5.1.7 there does not appear to be a way to view the time in the browser, but it is still possbile to find from the raw history file. Open /Users/[yourusername]/library/Safari/History.plist in a text editor. Depending on how your text editor reads the file, you may see a lot of garbled text, but you should still be able to find the URL that you want the time for. After the URL you may see the page's title, but should also see a left square bracket followed by numbers.
    Example:
    _?http://www.apple.com/_Apple[377832904.6o
    The integer is an Apple timestamp (number of seconds since 00:00:00 UTC on 1 January 2001). Find a timestamp calculator online to get the actual time for your timestamp. In the example above, Apple was visited on Dec 21 2012 at 17:35:04 PST.
    Cheers.

  • How can i get the time to appear on my stored data in notepad

    Hi all,
    I was wondering how can i get the time to appear on my stored data in notepad? I saw an example before but i forgotten which example was it.. Any ideas??
    holla
    Attachments:
    TextFile1.txt ‏3 KB

    Hi
    Im using Labview 8.2. Currently it just shows the data without the time. Im not sure what to do. It works perfectly though. I just want the time to appear on my notepad along with my data
    holla
    Attachments:
    Testing1.txt ‏1 KB
    Untitled 231_LV80.vi ‏23 KB

  • How can I get the time in Microsecond with JNI ?

    How can I get the time in Microsecond with JNI ?

    JNIEXPORT jdouble JNICALL Java_Win32Native_queryPerformanceFrequency (JNIEnv *env, jobject obj) {
         LARGE_INTEGER lFrequency;
         ::QueryPerformanceFrequency(&lFrequency);
         return (jdouble)lFrequency.QuadPart;
    JNIEXPORT jdouble JNICALL Java_Win32Native_queryPerformanceCounter (JNIEnv *env, jobject obj) {
         LARGE_INTEGER lpCounter;
         ::QueryPerformanceCounter(&lpCounter);
         return (jdouble)lpCounter.QuadPart;

  • HT1414 I updated my i phone 4 to the new version but i want the old one how can i have the old one back

    I updated my i phone 4 to the new version but i want the old one how can i have the old one back. Thank you

    Sorry, Apple has no approved method to downgrade the version of iOS on your iDevice. You can voice your displeasure with the iOS by leaving feedback at the appropriate subsection from the link below.
    http://www.apple.com/feedback/

Maybe you are looking for

  • Anyconnect App in IOS 8

    Hello Im facing with an issue after upgrading IOS 7 to 8, Cisco Anyconnect app is unstable connection and skip after few minutes and needs to be reconnect. is any body here have experience on this issue? Thank You Ali

  • Developing plug-ins for BEA Weblogic Studio

    Can anyone provide pointers on documentation on developing plug-ins for BEA Weblogic Studio (e.g like this one https://beajunitplugin.projects.dev2dev.bea.com/ ) Regards, -N

  • Sending purchase order by email to vendor

    hi what conf steps required for sending purchase order by email to vendor and internal users? rgds sara

  • Conditional Build Tags + Image Map + Popup Doesn't Work

    For RH build X.5.0.2, I have images in some topics and a conditional build tag is applied to those images. The images have image maps drawn on them and those image maps launch popup topics. Everything worked fine until I added the conditional build t

  • MultipartRequest error

    Hi, Can anyone please help me. I am having an error using MultipartRequest class by oreilly. I am trying to checkin a file and it worked well when i was using it on my local machine running LiteWebServer. But not i have transferred my code into WebSp