GET element(s) by an attributes value

Advertisement
Hi,
Is it possible to get an element of a node by the value of 1 attribute?
I know there is a method getelement() where you can specify an index,but I don't find a method where you can specify the attribute's name and value.
Now I have to loop trough all elements and check it's the element I need.
Friendly regards,
Nick
Advertisement

Replay

Yes.
We just get the element by attribute value like you: Loop all the elements and check the element's attribute value...
As far as i know, we have not the simple method to get the element by only one attribute value...
If you have, pls tell us and you are very appreciated.
Best wishes.

Runtime error to get the attribute value of an element

mydoc.xml ========= <?xml version = "1.0"?> <persons>      <person name="Joe" age="22" /> </persons> In mydox.xml, I want to get the attribute values of element person. Of course, in the actual XML fil

Get element based on attribute value

Hi, I need to locate an element based on its unique attribute value. There are lots of elements in the hierarchy, I only show relavant ones here. code: <myElement myAttribute="attValue"> <childElement>child value</childElement>

The type '*', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element * could not be found

I have a provider hosted app in sharepoint which works locally without problem. I followed this tutorial to publish it to azure http://blogs.technet.com/b/sharepointdevelopersupport/archive/2013/09/05/how-to-deploy-a-provider-hosted-app-as-an-azure-s

Extracting the Attributes values of an XML Element

Dear Forum Members Please tell me any XML Function which is used to extract the Attribute value of an XML Element. Given below <BRKCD_STREDSWTINVIN_C Key="6708"> is an Element With some Key value. I want to have that Key value. Using Extra

Getting LastAuthTime attribute value

Hi all, We are trying to get all the user's list from Directory server who have not accessed their account from last 2 years. For that we came to know that there is an attribute, pwdLastAuthTime, in DS 6 that stores the last authentication time of th

Protecting the attribute value from getting reset!

Hello all, I have attached a custom drop down search help to the attribute "SERVICE_UNIT_NAME" in the "BTPARTNERSET" context node. The drop down list contains a blank entry as well as a couple of other entries, I have placed a create o

How to create an element with an ID attribute ?

Hi, first i need to say i searched the web for ~one week now, and couldn't find any good solution. Lastly i searched into this forum and, unfortunaly, i couldn't find any good answers to the problem. Here are the reference : http://forum.java.sun.com

Multiple keyfigure from different planning area based on attribute value

Multiple keyfigure from different planning area based on the attribute value of Cost element charac. I need to obtain the value of the attribute in a fox function. Let me explain it further. Background : Planning area - Charac---- KF area1 - Payscale

Use jsp tag output as another tag's attribute value

I don't know anyone has ever tried this, one tag's attribute value needs to be dynamically set using another tag's output. Something like <layout:grid cols="<layout:write name="element" property="value"/>'' space='false'&

Marketing attribute value missing in Display mode in BP transaction

hi All, I am facing an Issue. In the production system, while in display mode a particular marketing attribute value for a Business Partner is not present in the marketing attrbute tab of the BP transaction. As soon as I switch to the Edit mode, the

How can I access the Attribute Values from the Search Region

Hi all, I have a table which contains Company id, department id, and PositonId. For a particular Company and Department there may be multiple records. I have to pupulate a table which contains the position and other details that comes under a particu

Acquiring  Attribute values within roles

OK - So I have been trying to peel away at a role to acquire the list of AD groups within it. I have used the get methods successfully to acquire the following RoleAttribute object, but the getRoleAttribute methods don't seem to be working for me to

Setting an attribute value of a tag equal to a String variable in scope

Hi, I don't think this is possible because I get an "expression not allowed" error when trying it. But long story short I'm trying dynamically set attribute values on a taglib. For example: <% String value="attributevalue"; // set t

Clearing attribute value

Hi,    How to clear the attribute value? I have a attribute att1, after executing i want to clear the value that is stored in the attribute. I have tried clear wd_this->lm_att1. It is not getting cleared. help me.. Regards... Arun.ok sascha, I accept

Updating Schdedule Task Attributes values in OIM through our Code.

Hi Guys, My Requirement is that I should be able to update the schedule task attributes through my reconciliation code. I tried my level best to find some API but unable to locate the API's to update the schedule task attribute. I used to following f

Not able to read attribute value

Hello Experts. I have child WD component say u201CBu201D,  in this created node (Name : B) with one attribute (Name : Test) and selected as interface node.In this component I am setting the value for attribute (Name : Test). I have added above WD com

Which table stores Marketing attribute values...

Hi guys,                Can someone tell me where the marketing attributes for an BP is stored. which table holds the data.. Regards, SundarSunder, Hope this helps. FUNCTION MODULES RELATED TO BP MARKETING ATTRIBUTES CRM_MKTBP_READ_OW OR CRM_MKTBP_RE

How can I get Elements 12 to load raw files from my Nikon D5300. I have installed DNG Conv. 8.7.1

I cannot get Elements 12 to recognise and load NEF files from my Nikon D5300. I have downloaded and installed the latest DNG coverter software 8.7.1 but Elements still refuses to load any NEF files. regards Ian.Hi, You shouldn't need to use the DNG c

How to get pop-up for entering some value on it by user on Adobe INTERACTIV

Hello We are developing a interactive adobe form, 1) User would like get some popups for entering the values in the popup and clicking either OK or CONTINUE, pls. let me know how to handle this? 2) can i get CALENDER, when user tries to input DATE en