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.
Tags: Fusion Middleware
Similar Questions
-
How to get the node root for all nodes using oracle SQL?
Suppose I have an employee table, which has the following features:
ID name MgrID
----------------------------------------
1 Tom
Jason 2 1
3 Kelly 2
4 Chris 2
Russ 5 3
--------------------------------------
I want to get the following result.
ID name RootMgrID
------------------------------------------------
1 Tom
Jason 2 1
3 Kelly 1
4 Chris 1
Russ 5 1
-----------------------------------------------
How can I get it?
Thank you very muchLike this?
SQL> with t as 2 (select 1 id, 'Tom ' name, null mgr_id from dual 3 union all 4 select 2 id, 'Jason' name, 1 mgr_id from dual 5 union all 6 select 3 , 'Kelly ', 2 from dual 7 union all 8 select 4 , 'Chris ', 2 from dual 9 union all 10 select 5 , 'Russ ', 3 from dual 11 ) 12 select id, name, connect_by_root(id) 13 from t 14 where name = 'Russ ' 15 connect by mgr_id = prior id 16 start with id = 1 17 / ID NAME CONNECT_BY_ROOT(ID) ---------- ------ ------------------- 5 Russ 1 SQL>
-
How to get the nodes size in the presenter content model
Hi all
I created a content model of presenter to display a list of content carousel with x of y (current number of total size).
also I do not use af:carousel component used instead af:iterator.
is it possible I can get number total i.e. nodes size outside a java bean.
something like #{nodes.size} or nodes.length.
Please suggest something which can fly running (i.e. performing edition of the model should be enough)
Thank you
-Yves
Hi Yves,
You should be able to use #{nodes.rowCount} to EL.
-
How to get the node root for a child to help connect by front
Hello
I searched in many places to do that, but not able to get the exact o/p sp poster my question here.
I have a table with columns parent_id, child_id and. This parent_child levels can be a lot, but my goal is to find the ultimate parent (do not know the right term)
as if I have a = xyz child_node and its parent company = pqr and her parents = lmn, that might be the ultimate parent is not any other parent.
So if I start with child_code = "xyz" then I should get the parent as "lmn" and not the immediate parent "pqr".
Help, please.
Thank you
Aashish1. When you want to find all parents position = 100:
SELECT position_id,parent_position_id FROM position where position_id = 100 CONNECT BY prior position_id = parent_position_id
2. When you want to find all childs position = 100:
SELECT position_id,parent_position_id FROM position where position_id = 100 CONNECT BY prior parent_position_id = position_id
Kind regards
Sayan M. -
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]) }
-
How to get the value of a particular column column name?
Hi all
How to get the column name for a particular column value.
example:
create table test (ID number, col2, col3 varchar varchar);
Insert into test values (1, 'true', 'false');
Insert into test values (2, 'false', 'true');
commit;
I want to choose the name of the data column 'true' with id = 1;
That is to say) while waiting for answer is "col2". pls help someone.This might help:
DECLARE c1 SYS_REFCURSOR; BEGIN OPEN c1 FOR SELECT col2, col3 FROM test WHERE id = 1; -- FOR c IN (SELECT rownum rn, t2.column_value.getrootelement() name, EXTRACTVALUE(t2.column_value, 'node()') value FROM TABLE(XMLSEQUENCE(c1)) t, TABLE(XMLSEQUENCE(EXTRACT(column_value, '/ROW/node()'))) t2) LOOP IF c.value = 'true' THEN DBMS_OUTPUT.PUT_LINE(c.name); END IF; END LOOP; END;
-
How to get the length and sub lymph nodes.
Hello
find the script below.
< List1 >
< list >
< List1 >
< List1 >
< List1 >
< / list >
< list >
< List2 >
< List2 >
< List2 >
< / list >
--
--
-
-
-
-< / list1 >
Here the tag list will be growing based on the I / p. Now what I want is to know how to get the length of the tag < list >.
To implement the above I used the code below
var number = xfa.record.List1.List [0].nodes.length; (Does not work)
But if var account = xfa.record.List1.nodes.length; (work)
and also I want to delete a tag inside the < List > tag. How?
Very Urgent.
Thanks in advance.
Yes, you need to use the name instead of the value to get the tag name...
xfa.datsets.data.Root.nodes.item (0) .name
Thank you
Srini
-
How to get the name of sbRIO programmatically
How to get the 'name' and 'Comment' by sbRIO I write to sbRIO-9602 Max in the box of Identification (model, serial number, MAC address, name)?
Use RT Information.vi of target is located under the range of public services under LabVIEW Realtime.
Christian
-
How to get the reference or the property of a member in OOP node?
Hello world
Is it possible to get the referral of a member in OOP?
After you have created a class and an insert, a member of control in the cluster, I conclude that, when a right click on it, there is no element of "creat-> reference" or "create-> property node?
So, how to get the reference or the property of a member in OOP node?
Hello
There are a few reasons that you can't do what you want to do:
1 al ' LVOOP ordinary (as opposed to the DVRS in LabVIEW 2009, or some other framework / pattern design) are items of LabVIEW by value, as a cluster and therefore you can not create a reference to a class.
2. a control of the object (this is what you get when you drop an object on a façade) is a 'black box' because you cannot look inside. This is to support the idea that the class data private. This means that you can't get a reference to all internal control when its on a façade
3. check the references are valid only for the controls in the Panel before and therefore any class (or other piece of data of LabVIEW) on a wire / shift register / constant / anywhere other that of the façade, will have only the data portion of the available control.
To access the items within a class, you create the accessor screws (you can create them easily by right-clicking a class (or the folder within the class) in the project tree and selecting New-> VI to access data members.) This VI would at least have a unbundle / bundle node (depending on whether its read/write) and could, if you have many more features such as range checking. You can use this VI whenever you want to read the Member your interested.
I hope this helps.
Shaun
-
Hi all
Can I know how to get the bluetooth device name and the name of the bluetooth device address device class?
Example:-if my bluetooth device address is :-98:EB:CD:01:1F::90 then how do I get my bluetooth device name?
I hope you understand my problem. Let me know as soon as possible.
:
Thanks for the reply.
-
How to get the number and the name of the contacts selector
Hi all
I got the Contact Picker work but I have no idea how to get the selected telephone number and the name.
There are attributes that I can put like contactId.value () to retrieve or there is another way?
Thanks in advance.
ImageButton{ defaultImageSource: "asset:///images/bluebutton.png" onClicked: { contactPicker.open(); } attachedObjects: [ ContactPicker { id: contactPicker onContactSelected: { result.text = "You chose contact: " + contactId; } } ] } Label { id: result text: "You chose contact: " }
Hello
You can get the contact name and phone number as this,
ImageButton{ defaultImageSource: "asset:///images/bluebutton.png" onClicked: { contactPicker.open(); } attachedObjects: [ ContactPicker { id: contactPicker onContactSelected: { result.text = "You chose contact: " + contactId; // call a cpp method to get the details
app.getDetails(contactId); } } ] } Label { id: result text: "You chose contact: " }
the CPP code:
void ContactDetails(ContactId id) { Contact contact_info = m_contactService->contactDetails(id); QString firstName = contact_info.firstName(); QString lastname = contact_info.lastName(); QList
phoneno_list = contact_info.phoneNumbers(); QStringList no_s; foreach(ContactAttribute attr, phoneno_list) { no_s << attr.value(); } } You can get details like this.
Kind regards
Naresh Kodumuri.
-
I don't know if this is the right place to post this question, I develop software to support VMWare PCoIP and need to know how to get the host name of the physical machine (which manages the virtual machine and View Client) within a virtual machine before the user logs in Windows of the virtual machine.
I understand there are two ways to read the host name, via the HKEY_CURRENT_USER\Volatile Environment registry and environment variables, but they are available once the user is connected. I need info before the user connects.
Is there a VMware API that can be called or asked the host name?
Thank you.
Not on the broker, but there are the startup scripts to log on to the computer virtual itself: http://pubs.vmware.com/view-52/topic/com.vmware.view.integration.doc/view_integration_startsession_script.9.2.html
Note that these executed when a virtual desktop computer allocated connection, not to the point that the client connects - it is possible for the customer to not complete the connection (crash, cancel, network failure) and so any what solution you design must handle this.
Mike
-
How to get the name of the server (hostname) vCO.
Hello.
Someone know how to get host name or IP address of the server vCO in a workflow running on this server? Is there any kind of property, or this method returns the host name of the local host?
Thank you.
Try this:
function getVcoHostname() { var answerUrl = workflow.getAnswerUrl().url; var re = new RegExp('^(?:f|ht)tp(?:s)?\://([^/]+)', 'im'); return answerUrl.match(re)[1].toString().split(":")[0]; }
-
How to get the Base name of the executable process
Hi all
I have a problem for the creation of SQL AnyWhere Plugin (Database Plugin). In this regard, ServerDetector class long pids [] = getPids ("State.Name.eq =?"). Instead of question mark that I place. And how to get the name of this executable process.
Thanks and greetings
Florent K ReddyTake a look at the doc following if you have not already:http://support.Hyperic.com/Confluence/display/Sigar/PTQL
State.Name is the name of the base of the executable of the process, such as "dbsrv9.On 16 May 2007, at 23:24, fredo Reddy wrote:Hi all
I have a problem for the creation of SQL AnyWhere Plugin (Database Plugin). In this regard, ServerDetector class long pids [] = getPids ("State.Name.eq =?"). Instead of question mark that I place. And how to get the name of this executable process.Thank you & best regards
Florent K Reddy -
How to get the LOGO and company name in the theme of the 4 apex
Hello
I use the theme 4 for apex 4.0.2.
I must have the logo as well as the name of the company the two, but when I select den Image it shows only the image in the dashboard and when I select den text it shows the name of the company.
How to get the two logo and the name of the company?
Thanks for your help.
Kind regards
Sébastien Pallav.Pushpesh Pallav says:
HelloI use the theme 4 for apex 4.0.2.
I must have the logo as well as the name of the company the two, but when I select den Image it shows only the image in the dashboard and when I select den text it shows the name of the company.The word is spelled 'then', not 'den '.
How to get the two logo and the name of the company?
Select the text, and include HTML, making reference to the image in the text:
Company NameThe image src URI used depends on the location of the image, which you have failed to specify.
-
How to get the name of a page class in the apex oracle
Hi all
Can you get it someone please let me know how we can get the class of a page or area name in the oracle apex? I would also like to know how to get the DOM object for particular item ID.
I appreciate any help on this.
Concerning
REDAIf a category exists already, then you can find them by inspect element in firefox/chrome browser and look like to class = «MyClass...» »
If there isn't one, then you can add via - point edit > attributes of the HTML Form element > class = "yourclass.
See this http://www.w3schools.com/tags/att_global_class.asp
Maybe you are looking for
-
Pocket not mark as read and move on to the agenda
When I click the play tab something pocket on Firefox, it continues to display the same article again and again. It does not mark it as read and move to the next item on my list.
-
Installation update 9 6 comes from the last 12 hours.
Two days back, I bought a laptop with windows 7. It's a lenovo SL410 laptop. He saw windows 7 professional OS. Yesterday while closing it prompted me to install the update and stop. I chose this option. Last hours 10, I get the same message "Please d
-
I can only connect to the Internet in safe mode
I tried - virus checks, HijackThis, disabling services and startup. I have three tabs for House (CNN, Yahoo and Gmail). Gmail connects but I can't access any other sites. Outlook 2007 connects to the MS Exchange Server. Everything has been fine f
-
Hi all! I'm a newbie here, please help me. Just bought a new laptop, 4520 s and can not install windows in AHCI mode. Very strange things are below: -I'm reading on this tread: http://h30434.www3.hp.com/t5/Operating-systems-and-software/No-SATA-AHCI-
-
error by including external api (jar)
I m getting the following error while I have facebook/twitter-api - add me to my project... Module "abc - 3' has verification error 2618 at offset 038b (codfile version 78).[0,0] error at startup of abc: Module ' abc - 3' a mistake 2618 audit to offs