Java XML DOM Element

Java examples for XML:DOM Element

Description

Click the following links for the tutorial for XML and DOM Element.

  1. get Elements from XML Document by element name
  2. Get the content of the given XML element.
  3. get Tag Value from XML Element
  4. Get String list from XML Element
  5. Returns the text-content of the first XML element in a document with a given tag name.
  6. Returns the String representation of XML Element.
  7. get Int Element from StartElement in StAX parser
  8. write xml element start tag, data and end tag into XmlStreamWriter


  9. get the text value of XML element.
  10. add Boolean Property to XML Document parent Element
  11. add Float Property to XML Element
  12. add String Property to XML Element
  13. get Double Property from XML Parent Element
  14. get Float Property from Parent XML Element
  15. get Font Property from XML Parent Element
  16. get Integer Property XML Parent Element


  17. get Property XML Element by Tag Name
  18. elements To String
  19. Get string value of XML element.
  20. get Text from XML Element
  21. A method to get string which represent the xml element
  22. Parses a String into a new XML Element.
  23. Locate a XML sub-element tagged 'name', return its value.
  24. decode XML Element and class name
  25. encode Object to XML Element
  26. Extract the XML namespace prefix from the qualified element name passed in.
  27. get Value from Element by tag name
  28. append XML CData Element
  29. Get the name of the XML element
  30. Get the value of the specified XML element
  31. Set the value of XML element
  32. get XML Tag Value String
  33. get XML Tag Value Integer
  34. dom Element To String
  35. get XML Element Children
  36. get XML Element Children Iterator
  37. Returns the string content of XML element (e.g., xsl:value-of() except that the markup of sub elements is included in the string).
  38. Returns the language code associated with the specified XML element.
  39. Exactly like value-of(), get String Value Of XML Element
  40. Returns true if the input XML element has element children.
  41. Returns the element with the specified tag name.
  42. get Element Descendant
  43. Create an element in XML Document
  44. get XML Child Elements
  45. get XML Element Containers
  46. Parse namespace prefixes defined in the XML documents root element.
  47. rename XML Element
  48. replace XML Element
  49. Replace the current XML root element.
  50. Creates a new XML document with the given namespace and document element.
  51. Remove all children element from XML Element
  52. Get the next sibling XML element.
  53. Get the previous sibling XML element.
  54. Gets all child XML elements.
  55. Get namespace declarations of specified XML element.
  56. Returns the name of the XML element.
  57. Returns the QName of the XML element.
  58. Returns the text content of the XML element.
  59. get XML Element by tag name and namespace
  60. get XML Element Text
  61. Gets the string value of the XML tag element name passed
  62. get Child XML Element By Tag Name
  63. Allows to edit an element in xml file
  64. get XML Element Parent
  65. get XML Child Elements
  66. Gets the child XML Element with the indicated name.
  67. Gets the value for the child XML Element with the indicated name.
  68. Get the defining target namespace of this XML element
  69. Gets the sibling XML Element with the indicated name.
  70. Gets the value for the sibling XML Element with the indicated name.
  71. Get the name from the supplied XML element.
  72. Determines whether a specific boolean flag is set on XML element.
  73. Retrieves the first immediate child XML element of the specified element whose name matches the provided name parameter.
  74. Retrieves the first immediate child XML element of the specified element whose name matches the provided name parameter.
  75. Counts the number of immediate child XML elements of the specified element whose names match the provided name parameter.
  76. Counts the number of immediate child XML elements of the specified element whose names match the provided name parameter.
  77. Retrieves all immediate child XML elements of the specified element whose names match the provided name parameter.
  78. Retrieves all immediate child XML elements of the specified element whose names match the provided name parameter.
  79. get Child XML Elements By Tag Name
  80. Gets the text content of a child XML element.
  81. Gets the first child XML element with the specified name.
  82. get XML Element Outer No Children
  83. create Document And Append XML Element
  84. Returns a concatenation of all XML elements with the given name.
  85. Get the first XML element with the given name as a child of the given element.
  86. get Simple Element Text that takes the name of XML element to get the text from.
  87. get Child XML Element by name
  88. get Children XML Element
  89. Count XML Elements in Document by Tag Name
  90. get First XML Element
  91. Creates a child XML element with the given name beneath the specified element.
  92. get First XML Element By Tag Name
  93. get Sub XML Element
  94. This will return the next sibling XML element (skipping Text elements along the way)
  95. This will look at the children of the XML element that have a tag name passed.
  96. This will look at the children of the XML element that have a tag name passed.
  97. any XML Elements With Name namespace
  98. Add an Element to XML Document
  99. Add a Text element to XML Document
  100. get XML Element Value
  101. Simple DOM elements finder.
  102. Get the first child org.w3c.dom.Element Element of an org.w3c.dom.Element Element .
  103. Returns the text content of a DOM Element.
  104. Sets the text content of a DOM Element.
  105. Finds the first (breadth first) DOM element with the specified name.
  106. Gets a list of DOM elements with the specified name throughout the document (not just children of a specific element).
  107. Gets the given element's first ancestor DOM element with the specified name.
  108. Gets the character data corresponding to the given DOM element as a Boolean, or null if the value is not a boolean.
  109. Gets the character data corresponding to the given DOM element.
  110. Gets the given element's first child DOM element with the specified name.
  111. Gets a list of the given element's child DOM elements.
  112. Gets the character data corresponding to the given DOM element as a Double, or null if the value is not a double.
  113. Gets the character data corresponding to the given DOM element as a Float, or null if the value is not a float.
  114. Gets the character data corresponding to the given DOM element as a Integer, or null if the value is not a integer.
  115. Gets the character data corresponding to the given DOM element as a Long, or null if the value is not a long.
  116. Sets the character data corresponding to the given DOM element.
  117. get Child Elements By Name
  118. get Document Root Element
  119. get Element by namespace
  120. get Max Element Position in double array
  121. get Max Element in double array
  122. get Min Element in double array
  123. Revert order of vector elements.
  124. Find the specified extensibility wsdl element, if more than one with the specified name exists in the list, return the first one found.
  125. Find all of the extensibility wsdl elements with the specified name.
  126. Get the Soap Action URI from the operation's soap:operation extensibility element.
  127. get First Child Element namespace
  128. get Next Sibling Element namespace
  129. get All XML Children
  130. get XML Child by name
  131. get All XML Children String
  132. get Item By XML Child Text Value
  133. save XML Content to a file
  134. set XML Text Content
  135. get First XML Child By Type