name of the node level list 1

Hello

I'm working on a database of Oracle 11 g Enterprise Edition Release 11.2.0.3.0.

I have the t_type_asset_configuration of table (number of i_type_asset_configuration, asset_setting varchar2, xmltype value) which currently has 2 folders:

1, "cma_layout."

'<>value '.

vehicle < search > < / search >

vehicle of < create_new > < / create_new >

vehicle from < view > < / view >

vehicle of < list > < / list >

"< / value >.

1, "fma_layout."

'<>value '.

< fields >

< field label = "fma_asset_name" action = "concatenate1" >

"< postfix column ="-"> alias < / column >.

brand_vehicle < column > < / column >

model < column > < / column >

< style column = "bold" > plate_number < / column >

< / field >

< field label = "fma_user" > vehicle_user < / field >

< field label = "fma_last_contact" > datetime < / field >

< field label = "fma_address" action = "Concatenate" >

"< postfix column ="-"style ="bold"> spacetarget < / column >"

< column > address < / column >

< / field >

"< field label = postfix"fma_odo"=" km "> mileage_counter < / field >"

< field label = "fma_ign" > start < / field >

< field label = "fma_group" > group_name < / field >

< field label = "fma_event" > has_recent_alarms < / field >

< field label = "fma_info" > id_data < / field >

< other_field >

id_vehicle < field > < / field >

id_user < field > < / field >

id_device < field > < / field >

id_asset < field > < / field >

id_vehicle_user < field > < / field >

id_data_address < field > < / field >

id_data_datetime < field > < / field >

id_data_last_position < field > < / field >

id_space_target < field > < / field >

id_group < field > < / field >

has_hour_counter < field > < / field >

latitude < field > < / field >

longitude < field > < / field >

< / other_field >

< / fields >

pk_evolution.get_vehicle_list < query > < / query >

"< / value >.

My goal is to create a view with module_value, where module is the name of the 1st level (nodes under the node < value >) node and module_value is the inner text, module, asset_setting, i_type_asset_configuration.

I wrote this query:

SELECT c.i_type_asset_configuration,

c.asset_setting,

module x.object_value.getRootElement)

OF t_type_asset_configuration c,.

XMLTABLE ('/ / *' in passing c.value) x

WHERE c.asset_setting in ('cma_layout', 'fma_layout')

AND x.existsNode (' / * / *') = 0;

who works for the cma_layout, in fact, I get the Recordset:

1 cma_layout search

1 cma_layout create_new

1 cma_layout view

1 list of cma_layout

but not for the fma_layout, obtaining:

1 column of fma_layout

1 column of fma_layout

1 column of fma_layout

1 column of fma_layout

1 fma_layout field

1 fma_layout field

1 column of fma_layout

1 column of fma_layout

1 fma_layout field

1 fma_layout field

1 fma_layout field

1 fma_layout field

1 fma_layout field

1 fma_layout field

1 fma_layout field

1 fma_layout field

1 fma_layout field

1 fma_layout field

1 fma_layout field

1 fma_layout field

1 fma_layout field

1 fma_layout field

1 fma_layout field

1 fma_layout field

1 fma_layout field

1 fma_layout field

1 fma_layout request

The goal is to have to fma_layout:

fields 1 fma_layout

1 fma_layout request

Do you have any suggestions on how to stop the 1st level node list?

Thanks in advance,

Samuel

Hello

Do not use a descendant axis if you do not want to see descendants.

In addition, getRootElement() and existsNode() are deprecated now.

Here's one way:

SQL > select t.i_type_asset_configuration

2, t.asset_setting

3, x.module

4, x.module_value

t_type_asset_configuration 5 t

6, xmltable)

7 ' / value / *'

8 passage t.valeur

path of varchar2 (30) 9 columns of the module "local - name (.)".

10 road of varchar2 (2000) to module_value "text()".

(11) x

12;

I_TYPE_ASSET_CONFIGURATION ASSET_SETTING MODULE MODULE_VALUE

-------------------------- ---------------- ------------ ---------------------------------

1 cma_layout research vehicle

1 vehicle cma_layout create_new

1 vehicle from view cma_layout

1 vehicle list cma_layout

fields 1 fma_layout

1 pk_evolution.get_vehicle_list of motion fma_layout

6 selected lines

Tags: Oracle Development

Similar Questions

  • How to get the name of the node?

    Hi guys,.

    I have a path that looks like this 1stLevel/root/dynamicLevel

    How can I get the name of the node in dynamic level when it come with different node name so that I can catch it in a variable?

    This can change according to the author of the application

    root/1stLevel/dynamicLevel1
    root/1stLevel/dynamicLevel2
    root/1stLevel/dynamicLevel3
    root/1stLevel/dynamicLevel4

    What software? In OSB try Assign with this expression:

    fn:name($body/root/firstLevel/*[1])
    

    In addition, you cannot use element named "1stLevel" because it starts with number.

  • E4X: How to get the items that contain a string pattern in the name of the node?

    Is there a way to retrieve the children of an XMLList where the name of the node of a child contains a template string?

    For example:

    account <>

    < XblahX / >

    < cow / >

    < YblahY / >

    < / recording >

    How to get items in folder which has a node name that contains the string "blah"?

    var rec: XML =

    ;

    var r: RegExp = / blah /;
    var elems:XMLList = rec.children (). (localName () *.search (r) >-1);
    trace (elems. ToXmlString())

  • Name of the node XML TreeControl

    Hello
    I have a tree control that is built using XML from an HTTP service call. Based on the node selected in the tree, I would like to add a conditional in my click function that performs an action that is different, based on the name of the XML node. I can retrieve the attributes of the node by using "mytree.selectedItem.@attribute" but I do not know how to retrieve the name of the node itself real?

    Can anyone provide me with the proper syntax?

    Thank you!

    There are two methods:
    XML. Name();
    and xml.localName ();
    I think that they the same æ unless you use namespaces.

    Tracy

  • Prevent the specific Web site to store the user name in the drop-down list

    I have a site that I connect to frequently. Their home page has a login field. If I double-click on this area, it shows me several login names to automatically fill the area with. I want to prevent Firefox (or other) to remember those login names, for safety because of my personal paranoia.

    I'm using Firefox 49.0.2.

    • I added this site to my list of blocking Cookies. New Cookies are not displayed to the top, when I connect.
    • I do NOT have the connections stored for this site (they were removed and new not appear when I enter a name).
    • Firefox does NOT show me the dialog box "do you want to remember?
    • I removed each stored in AutoComplete list in this field by using the 'shift + Delete' keys to select and delete the headings that appear when I double click on the field.
    • The list that appears when I double click is NOT specific to this site... or rather, the entries in the list seem to come from almost any site that I connected. For example, I have deleted all entries in this site, I worry; I have then is come to Mozilla's Support forum and tried connecting; I had to try several times; all of these names that I used on the login field Mozilla now appear in the list for the original site.
    • Curiously... If I hit 'back' after typing my name (causing the site to go to the next page), the name that I typed in the field seems NOT to remember. However, if I click on the button "login" next to the field after you type a user name, the name seems to remember.
    • Even if I disable 'Remember connections... ". "in Firefox, UN I enter this field to remember.

    A screenshot is provided the field of seizure and the drop-down list of names (which I deleted several times).

    I turn off history form of Firefox, so I don't know if this is specific to the site (such as the saved connections) or could possible appear on all sites with a named field in a similar way, which seems a little odd.

    If you clear history of Firefox form feature, is the unwanted suggestion stop appearing? You can do this on the preferences page, Privacy panel:

    "3-bar" menu button (or Firefox) > Preferences

    In the left column, click on privacy. On the right side, if you do not see "conservation rules: use the custom settings for history" go ahead and make that choice.

    Then you can uncheck the box ' Remember search and form history.

    When you return to the site and reload the page, the suggestions disappear?

  • How to remove a name from the Hotmail contact list

    I removed my Hotmail contact list name, but it is always on my list of the alphabet. How he remove it from this list?

    Original title: super break

    Hello tom denis,.

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums to www.windowslivehelp.com.

  • Check the name of the class to list ItemRenderer

    Hello

    I'll put the itemRenderer of a Mobile spark list as follows:

    var ir:ClassFactory = new ClassFactory (MyItemRenderer);

    IR. Properties = {etc. etc..};

    list.itemRenderer = ir;

    How can I check if the list itemRenderer is MyItemRenderer or at least a class name string comparison?

    Thank you.

    The following should draw true:

    var ir:ClassFactory = new ClassFactory (MyItemRenderer);

    IR. Properties = {etc. etc..};

    list.itemRenderer = ir;

    Trace (.generator ClassFactory (list.itemRenderer) == MyItemRenderer)

  • Limitation of characters in the name of the node

    Hello

    Can anyone tell where the character limit is defined for a node name (name of Member).
    I want to add a member in a hierarchy, but I does not allow me to enter the following characters:
    (space), + () & %. Whenever I type the character, it just as the keypad has been locked. No message or
    error message indicating the character is not allowed due to a specific validation.

    Thank you.

    Lebon:

    You can do it as well, but you must create a separate property that store this name derived.
    Create a property that looks to the top of the hierarchy, takes its value from the Name property, but replaces the characters you don't want with other characters.

    Let me know if you need more information on this.

    Tanuja

  • How to assign a name to the drop-down list in a report

    Hey guys! I hope you are fine and will have more energy left for another question!

    I have a report to several columns. F03 column is displayed as a text based on a LOV and linked to the database. Now, I need to give this combobox in f03 one column name so I can use it in a query of Javascript to disable the ComboBox under certain conditions.

    You have an idea how can be achieved?

    Thank you very much

    Sebastian

    Hello

    OK, maybe now I understand and this might help you
    Re: Unable to get the value of disabled text element.

    BR, Jari

  • How to change the host names of the nodes after deployment?

    Help, please

    Hi, hope can resolve this answer, let me know once this is

    don't forget to backup the files before modifying

    If you use intellectual property on configurations, then it will not break. You need to change /etc/openstack-dashboard/local_settings well and change this line

    ALLOWED_HOSTS = ['192.168.1.1', '*', 'localhost', ]

    You must also change your configuration of http in/etc/httpd/conf.d

  • XML: How to get the value of the node when the node of pasing as a parameter name

    Hello

    I've got some xml:

    var xmlData:XML = 
    <1stNode>
        <buttonID>first child node value</buttonID>
        <imageID>second child node value</imageID>
        <labelID>third child node value</labelID>
    </1stNode>
    

    So, I want to read the value of specific node based on a value passed to a function. .

    var buttonID = new Button;
    
    var imageID = new Image;
    
    var labelID = new Label;
    
    
    getNodeValue(buttonID); //the value here is set dynamically
    
    private function getNodeValue (nodeName:String):void {
    
    trace (xmlData.nodeName)                      //doesn't work
    
    var str:String = "xmlData." + nodeName;
    var xml:XMLList = str as XMLList             //doesn't work
    
    }
    

    I don't know how to get the value when the name of the node is changed dynamically.

    use:

    getNodeValue(buttonID); //the value here is set dynamically
    
    private function getNodeValue (nodeName:String):void {
    trace (xmlData[nodeName])
    }
    
    
  • Prepopulate the drop-down lists with xml file

    Hello world

    I'm trying to prepopulate a dropdown list using an xml file. There are many tutorials on the internet that allows me to do from the overview of the Designer tab. However, when I did it worked well, but I am not able to 'embed' the xml file so that the values appear in the workspace when the user starts a process.

    I tried to load the xml file with the contents of resource reading in the action profile of the first task and put the result in the "xmlPrepareData" but the problem is that I can't put all the values of the xmlPrepareData after because the xml model is not exactly the one used by LiveCycle.

    Any thoughts? Someone is already managed to prepopulate a dropdown list with an XML within the process?

    Kind regards

    Thomas

    OK gr8...

    Assuming you're able to get the XML process LC to your XDP/PDF form field.

    You can fix the XML from the drop-down under-

    clear the drop-down list box
    * DROPDOWN_Field.clearItems ();

    choiceList = XMLData.parse (* XML_Field.rawValue, false);

    divide the choiceList in an array of values

    choice = choiceList.resolveNodes("root.element[*].*NODENAME");

    var numchoices = choices.length;

    Adds an array of values in drop-down list
    for (var i = 0; i)< numchoices;="">

    {
    * DROPDOWN_Field.addItem (choices.item (i) .value);
    }

    * DROPDOWN_Field - is your field drop-down list.

    * XML_Field - is your XML data stored in a TextField.

    * NODENAME - is the name of the node in your XML to solve.

    I hope that Hepls...

    Regards-

    Chalukya.

  • Determine the depth of the node

    I might not be using the right search terms, but I can't find a single article anywhere to determine how deep a node exists within an XML tree.

    I can't use the name of the node, because the sections may exist within the sections, as you can see (and I can't change the format of the XML document). I need to be able to get a numeric value of 0 for a node section of 'high-level' (ie: 'Home') and 1 for a section within a section node node (ie: "Subnav1"), and so on.

    Thanks in advance :)

    You can write a function for that. something like the following. (ok?)

    Adam

  • in Outlook Express, how can I send the same message to a group important (in the address book already), but have to each recipient can only see his name (not the Group)

    In Outlook Express, how can I send the same message to the large group (already in the address book), but have to each recipient can only see his name (not the Group)?

    To use the functionality of the BCC (Blind Carbon Copy), in a new message window, click View | All headers and type the addresses separated by a; Or: Click the button to. You will see your list of contacts and the choice to put them in the To, CC, or BCC field. Click on an address, and then click BCC to add it. Repeat for all of the contacts you want. (Note: most of the providers have limits as to how many messages you can send both a. 25 is common, but it varies).

    Put your own address in the box to. That's the only name/address that any recipient will see. If you leave the field empty, some people may not receive e-mail because of message rules they put in place, or restrictions imposed by their ISP.

    You can also make an entry in the address book using your e-mail address, but put something like the mailing list in the area of the display.

    *********************

    You can also create groups if you send e-mail to the same people often.

    To create a group of contacts:

    You can create a single group name (or alias) to use when sending a message to several contacts at the same time. Just create a group name and add individual contacts to the group. Then just type the name of the group in the box for when you send mail.

    1. in the address book, select the folder in which you want to create a group. Click New in the toolbar, and then click New Group.
    2. the Properties dialog box opens. In the group name box, type the name of the group.
    3. There are several ways to add people to the Group:
    a. to add a person from your address book list, click Select members, and then click a name in the address book list.
    (b) to add a person directly to the group without adding the name to your address book, type the person's name and e-mail address at the bottom of the Properties dialog box and then click Add.
    to add a person to both the Group and your address book, click New Contact and enter the appropriate information.
    (d) to use a directory service, click Select members, and then click search. Select a directory service in the drop-down list at the end of the text box. After finding and selecting an address, it is automatically added to your address book.
    4. Repeat for each addition until your group is defined.

    Note

    a. to view a list of your groups separately from the list of address book in the address book on the view menu, make sure that folders and groups is selected.
     
    b. you can create multiple groups, and contacts can belong to several groups.

    If you want to send to a group without addresses are displayed for each recipient, open the address book and make a new entry. Enter the name of the group in the area of the display, but use your address. (Some Internet service providers require a legitimate address in the line to and recipients will know it's from the Group).

    Click on the button to. Enter the name of the group using your address. Enter the group in the BCC field.

  • Find the top level of a VM folder

    I want to find the name of the top-level folder that contains a virtual machine in a data center and looking for the root tree.

    For example \\datacenter\folder1\folder2\folder3\TestVM

    I try to find as a parameter of the TestVM folder1.

    I need to sort all the VM in our sphere of their top-level folder

    In all cases to do this would be appreciated.

    Also it would be quite in powercli with scripts

    Try something like this

    $vm = Get-VM -Name TestVM$object = $vm.ExtensionData$parent = Get-View $object.Parent
    
    while($parent -is [VMware.Vim.Folder] -and $parent.Name -ne "vm"){    $object = $parent    $parent = Get-View $object.Parent}$object | Select @{N="VM";E={$vm.Name}},    @{N="Top Folder";E={$object.Name}} 
    

Maybe you are looking for