Questions tagged [xmldom]

The abstract tree structure of an XML document

The abstract tree structure of an XML document See:

The XML DOM is supplemented by the SGML Declaration for XML 1.0 and the XML Infoset.

272 questions
0
votes
1 answer

XML DOM xml Property in IE10?

There seems to be a problem with Internet Explorer 10 Release Preview. I don't know if this is a bug, or Microsoft has decided to remove the property XML DOM. Test: http://www.w3schools.com/dom/tryit.asp?filename=try_dom_attr_xml Result in Internet…
0
votes
1 answer

Convert/Save Complex Array to XML

I want to save the array below ( "name: $array" ), in an xml file using XMLDOM. I tried with only one city and it works well. But when integrating the code to multiple array. it fails. The Array ( [0] => Array ( [city] =>…
0
votes
1 answer

Having major issues with xpath against soap, Please

I am having major difficulty getting the value of certain nodes in this soap message. Please help. I need to get SubTotal node (value=68682):…
0
votes
2 answers

XML Getting attibute value of a Node

I am using XML DOM API in C++ to parse an XML file. I can't find any method to get the attribute value in a node element. For example, in the following xml ... ... I need to get the count string("10")…
0
votes
1 answer

XML DOM and javascript

I am getting a childnodes undefined error when executing the below code. What am I doing wrong? Also, is there a better way of making this happen? var xmlhttp; if (window.XMLHttpRequest) {// code fop=new XMLHr IE7+, Firefox, Chrome,…
user1350709
-1
votes
1 answer

inserting missing node with attributes in xml file at a specific line only

Team, I have below xml file which is missing a node at line 9. so I need to insert it and not anywhere else. line to insert xml file i have that is missing node is below
AhmFM
  • 1,552
  • 3
  • 23
  • 53
-1
votes
1 answer

How to replace tag name with empty string in xml DOM?

based on xml below: Sample text how can i replace with Empty.string or "". This is the expected output: Sample text
Mana
  • 13
  • 1
  • 7
-1
votes
1 answer

Xpath case insensitive of tag names when using contains(@tag name, "value")

I found the way to make case insensitive for XPATH using translate(.,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz') However I would like to make "tag names" case insensitive, not the value. For example,
hiyo
  • 133
  • 3
  • 9
-1
votes
1 answer

Data assignment error for dbms_xmldom.domdocument

I'm trying the example in the link below http://www.dba-oracle.com/t_packages_dbms_xmldom_xmlparser.htm but I get errors on this line v_doc := dbms_xmldom.cument(v_variable); how can I solve this problem ORA-06550: satır 31, sütun 25: PLS-00302:…
berkay91
  • 31
  • 4
-1
votes
2 answers

VBScript XMLDOM

I am trying to retrieve all values from the XML below in VBScript with XMLDOM. Unfortunately, the nodes do not have the same name tag and the amount of tags (c[n]) is variable. How can I read the values to a dictionary? I can get the tags by…
Eleven-Two
  • 25
  • 1
  • 6
-1
votes
1 answer

Reading XML file in vba userform using XMLDOM

This is my xml - - Gambardella, Matthew XML Developer's…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/vba" class="post-tag grid--cell" title="show questions tagged 'vba'" rel="tag">vba</a> <a href="../../questions/tagged/xmldom" class="post-tag grid--cell" title="show questions tagged 'xmldom'" rel="tag">xmldom</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Feb 23 '16 at 12:00">asked Feb 23 '16 at 12:00</time> <a href="../../users/5967571/sadiq" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/5967571.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="sadiq" /> </a> <div class="s-user-card--info"> <a href="../../users/5967571/sadiq" class="s-user-card--link">sadiq</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1</li> <li class="s-award-bling s-award-bling__bronze" title="4 bronze badges">4</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-34930295"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>-1</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/34930295/read-xml-in-utf-8-vb6" class="question-hyperlink">Read XML in UTF-8 VB6</a></h3> <div class="excerpt">I have this XML with ▲ character in UTF-8. However, when I read this XML, this character is displayed as "?" I have no idea how to change it, any help would be appreciated. Here is so far what I did: XML: <?xml version="1.0" encoding="UTF-8" ?> …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/xml" class="post-tag grid--cell" title="show questions tagged 'xml'" rel="tag">xml</a> <a href="../../questions/tagged/utf-8" class="post-tag grid--cell" title="show questions tagged 'utf-8'" rel="tag">utf-8</a> <a href="../../questions/tagged/vb6" class="post-tag grid--cell" title="show questions tagged 'vb6'" rel="tag">vb6</a> <a href="../../questions/tagged/xmldom" class="post-tag grid--cell" title="show questions tagged 'xmldom'" rel="tag">xmldom</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jan 21 '16 at 17:23">asked Jan 21 '16 at 17:23</time> <a href="../../users/5215243/mistougi" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/5215243.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="mistougi" /> </a> <div class="s-user-card--info"> <a href="../../users/5215243/mistougi" class="s-user-card--link">mistougi</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">23</li> <li class="s-award-bling s-award-bling__bronze" title="5 bronze badges">5</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-34352745"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>-1</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/34352745/in-php-how-to-replace-the-domdocument-documentelement-with-a-new-element-paren" class="question-hyperlink">In PHP, how to replace the DOMDocument::documentElement with a new element parent of the old documentElement?</a></h3> <div class="excerpt">Question: How to create a super-root node that contain the previous documentElement? Example scenario: Given the following snippet in PHP, the encapsulateRootNode function has to create a new root node which contain the old full dom…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/xml" class="post-tag grid--cell" title="show questions tagged 'xml'" rel="tag">xml</a> <a href="../../questions/tagged/dom" class="post-tag grid--cell" title="show questions tagged 'dom'" rel="tag">dom</a> <a href="../../questions/tagged/domdocument" class="post-tag grid--cell" title="show questions tagged 'domdocument'" rel="tag">domdocument</a> <a href="../../questions/tagged/xmldom" class="post-tag grid--cell" title="show questions tagged 'xmldom'" rel="tag">xmldom</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Dec 18 '15 at 09:52">asked Dec 18 '15 at 09:52</time> <a href="../../users/903651/adrian-maire" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/903651.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Adrian Maire" /> </a> <div class="s-user-card--info"> <a href="../../users/903651/adrian-maire" class="s-user-card--link">Adrian Maire</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">14,354</li> <li class="s-award-bling s-award-bling__gold" title="9 gold badges">9</li> <li class="s-award-bling s-award-bling__silver" title="45 silver badges">45</li> <li class="s-award-bling s-award-bling__bronze" title="85 bronze badges">85</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-10310777"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>-1</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/10310777/read-xml-files-with-java" class="question-hyperlink">Read XML files with Java</a></h3> <div class="excerpt">I need to read a XML file with java. File structure as below. <?xml version="1.0" encoding="UTF-8"?> <xml_tool xmlns:md="http://www.example.com/XT/1.0/"> <md:header> <md:application_version>1.0</md:application_version> …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/xml" class="post-tag grid--cell" title="show questions tagged 'xml'" rel="tag">xml</a> <a href="../../questions/tagged/xml-parsing" class="post-tag grid--cell" title="show questions tagged 'xml-parsing'" rel="tag">xml-parsing</a> <a href="../../questions/tagged/xmldom" class="post-tag grid--cell" title="show questions tagged 'xmldom'" rel="tag">xmldom</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 25 '12 at 06:57">asked Apr 25 '12 at 06:57</time> <a href="../../users/1029088/bishan" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1029088.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Bishan" /> </a> <div class="s-user-card--info"> <a href="../../users/1029088/bishan" class="s-user-card--link">Bishan</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">15,211</li> <li class="s-award-bling s-award-bling__gold" title="52 gold badges">52</li> <li class="s-award-bling s-award-bling__silver" title="164 silver badges">164</li> <li class="s-award-bling s-award-bling__bronze" title="258 bronze badges">258</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-21965812"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>-2</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/21965812/printing-content-into-browser-after-reading-xml-file" class="question-hyperlink">printing content into Browser after reading xml file</a></h3> <div class="excerpt">XML file i have is <xml> <ticket> <team>A</team> <imp>I1</imp> </ticket> <ticket> <team>A</team> <imp>I2</imp> </ticket> <ticket> <team>b</team> <imp>I2</imp> </ticket> …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/xml" class="post-tag grid--cell" title="show questions tagged 'xml'" rel="tag">xml</a> <a href="../../questions/tagged/xmldom" class="post-tag grid--cell" title="show questions tagged 'xmldom'" rel="tag">xmldom</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Feb 23 '14 at 08:14">asked Feb 23 '14 at 08:14</time> <a href="../../users/3280677/user3280677" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/3280677.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="user3280677" /> </a> <div class="s-user-card--info"> <a href="../../users/3280677/user3280677" class="s-user-card--link">user3280677</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">75</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badges">1</li> <li class="s-award-bling s-award-bling__bronze" title="10 bronze badges">10</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/xmldom_page=17" rel="prev" title="Go to page 17">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/xmldom_page=1" rel="" title="Go to page 1">1</a> <a class="s-pagination--item" href="../../questions/tagged/xmldom_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/xmldom_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <div class="s-pagination--item is-selected">18</div> <a class="s-pagination--item" href="../../questions/tagged/xmldom_page=19" rel="" title="Go to page 19">19</a> <a class="s-pagination--item" href="../../questions/tagged/xmldom_page=19" rel="next" title="Go to page 19"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>