Analysis using the extractvalue XML method

Hello
In the XML message I want to extract values in the brochure below. That is to say john and peter

Select EXTRACTvalue (xmltype ("<?")) XML version = "1.0" encoding ="utf - 8"? >
< startempdetail >
< empDetails >
< empDetail >
John < name > < / name >
< / empDetail >
< empDetail >
Peter < name > < / name >
< / empDetail >
< / empDetails >
((< / startempdetail > '), ' / startempdetail/empDetails/empDetail/name ")
Double;

its not work if only john. Can someone help me solve this problem?

Thank you!

ExtractValue returnin only acronym row.

Try this please

SELECT
extractvalue
(EXTRACT(xmltype('



john


peter


'), '/startempdetail/empDetails/empDetail/name'),'/name[position()='||level||']')
from dual connect by level<=2;

Tags: Database

Similar Questions

  • analysis of the Web.XML using runassembler

    Hi guys

    Whie creation file ear using runassembler command how it will identify a module that contains the jsp and base files it identify the web.xml file and parse the file web.xml

    Please give me some clearification on this

    At the time of creation of the atg project, we specify following

    1. j2eeapplication name
    2. name of the Web application
    3. context root
    4. Server

    This will create the following:

    • /J2EE - Apps / {j2ee application name}/META-INF/application.xml

    application.XML, this will serve as runassebler while creating ears (reading manifest file) to determine the associated web application to this

    J2EE application.

    • /J2EE - Apps / {the j2ee application name} / {the web application name} .war

    {the web application name} .war file will be your jsp, taglibs, web.xml, this war is packed in the ear if no problem analysis is delivered and used in the

    application execution time.

    When reading the manifest file (main or dependent module) if runassebler meets ATG-EAR-Module in the manifest file,.

    MANIFESTO. MF:

    ATG-EAR-Module: {j2eeapplication name}

    then he waits for application.xml at the path/j2ee-apps / {j2eeapplication name} / META-INF. It reads the application.xml file and determine the web application.

    application.XML:

    {the web application name}

    {the web application context root}

    Then he waits for {web app name} to attend the path/j2ee-apps / {name of the j2ee application} and it packs the file. War in the ear.

    I hope that this answer to your query.

  • How to retrieve the image BLOB from database and display the image in rtf file using the Oracle XML Desktop 5.6.2 publication server?

    Hi all

    Here I have the image BLOB in the database files,

    I want to show the image to PDF using file to rtf using Oracle Xml Desktop Publisher,

    Hi all

    I found the solution for reading Image BLOB of data base & display in Pdf format.

    (1) read the image from DB.2) and then copy the picture using IO. UtilsCopy method to copy the picture

    (3) then encode with base64 converter then you will get the tag XML with Base64 as string then placed in your XML Code & preview the output, you will find the image

    Photo = (BlobDomain) currentRow.getAttribute ("Image");

    ByteArrayOutputStream OutputStream = new ByteArrayOutputStream();

                        Byte [] imageByte;
                          Byte [] b = null;
                        try {}
                        
                            IOUtils.copy (photo.getInputStream (), outputStream);
                            BS = outputStream.toByteArray ();
                            outputStream.flush ();
                            System.out.println("==="+BS.) Length);
                            Encoded byte [] is Base64.encodeBase64 (bs).;
                            encodedString = new String (encoded);
  • Analysis of the inline XML

    Greetings,

    I am running CF MX7 and uses XMLparse to parse the following XML code.

    XMLparse works very well and returns the appropriate structure (or so I thought). The description tag starts by "trout ('and then the tag strong inline surrounds 2 sets of text." with 'and' between the two, followed by a ")" at the end.

    Structure description of the Tufts all text not with the strong tags in a single XMLtext ("trout (and) '") and has two child nodes for each of the brands. I can analyse everything but can not output the text in appropriate order. I analyzed this XML with stylusStudio and it creates correctly 3 fields of description with the appropriate text in the 2 fields strong and them.

    Shouldn't XMLparse also return 3 both description elements?

    Thanks for any information...

    You must the content of the description element ToString() and then remove any XML declaration extrinsic which adds the function. Unless you're using CF6.1, in which case you can use Java toString() as a shortcut... it won't turn on the statement.

  • How do you use the config.xml file to determine which version of an application, a user will download?

    I have two APKs for the same application and I implemented the config.XML of lower version number working for all screen sizes.  The config.XML for the higher version number is set up for only the scresns large and extra-large.  Here's the code from the config.xml file.

    Version 1

    < media screens android: anyDensity = "true" android: Center = 'true '.
    Android: smallScreens = "true".
    Android: normalScreens = 'true '.
    Android: largeScreens = "true".
    Android: xlargeScreens = "true" / >

    Version 2

    < media screens android: anyDensity = "true" android: Center = 'true '.
    Android: smallScreens = "false".
    Android: normalScreens = "false".
    Android: largeScreens = "true".
    Android: xlargeScreens = "true" / >

    When I try to download the app on Google game, only the top version is available, regardless of the size of the unit.  When I asked Google game why this was not behave as expected, they said that the file manifest for both applications is the same.  Here is the code, they shot in the manifest after having used PhoneGap Build.

    < media screens android: anyDensity = "true" android: smallScreens = "true" android: normalScreens = "true" android: largeScreens = "true" android: Center = "true" android: xlargeScreens = "true" / >

    Can someone explain why PhoneGap Build is not using the settings I set in the config.xml file?  And how to fix this?

    The tag is not a valid tag in the config.xml file. This is probably why you see the same tag in two, as the build service is ignorant.

    As to how solve you this problem. Currently, you can not, but the next version of android-cordova will include the ability to add a tag which you will be able to use like this:

  • How to use the query xml in as3

    What follows is the result of the motion preset xml export.

    < motion duration = "1" xmlns="fl.motion. * ' xmlns:geom=" flash.geom. * ' xmlns:filters="flash.filters. * '>

    < source >

      < source frameRate = "24" x="449.5" y="138.55" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="ball" symbolName="ball">

    < size >

      < geom: Rectangle left="-51.5" top="-51.5" width="103" height="103"/>

    < / size >

    < transformationPoint >

      < geom: Point x="0.5" y="0.9956310679611651"/>

    < / transformationPoint >

    < / source >

    < / source >

    <Keyframe index="0"/>

    < / movement >


    can someone show me how the as3 in flash script should be to put the motion to my mc "ball" in the fla?

    You cannot use a string.  Use the movieclip, evt.target not evt.target.name.

    (p.s when you use the adobe forums, check useful/correct, if there is.)

  • How to use the PrintJob.addPage method print movieclips on frame?

    Hello

    I am using Flash CS3, AS2.

    I try to print the movieclips placed on different images in the main timeline.

    First of all, I have to print the movieclip placed on the 172 chassis, and then print a movieclip on the 179 chassis and so on...

    I applied the code below to the event (release) on a button named btnPrint:

    var my_pj:PrintJob = new PrintJob();

    If (my_pj.start ()) {}

    var pageAdded:Boolean = false;

    pageAdded = my_pj.addPage (0, {xMin:394, xMax:1033, yMin:46, yMax:953}, null, 172);

    If {(pageAdded)

    my_pj. Send();
    }
    }

    I have 2 problems with the above code.

    First of all, when I click on btnPrint in my flash animation in the web browser, and then press the "print" button in the printer dialog, it can print the movieclip placed on the 172 but frame flash animation in my web browser goes to the framework 172 and stops there. I don't want my flash movie to actually go to the 172 section where the movieclip is placed, but I want to keep it at the current frame.

    The second problem is the flash movieclip placed on frame 172 a actionscript code in this document, which sets the text in the text box inside the movieclip to the value of the variable that was recovered using the loadVariablesNum() method. However, print them page shows the movieclip with no actionscript code executed - the text boxes are empty. I'm sure that codes in the movieclip actionscript is correct because movieclip exactly same spot on the current frame displays the text correctly area.

    Can someone explain to me how sove such problems?

    Thank you.

    do you see a problem in http://www.kglad.com/Files/forums/test4.html?

  • BSOD analysis using the auditor

    I get the BSOD and I checked the non-Microsoft files using the auditor.  Here's the .dmp file:

    https://onedrive.live.com/redir?RESID=B6ECAE13E4F038D8! 2404 & authkey =! AHPNp0xGKW6jshM & ithint = the file % 2czip

    Windows 7 x 64

    Corsair Vengeance 16 GB RAM

    EVGA GTX 970

    ASUS P8 Z77 - V LK

    Blue 1 TB 7200 RPM HARD drive

    If there is anything else needed please let me know and if I posted this in the wrong place, please let me know if I can post in the right place. Thank you

    Hello

    Please do not include the old minidumps. All that we need at the most are the latest 10.

    You, the problems are caused by mid-December 2015 Nvidia video drivers. Check with support from Nvidia,
    their documentation online and drivers and ask questions in the forums about known problems.
    <-- the="" solution="" to="" the="" bsod="" will="" come="" from="" those="" resources.="" it="" may="" be="" necessary="" to="">

    return to an older stable version of the Nvidia drivers.

    nvlddmkm.sys on 16/12/2015 Nvidia video drivers.

    BugCheck D5, {fffff98034e30e48, 1, fffff8800f88fe92, 0}

    WARNING: Unable to verify timestamp for nvlddmkm.sys
    ERROR: Module load completed but symbols can be loaded for nvlddmkm.sys

    Could not read the name of the problem driver
    Probably caused by: nvlddmkm.sys (nvlddmkm + 7f7e92)

    NVIDIA - drivers - use OPTION 1 to manually enter your info driver to get the most recent drivers.
    http://www.nvidia.com/download/index.aspx?lang=en-us

    NVIDIA Support - check with the support that she might be a known issue
    http://www.nvidia.com/page/support.html

    NVIDIA forums - also check for the forums it might be a known issue or others likely to have
    http://forums.nvidia.com/

    I hope this helps.
    --------------------------------------------------------------------------------------------
    Rob Brown - Microsoft MVP<- profile="" -="" windows="" experience :="" bicycle="" -="" mark="" twain="" said="" it="">

  • How to set the title panel without using the Manifest.xml

    Hello guys,.

    I would like to know how to the the title of the Panel without using the manifest file.

    A C++ plugin is responsible for the creation of a menu entry. .

    He is also responsible of loading-unloading the extension basic HTML code.

    So in my extension manifest file, the following line has been deleted:

    < menu > my Panel Extension 1 < / Menu >

    After doing this, my extension Panel has more no title.

    What I would do, it is programmatically set, she don't know how to do!

    Any help would be appreciated.

    THX,

    Thomas.

    I found the solution to my problem!

    To find out how, follow this link: https://forums.adobe.com/thread/1731552?sr=inbox

    Thomas.

  • Connection problem while accessing a jersey RESTful webservice using the aysynch callback method.

    Hello

    I have a consumer application and producer. Producer is a Web service based in Jersey, deployed on a tomcat server. On the consumer side I use executor service to create a planner that will keep voting and creates a new Thread where I do a req from asynchronous callback for the service (Producer). But the problem is after my executor asynch feed will die again, I see a connection to the deployment server.

    I used the yourkit Profiler, I see a thread in passable condition even when the asynch executor dies.

    I think Planner always spout there is a connection between the client and the service. I wanted to create several consumers to treat several thread, but because of the leak of thread, I'm not able to go forward.

    Could you please help me on this?

    Err, close the connection?

  • How to use the LMSGetValue javascript method?

    I try to call the javascript LMSGetValue method when loading the first slide in my class.

    However, the following does not work:

    studentName = LMSGetValue ("cmi.core.student_name");

    I have consulted with technical support from the LMS, and they said, it seems as if captivate does not define the LMSGetValue method in the js file included in the course.

    I have to do something to include the file scormdriver.js in the course, when it is published?

    Any help would be appreciated.

    SCORM_CallLMSGetValue ("CMI. Core.student_name");

    You can also call this function once you get the name if it is not in the correct order:

    ReverseNameSequence (strName)

  • Using the Digital Signature method to connect to the IOM

    Hello

    I am using the following:
    Config ConfigurationClient.ComplexSetting = ConfigurationClient.getComplexSettingByPath ("Discovery.CoreServer");
    final Hashtable env = config.getAllSettings ();
    tcSignatureMessage moSignature = tcCryptoUtil.sign ("xelsysadm",
    "PrivateKey");
    tcUtilityFactory ioUtilityFactory = new tcUtilityFactory (env, moSignature);


    and it gives special suite:

    com.thortech.xl.crypto.tcCryptoException: file KeyStore: de.\config\xl.keystore lack.

    Where should I make the arrangement of the environment of the keystore file?

    You can get the resource key of TI in the java code via mappings (make a variable type IT Res and the map with the process-online IT Resource data)... and make use of the API to get the detail of IT resources...

    Thank you
    Suren

  • The analysis of the output XML of DBMS_METADATA

    I was wondering if someone managed to parse the output of DBMS_METADATA. XML in the columns of relational access to higher values of partition etc without the restrictions of data type LONG dictionary?

    For example, I was hoping I could use something like the following to get the metadata of the partition for the SOMEPARTITIONEDTABLE table:
    SELECT EXTRACTVALUE(dict.xmlddl, '/ROWSET/ROW/TABLE_T/PART_OBJ/PART_LIST/PART_LIST_ITEM')
    FROM   ( SELECT dbms_metadata.get_xml('TABLE','SOMEPARTITIONEDTABLE') AS xmlddl FROM dual ) dict;
    It gives me "ORA-00932: inconsistent data types: expected - got-

    It is not quite that simple, of course, because I actually checked out of/SCHEMA_OBJ/SUBNAME and /HIBOUNDVAL for each PART_LIST_ITEM, so I think I first need to break the XML into a PART_LIST_ITEMs XMLTABLE. Unfortunately, XML syntax makes my head ache.

    The idea is that it would be useful in various maintenance tasks of partition such as archiving scripts without having to install a bunch of types and packages.

    You can try this:

    SELECT x.*
    FROM XMLTable(
     '/ROWSET/ROW/TABLE_T/PART_OBJ/PART_LIST/PART_LIST_ITEM'
     passing xmltype( dbms_metadata.get_xml('TABLE','SOMEPARTITIONEDTABLE') )
     columns
      obj_num number path 'OBJ_NUM',
      subname varchar2(30) path 'SCHEMA_OBJ/SUBNAME',
      hiboundval number path 'HIBOUNDVAL'
    ) x
    ;
    
  • How can I use the configuration xml into native c + c++ file / qml

    I want to use a config file xml in my app.but I don't know what path should I place my xml file, and how to read it.how to get the path...

    of course, you can put the XML into your project. But why would you do that?

  • How to create a data model (other than using the Notepad/xml Localization)

    Hello gurus,

    We create data models with publishers of ordinary/xml Notepad.
    But, is it a std BI publisher tool which designs data models?

    Thank you
    Vinod

    Hi Vinod,

    BI Publisher 11g comes with DataModel Editior

    Please follow link below to understand the steps in detail

    http://www.adivaconsulting.com/Adiva-blog/item/12-bip11g-datamodel.html

    Thank you
    OMKAR

Maybe you are looking for

  • Keyboard/mouse

    Hi, I have a HP S3541 [UK model number] and mouse and the wireless keyboard provided the two "Act to the top". Intermittently, the ladies of the keyboard off letters completely / is slow to respond and the mouse is the same, lapse nervousness and alm

  • Skype crashes on call 7.10.85.101

    Today, I tried to start my Skype and call my friends, but when I try to call Skype falls down. Someone has an idea how to solve the problem? Event logs (he translated with google) Name of application error: Skype.exe Version: 7.10.85.101, time stamp:

  • Lost my CD of restoration for Qosmio F20-111

    Hello I lost my CD of restoration of my Qosmio F20 - 111 I tried to order on the internet but got the message that he was old. Can someone find me on the internet or tell me am I get a new one?

  • Am I duplicating music clip-zip when I download the entire file of MUSIC from Windows Media?

    On my Zip Clip with a micro 32 card: using Windows Media, I downloaded my whole 'MUSIC' of the file to the device.   Now that I've added more music in my Windows Media MUSIC file, download the entire file again for "updating" of new music, than i've

  • 8024401 C Windows Update error code.

    Can someone help me with this error? Code C 8024401 Windows update has encountered a problem.Rating: 5.9 windows Experience Index Processor: AMD APU with Radeon (TM) HD A85500 Graphics 3,20 GHz Installed memory (RAM live): 6,00 GB (5.40 GB usable) Sy