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
2
votes
1 answer

Obtain attribute names from XML using VBA

I need to get the distinct attributes names from the XML using VBA. this is my code. sub test() Dim XMLFile As Object Dim XMLFileName As String Set XMLFile = CreateObject("Microsoft.XMLDOM") XMLFileName = "C:\Users\Input.xml" XMLFile.async =…
Raja
  • 57
  • 1
  • 8
2
votes
1 answer

Loading HTML document in DOM XML parser in VBScript fails if the tag is present

I am currently attempting to use VBScript to perform batch modifications to HTML files. To do this, I'm using the Microsoft.XMLDOM object. It is failing to load my HTML file as an XML document. After some experimenting, it appears that the following…
Quote
  • 183
  • 10
2
votes
1 answer

How to construct a new document builder out of an existing builders node?

I have the following code: DocumentBuilderFactory dbFactory_ = DocumentBuilderFactory.newInstance(); Document doc_; DocumentBuilder dBuilder = dbFactory_.newDocumentBuilder(); StringReader reader = new StringReader(s); InputSource inputSource = new…
Grammin
  • 11,808
  • 22
  • 80
  • 138
2
votes
1 answer

How do I make the following code portable for browsers other than Internet Explorer?

I have a source code that works well on Internet Explorer,but fails to work on Chrome or Firefox. I want to make it portable.Please Help. Login