XML object returns attributes but not elements

Hi,
I'm very new to this so my problem is probably down to bad practices but anyhow... I have code as follows:
var s:String = load.data; //This turns up as fully-formed correct XML every time.
var docx:XML = new XML(s);
trace(new String(docx..@src));
trace(new String(docx..entry));
In the above the first trace works fine and returns the value of all 'src' attributes found in the document.
However, the second statement does nothing at all. It should return a list of 'entry' nodes I think.
The XML document I'm using is found here: http://picasaweb.google.com/data/feed/api/all
Is the XML object malfunctioning or is my code wrong?
Thanks
Jack

Turns out it was a namespace issue. Here's an explanation for others who get stuck with a similar issue.
I added these lines to the script in my mxml file:
private namespace webNameSpace = "http://www.w3.org/2005/Atom";
use namespace webNameSpace;
The string "http://www.w3.org/2005/Atom" is taken from the root node of my xml document. In this case it was from the tag:
<feed
     xmlns='http://www.w3.org/2005/Atom'
     xmlns:exif='http://schemas.google.com/photos/exif/2007'
     xmlns:gphoto='http://schemas.google.com/photos/2007'
     xmlns:media='http://search.yahoo.com/mrss/'
     xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'
     xmlns:gml='http://www.opengis.net/gml'
     xmlns:georss='http://www.georss.org/georss'
>
Presumably, if I want to use tags that have NS prefixes (eg <gphoto:url>) then I'll need to add the other namespaces for use.
Still, if anyone has any comments on whether there is a cleaner way to do this, or even just to let me know I'm doing it right, then please post back as I'm very knew to this and would like my code to be corrected/affirmed if possible.
Thanks all,
Jack
EDIT: can I mark my own posts as answered?

Similar Messages

  • XML-22009: (Error) Attribute 'select' not found in 'xsl:value-of'

    Hello,
    I'm a long-time Siebel developer but novice to BIP, trying to enhance some complex rtf templates that an experienced xdo/bip developer (contractor) designed for us in the past, with a couple of new fields that have been added to the integration object.
    All templates and sub-templates receive 'no errors found' when using add-in tool selection of 'Validate Template'. Unfortunately we cannot utilize the 'preview' capability due to the way the sub-templates are called, so only way to test is to upload into server and attempt to run real-time.
    This results in UI error of SBL-OMS-00203, which when we dig into the xdo log file turns out to be:
    <Line 648, Column 88>: XML-22009: (Error) Attribute 'select' not found in 'xsl:value-of'.
    I have exported all templates and sub-templates into XSL-FO Style Sheet and looked at line 648 column 88, and none of them seem to correspond to this line/column combination (in fact most exports do not even go that high in lines).
    Googling 'XML-22009' hasn't proven to be of much help, so reaching out to the xdo experts in this forum.
    How are the line/column #'s determined in the xdo log output?
    I am pretty sure that it must be some issue with my 'Main' template, since none of the sub-templates have been changed (and the current version of the report, without the new fields incorporated, still runs fine from the UI). In the XSL-FO format export of the (modified, with new fields added) 'Main.rtf' file, line 648 places it right in the midst of a bunch of hex which corresponds to an imbedded image (which was also part of the existing template, no change there) and that line only has 65 columns (i.e. doesn't even go up to 88), so I'm questioning how valid the Line/Column information is in the xdo log error message.
    Any hints on troubleshooting this one would be greatly appreciated!
    Thanks & Regards,
    Katrina

    Hi,
    as I wrote in the inital message, we even left out the output method or used "application/pdf". The result is unfortunately always the same. And I still claim this is not a problem with the stylesheet itself, it has to do something with the mobile's environment.
    Something I didn't tell: we have 2 servlets in our application, 1 responsible for output in html and 1 in pdf. The .fo stylesheet passed to the 'html servlet' is parsed correctly (and shows the source code, because it does not know about fo and conversion to pdf), the .xsl stylesheet passed to the 'pdf servlet' raises same exception/same line. You might tell us that there is a problem with the 'pdf servlet', but once again: why in online it is working?
    Greetings and thanx very much for your precious time!

  • Small Flip video AVI files - can preview in Organizer but not Elements

    Hi all,
    I just spent $110 to buy Adobe Premiere Elements 9.  I installed it to my Dell Vostro 1520 Intel Dual Core 2.2 GHz, running Windows 7 Pro.
    I have a few small (5-10 seconds each) Flip video .AVI files (standard definition) to use for learning.
    To learn, I brought the little .AVI files into Adobe Organizer, and can now double-click on each thumbnail and see the video play clearly, no problem, in the Organizer preview window.  All well and good!
    Next I created a new Project in Premier Elements, and used the Add Media button to reference the same little .AVI files.  But when I attempt to preview them in Premier Elements by double-clicking on a thumbnail, I instead see a green/teal-colored rectangle where the video should show in the preview window, although I can hear the audio fine.
    Can anybody help me?  Any thoughts or ideas will be appreciated.
    Thanks in advance.
    Meomoto

    Steve --
    I have Windows Live Movie Maker.  It offers many of the same features as Adobe Premiere Elements 9, but not all of them.  For example Premiere Elements 9 offers Picture-in-Picture, nicer titling features, etc., etc.  That's why I've just shelled out $110 to buy Premiere Elements 9 (whereas Windows Live Movie Maker is totally free if you have Windows 7 Pro).
    Windows Live Movie Maker is a PC-based video editing program, and it does not require and does not use use Apple Quicktime.
    So I don't understand why you say Quicktime is a necessity.
    But I do appreciate your reply and your thoughts.
    I'm still looking for someone who has successfully used Adobe Premiere Elements 9 to edit Flip Ultra (standard definition) .AVI files.
    Thanks.
    Meomoto

  • Can TMS warn of objects on released-but-not-imported requests?

    I'm sure this is a common problem: Developer A makes a change to an ABAP program, releases his transport, and imports it to the QA system. Developer B makes a subsequent change to the same program (unaware of Developer A's changes), realeases his transport and imports it to QA. Developer B's QA testing completes first, and his transport is imported to the Production system. Some time later, Developer A's QA testing is completed, and his transport moves to Prod, wiping out Developer B's changes!
    How do we avoid this situation? Is there a way to configure TMS so that it warns Developer B of Developer A's released-but-not-yet-imported-to-Prod transport?
    I am open to all suggestions, including activating user exits in TMS, and coding the warning myself. If that's the only solution, some guidance on TMS user exits and TMS tables I would need to query would be helpful.
    Thanks in advance.

    Well, this thread may be 4 years old, but I have answered my own question (some time ago), and would like to share the answer with the SDN community.
    I ended up activating the BADI CTS_REQUEST_CHECK. In the CHECK_BEFORE_RELEASE method I added my own code to check for "incomplete" transports for any of the objects on the transport being released. The code is pretty involved, but the basic trick is to SELECT all transports for each of the objects in the request from database tables E070, E071, and E07T, then use function TR_READ_GLOBAL_INFO_OF_REQUEST to get the details of each request to determine if it has been imported into the production system.
    Once I have a list of "potentially conflicting" transports, I display it for the user in an ALV grid. I then allow the user to decide whether to go on with the release of the transport, or to cancel the release.
    Cheers,
    Terry

  • How to remove an Element from XML by confirming Attribute of that element

    Hi guys
    I have an XML file where i have all users DB. Now i want to remove a user from that XML file. I want to check an user id attribute which is uniqe with existing users in XML file, if its the same user then delete this user from XML file and save the changes in XML file.
    here is my XML file:
    <?xml version="1.0" encoding="UTF-8"?>
    <users>
    <user id="zahid" password="X8UrUN79avT27LYwUESiliAV328=" name="Zahid Nawaz" phone="9599808" email="[email protected]" role="Tnr+vPuuAAsix8heVWD4mioCgLQ=" />
    <user id="Admin" name="alpha beta" password="fEqNCco3Yq9h5ZUglD3CZJT4lBs=" phone="456782656" email="[email protected]" role="Tnr+vPuuAAsix8heVWD4mioCgLQ=" />
    <user id="Guest" name="beta alpha" password="+ml3yZuAnbaOHFaIjsOL0ARxmzk=" phone="8765432" email="[email protected]" role="+s6D7jAUvcj5ggPMlOLokiJFLpA=" /><user id="Guest1" name="unknown unknown" password="+ml3yZuAnbaOHFaIjsOL0ARxmzk=" phone="123122112" email="[email protected]" role="+s6D7jAUvcj5ggPMlOLokiJFLpA=" />
    </users>for example i want to delete a user which have user id= Guest.
    How can i do it in Java. Any code example please. i am using JDOM document and SAXBuilder for parsing.
    Waiting for your replay.
    Thanks in Advance
    Best regard

    Hi,
    Till now i tried the following code which give null pointer exception at following line
    element.getParentNode().removeChild(element);
         public String removeUserByID(String id) throws Exception{
                   DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                 DocumentBuilder builder = factory.newDocumentBuilder();
                 TransformerFactory tFactory = TransformerFactory.newInstance();
                 Transformer tFormer = tFactory.newTransformer();
                   doc = builder.parse(usersXml);
                 Element element = (Element)doc.getElementsByTagName("user id="+id).item(0);
    //             Remove the node
                 element.getParentNode().removeChild(element);
    //             Normalize the DOM tree to combine all adjacent nodes
                 doc.normalize();
                 FileOutputStream fos = new FileOutputStream(this.usersXml);
                   XMLOutputter out = new XMLOutputter();
                   out.output(((org.jdom.Document)doc), fos);
              /*     Source source = new DOMSource(doc);
                 Result dest = new StreamResult(System.out);
                 tFormer.transform(source, dest);
                 System.out.println();
                 return "true";
              if following line i m trying to use first attribute of my XML file where i am passing a string which is for example like "user id=Guest". id is a string which have user Id "Guest".
    Element element = (Element)doc.getElementsByTagName("user id="+id).item(0);So any suggestion??Whats wrong here?
    Best regards and thanks again 4 ur reply.

  • Custom object class attributes are not provisioning in oID thru OIM

    Hi,
    I have connected OIM with oID user provisioning is also taking place. I have made one custom structure class with some attributes in OID.
    In form designer,in OID usr form i have made feild UD_OID_USR_Custom
    In OId .config lookup i have mentioned that custom class as well as attributes of class[in code Custom in decode name of attribute at target]
    In process form recon mapping of OID i mapped this feild name .
    Also in resource object recon mapping also i mentioned this attribute.
    But while creating user till process form value of attribute is populating and not provisiong that attribute in OID.
    Please tell me where i went wrong or exact steps of mapping in form designer,Process definition,Lookup.OID.configuration,Resource objects.
    Thanks

    process form recon mapping of OID i mapped this feild nameHave you made attribute entry in Provisioning Lookup AttrName.Prov.Map.OID ?
    Have you followed each step :
    http://download.oracle.com/docs/cd/E11223_01/doc.904/e10436/extnd_func.htm#CACICHDH

  • E4x detecting one attribute, but not another..

    I'm trying to search an e4x xml structure for a node, and
    pull that node out. If there were duplicate nodes, then more than
    one would be pulled, which is why myXML..stat.(@id == someValue)
    should output an XMLList.
    But this seems to pull my records only when there are more
    than one record. If there is only 1 record it won't pull anything
    unless target something within that record. Is it not possible to
    have an XMLList with only 1 node?

    "YorFlexGuy" <[email protected]> wrote in
    message
    news:go1sgu$o3d$[email protected]..
    > Hey everybody,
    >
    > I don't know if i'm just missing something obvious, but
    this isn't making
    > sense to me..
    >
    > Here is my xml:
    >
    > if i search using @Units, it finds nodes, but if i
    search using @StatID,
    > it
    > doesn't. I tried searching for both a string version and
    number version of
    > @StatID but it doesn't seem to make any difference.
    >
    > Can anybody shed some light on this? are the slashes in
    my Date attribute
    > breaking the xml parsing somehow?
    >
    >
    > <stats>
    > <stat StatID="1" Value="400" TextValue=""
    ProductID="-1" TypeID="1"
    > Date="1/15/2009 12:00:00 AM" IsActive="1"
    StatName="Weight"
    > Units="Pounds"/>
    > <stat StatID="5" Value="300" TextValue=""
    ProductID="-1" TypeID="1"
    > Date="1/20/2009 12:00:00 AM" IsActive="1"
    StatName="Weight"
    > Units="Pounds"/>
    > <stat StatID="6" Value="310" TextValue=""
    ProductID="-1" TypeID="1"
    > Date="1/23/2009 12:00:00 AM" IsActive="1"
    StatName="Weight"
    > Units="Pounds"/>
    > <stat StatID="7" Value="250" TextValue=""
    ProductID="-1" TypeID="1"
    > Date="2/1/2009 12:00:00 AM" IsActive="1"
    StatName="Weight"
    > Units="Pounds"/>
    > <stat StatID="8" Value="240" TextValue=""
    ProductID="-1" TypeID="1"
    > Date="2/5/2009 12:00:00 AM" IsActive="1"
    StatName="Weight"
    > Units="Pounds"/>
    > <stat StatID="9" Value="244" TextValue=""
    ProductID="-1" TypeID="1"
    > Date="2/10/2009 12:00:00 AM" IsActive="1"
    StatName="Weight"
    > Units="Pounds"/>
    > </stats>
    >
    > trace("TEST2:" + bmiData..stat.(@Units == "Pounds"));
    > //Outputs the entrie data structure (correct)
    >
    > trace("TEST1:" + bmiData..stat.(@StatID == "8"));
    > //This should pull one of the nodes, out, but instead it
    finds nothing.
    Your one node has nothing in it, so when the trace function
    calls toString()
    on it to ouput, it shows you exactly what is in it...nothing.

  • Load xml works on designer but not works in adobe acrobat

    Hi
    I have load a xml file on the file -> properties of the form.
    When I preview the pdf all works ok, but when I have saved the document and I have opened the pdf file with adobe acrobat. Then data hasn't loaded.
    Somebody know what happen?
    Thanks
    Ruben

    Unfortunately, Adobe no longer supports Acrobat 7.  Not only that, but I don't believe it was ever supported in a Citrix environment. 
    You will need to upgrade to at least Acrobat 8 for general support (and official Citrix compatibility).

  • XQuery query over just one single xml file returns data but query over lots of XML didn't return any data.

    Hello,
    Please, help me.
    I am depending on this query working fine to complete a academic task.
    On the Oracle xml database Express version 11.2.0.2.0 I used data from wikipedia to populate my table of XML files and W3C use case as a query model (XQuery and XPath Full Text 1.0 Use Cases).
    I have a table with 26.416 split xml files into some xml columns, it is about 512 MB.
    CREATE TABLE tb_wikipedia_inex (DOC VARCHAR(30) NOT NULL,
                                    XML XMLTYPE,
                                    PRIMARY KEY (DOC)
    I want to perform a query (full text) on all those files but when I execute a xquery it retuns nothing or warnings. Unfortunatelly I understand nothing from trace file.
    SQLPLUS:
    XQUERY  fn:collection("oradb:/HR/TB_INEX2009")//article//language  [ora:contains(., "java") > 0]
    TRACE FILE:
    System altered.
    Elapsed: 00:00:42.08
    Session altered.
    Elapsed: 00:00:00.00
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.00
    Elapsed: 00:00:00.05
    Execution Plan
    Plan hash value: 1500681423                                                                      
    | Id  | Operation                           | Name                   | Rows  | Bytes | Cost (%CPU)|
    Time     |                                                                                       
    |   0 | SELECT STATEMENT                    |                        |  8168 | 16336 |    29   (0)|
    00:00:01 |                                                                                       
    |   1 |  COLLECTION ITERATOR XMLSEQ FETCH   | XMLSEQUENCEFROMXMLTYPE |  8168 | 16336 |    29   (0)|
    00:00:01 |                                                                                       
    |   2 |   SORT AGGREGATE                    |                        |     1 |     2 |            |
             |                                                                                       
    |*  3 |    COLLECTION ITERATOR PICKLER FETCH| XMLSEQUENCEFROMXMLTYPE |   408 |   816 |    66  (57)|
    00:00:01 |                                                                                       
    Predicate Information (identified by operation id):                                              
       3 - filter(SYS_XMLCONTAINS(SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(SYS_XQEXTRACT(SYS_XQCON2SEQ(VALUE(KOKBF$
                  ,'/language/text()'),1,50),50,1,0),'java')>0)                                      
    Note                                                                                             
       - Unoptimized XML construct detected (enable XMLOptimizationCheck for more information)       
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.00
    How can I execute xquery over a bunch of xml files to obtain xml data?
    Regards,
    Daiane

    Hello,
    I was trying to find what is the problem, but without success.
    The most simple test don't work.
    So, I created a new table with few xml files to reproduce the query.
    Below are my scripts:
    XML COLUMN  SQLPLUS
    CREATE TABLE HR.tb_xml (DOC VARCHAR(30) NOT NULL,
                                               XML XMLTYPE,PRIMARY KEY (DOC))
    CREATE INDEX HR.Ixml_tb_xml ON HR.tb_xml (XML)  INDEXTYPE IS XDB.XMLINDEX  PARAMETERS ('PATHS (INCLUDE(//article
                                                                                                                       //article/physical_entity/communicator/person/compiler/causal_agent/language))')
    CREATE INDEX Itxt_tb_xml1  ON HR.tb_xml (XML)  INDEXTYPE IS CTXSYS.CONTEXT;
    Shell:
    nohup sqlldr daiane/daiane DIRECT=false PARALLEL=false control = load_xml.ctl;
    XML TABLE SQLPLUS:
    create table livros of XMLTYPE;
    Shell:
    nohup sqlldr daiane/daiane DIRECT=false PARALLEL=false control = load_xmltb.ctl;
    XML Files:
    https://www.dropbox.com/sh/sn26jq6fjoi4635/0wjJI6tT4h
    Queries:
    for XQUERY  fn:collection("oradb:/HR/TB_XML")//article/physical_entity/communicator/person/compiler/causal_agent/language/writer/header/categories/category [ora:contains(., "PHP") > 0]
    XQUERY  fn:collection("oradb:/HR/TB_XML")//article/physical_entity/communicator/person/compiler/causal_agent/language/writer/header/title [ora:contains(text(), "PHP") > 0]
    for XQUERY  fn:collection("oradb:/HR/LIVROS")//article/physical_entity/communicator/person/compiler/causal_agent/language/writer/header/categories/category [ora:contains(., "PHP") > 0]
    XQUERY  fn:collection("oradb:/HR/LIVROS")//article/physical_entity/communicator/person/compiler/causal_agent/language/writer/header/title [ora:contains(text(), "PHP") > 0]
    What is wrong with these queries?
    Regards,
    Daiane

  • Shared Object working locally but not online

    My game records your high score using the sharedobject and while testing it locally it works fine, but when the swf is published and played online, it is not recording the hi score. Is there some sort of new security issue with saving shared objects on people's hard drives now?

    In Frame 1 I have this code. The first is for game progress, the second is for the high score which is then passed to the text object
    var Progress:SharedObject = SharedObject.getLocal("progress", "/");
    var OwlHiScore:SharedObject = SharedObject.getLocal("owlhiscore", "/");
    hisc.mainScore.text = (OwlHiScore.data.HiScore).toString();
    Then on the last frame where the game is over I have this code:
    if (score > OwlHiScore.data.HiScore) {
              hiScoreWon = true;
      OwlHiScore.data.HiScore = score;
      OwlHiScore.flush();
              hiScoreHolder.hiScoreEffect.mainScore.text = (OwlHiScore.data.HiScore).toString();
    } else {
              hiScoreWon = false;

  • Add object in repository but not showing in answers subject area

    Hi all,
    I add a table from physical layer to BM and then presentation layer and successfully restart the BI service but it still not showing in answers subject area i also logout and login the application... any idea why.
    Regards

    Have you reloaded the metadata in the presentation server? This can be done in Answers by using the 'reload metadata' link below the tables (you must have the privilege to do this, by default the Administrator user can do this).
    Restarting the presentation server service will also force a reload.
    Regards,
    Elio

  • Forms field returning date but not time

    Hello everyone, I currently have a field in my database to store a certain date and time. However the corresponding field in my forms builder only seems to display the date and not the time. Does anyone have any idea why this is occuring?
    Thank you.

    also check if you have set a format mask. if so, make sure that time format is included.

  • One to One object ... but not in database

    I have many relationships which are truly one to one, however the defining primary key of the subbordinate table is the same as the primary key to the parent table.
    In this scenario when mapped as a one to one in toplink, it doesn't know the order in which to add the records... it tries to add the subbordinate table's information first??? this results in a foreign key restraint.
    Is there a correct way to handle this relationship in the toplink mappings? It seems like someone would have run across this before.

    Yup... These threads have similar goals:
    Re: Order of INSERT operations at commit time
    Order of delete in unit of work
    And here is the Javadoc that will address this:
    http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/toplink.903/tl_flapi/oracle/toplink/publicinterface/Descriptor.html#addConstraintDependencies(java.lang.Class)
    - Don

  • IOError in IE but not in Firefox (possible crossdomain.xml problem)

    Yesterday, I hopefully debugged a problem that is occuring for our application in IE but not in Firefox.
    It has to do with accessing remote content from a separate domain.
    In every aspect it APPEARS to be a crossdomain.xml issue but the fact that this issue only arrises in IE is what has prompted me to post here.
    We have a solution in the works (bureaucratically speaking) but I want to double check here.
    Our application is on domain "a.domain".
    It access an xml file on "b.domain/xml/".
    And finally (this is the tricky part) it also accesses an xml file at "b.domain/forwardingPath/" which is actually forwarded to "c.domain/xml/".
    The crossdomain.xml is located at "b.domain/crossdomain.xml".
    The request for "b.domain/xml/anXMLFile.xml" works without any problem.
    The request for "b.domain/forwardingPath/anotherXMLFile.xml" succeeds in Firefox but not in IE (remember, the ACTUAL request is forwarded to "c.domain/xml/anotherXMLFile.xml").
    In IE I get an IOError.
    I believe we need an appropriate crossdomain.xml file also located at "c.domain/crossdomain.xml" and have put in that request.  What I want to confirm is whether this understanding is correct.  I am not a server-side person at all.  It's all elves and fairies to me.  And then finally, why the hell is this behavior inconsistent between IE and Firefox?  Is the Firefox version of flash player violating its own security standards?!
    I am cross-posting this at stack overflow.  http://stackoverflow.com/questions/7395931/ioerror-in-ie-but-not-in-firefox-possible-cross domain-xml-problem

    I've pinged our developers about this and here's what they have to say:
    "We did some work for the plugin around redirects andhence the correct behavior on Firefox.
    AFAIK, on IE we don't get notified of the redirect and can't participate in making security decisions during redirect scenarios. This behavior is out of our control.
    There is a workaround documented in the AS3docs here: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/LoaderCont ext.html#checkPolicyFile
    Here is the pertinent paragraph:
    Be careful with checkPolicyFile if you are downloading anobject from a URL that may use server-side HTTP redirects. Policy files arealways retrieved from the corresponding initial URL that you specify inURLRequest.url. If the final object comes from a different URL because of HTTPredirects, then the initially downloaded policy files might not be applicableto the object's final URL, which is the URL that matters in security decisions.If you find yourself in this situation, you can examine the value ofLoaderInfo.url after you have received a ProgressEvent.PROGRESS orEvent.COMPLETE event, which tells you the object's final URL. Then call theSecurity.loadPolicyFile() method with a policy file URL based on the object'sfinal URL. Then poll the value of LoaderInfo.childAllowsParent until it becomes true."
    Chris

  • Pulling particular attributes from the XML Object

    Hi !
    My requirement is onChange of a value from the first drop down, particular values needs to load in the second drop down. Values that needs to pull are designed in XML Object as Map entries Key,Pair Values.
    We can pull the first drop down values from the XML Object using Rule library and find the following code snippet ;
    <block>
    <set name='appData'>
    <invoke name='getExtension'>
    <invoke name='getObject'>
    <ref>ctx</ref>
    <invoke name='findType' class='com.waveset.object.Type'>
    <s>Configuration</s>
    </invoke>
    <s>Config_SDD_ReferenceData</s>
    </invoke>
    </invoke>
    </set>
    <ref>appData</ref>
    </block>
    Here, Config_SDD_ReferenceData.xml is the file where the map entries are written and the ref name is appData. Later in BPE the code "appData.units" are referred in ValueMap property.
    But we are stuggling to populate the second drop down values based on the valu selected in the first drop down.
    Please find the XML Object also;
    <Attribute name='units'>
    <Map>
    <MapEntry key='1' value='units1'/>
    <MapEntry key='2' value='units2'/>
    <MapEntry key='3' value='units3'/>
    </Map>
    </Attribute>
    Thanks in advance.

    u could use removeChild() method of the node interface....get the parent node named 'xxxxxx' from the DOM and perform a removeChild operation on it specifying the senderID, receiverID and dateTimeStamp Nodes as arguments to the method....
    Hope this helps
    VP

Maybe you are looking for

  • Double click on cell in alv report

    Hi all, I want to show detail popup on cell of alv report. how to get the cell value. plz tell me the logic for getting cell value. thanks in advance.

  • IBooks from Australia and the USA - how can I see all of my collection on my MacBook Pro?

    G'day, I am Australian. I began using iBooks in Australia by purchasing books through the Apple store in Australia on my iPhone. In those days I had a PC running windows, and used to sync my iPhone on iTunes in Windows 7. Later, I moved to Illinois i

  • Tax code in CIN(country india version)

    A tax code is created in the juridiction code IN00 with A/P BED as 16.32% (cindition type JM01) and A/P CST as 4%(condition type JIP1).When it is used in the purchase order in the tax simulation it is taking the BED as 0% (even though it is mentioned

  • Ac power adapter is not working

    i bought this item apox. 9/10 months ago from Tesco so i dont know if i have any cover? HP Photosmart Plus All-in-One Printer - B209a ac power adapter is not working and i ready own hp printers and dont want to have to splash out on another. please

  • HT4009 Purchasing in itune

    Is anyone having a problem since the upgrade trying to buy extra moves on a game on the ipad