Search:

Type: Posts; User: SindhuP

Search: Search took 0.01 seconds.

  1. Re: Check whether the XML Tag exists while parsing the XML using DOM in Java

    So, for every tag I have to check with the node names which I get when I iterate through the root child nodes...rite??
  2. Re: Check whether the XML Tag exists while parsing the XML using DOM in Java

    It is throwing a NullPointerException exception at,
    NodeList nlList = eElement.getElementsByTagName(sTag).item(0).getChildNodes();
  3. Re: Check whether the XML Tag exists while parsing the XML using DOM in Java

    I am getting the Null pointer Exception while calling the getTagValue() method for "B4K02" as there is no tag available with the name in XML.
    Please find the code below.



    import...
  4. Re: Check whether the XML Tag exists while parsing the XML using DOM in Java

    Actually, I need to write a fixed field length flat file with the parsed XML data. I am Parsing the XML using getTagValue("TagName") method. If the specified tag is not available in the given input...
  5. Check whether the XML Tag exists while parsing the XML using DOM in Java

    Hi,

    I have an XML with several nested nodes where the XML Tags are generated dynamically. I have developed a generic program where I am able to parse all XML elements successfully using DOM. But,...
Results 1 to 5 of 5