Questions tagged [ixmldomelement]

20 questions
4
votes
1 answer

How to insert jQuery in a firefox Add-On / extension without the Window-object?

I'm having major problems when I decided to port a Chrome extension to Firefox. One of the problems is that jQuery won't install itself in the "Lib/main.js" file. The error I get is the following: ReferenceError: window is not defined It seems that…
Wezelkrozum
  • 831
  • 5
  • 15
3
votes
1 answer

how to find the elements name in the xml file using DOM xerces c++..?

I want to know how to read all the elements' names in the following xml file: ... ... ... ... ... ...…
Balamurugan
  • 2,259
  • 8
  • 33
  • 48
2
votes
1 answer

MSXML2.DOMDocument.xml give me malformed xml

We have an old legacy system that where a component is writter in VB6. One method returns a string that is xml data. The xml data is created with msxml3.dll MSXML2.DOMDocument and returns the data of the document with the property xml:…
Torbjörn Hansson
  • 18,354
  • 5
  • 33
  • 42
2
votes
3 answers

How can I access element attributes from an IXMLDOMNode?

I'm building an XML DOM document in C++. My problem is this: I execute an XPATH query from an Element in my Document, which I know will return another Element. The elementPtr->selectSingleNode call returns an IXMLDOMNode. How can I gain access to…
Symmetric
  • 4,495
  • 5
  • 32
  • 50
2
votes
1 answer

What is the difference between OMNode and OMElement in AXIOM

What are the differences and their usages between OMNode and OMElement in AXIOM ? I have implemented a XML parser and I used both of the objects in the implementation. Is the OMElement is a sub class of the OMNode ? As an example both behaves in…
Malintha
  • 4,512
  • 9
  • 48
  • 82
1
vote
0 answers

How to create a IXMLDOMDocument2, or otherwise add one of it's IXMLDOMElements to a [Object, Document]?

I'm getting an HIERARCHY_REQUEST_ERR (3) in IE9 only when I try to add an element from one document to the other. I'm creating my document as follows: var xmlDoc = document.implementation.createDocument("","root",null); and trying to add to it as…
bodine
  • 1,763
  • 4
  • 19
  • 28
1
vote
2 answers

Getting partiular element values

I need to parse a xmlobject and extract from the nodes two values I am able to get two values from those trees. I am stuck on how to traverse down into the node in the loop to grab a value that then will determine if I can grab a second value. This…
user6060804
1
vote
1 answer

Is it possible to debug this PHP

I'm really grasping at straws here. I don't code and my PHP email extension works great EXCEPT for these errors when editing the templates. My vendor is in who-knows what timezone and has been very unresponsive. Besides the obvious - change…
jculp
  • 11
  • 2
1
vote
1 answer

How to get text which has no HTML tag | Add multiple delimiters in split

Following XPath select div element with class ajaxcourseindentfix and split it from Prerequisite and gives me all the content after prerequisite. div = soup.select("div.ajaxcourseindentfix")[0] " ".join([word for word in…
miserable
  • 697
  • 1
  • 12
  • 31
1
vote
1 answer

How to get text which has no HTML tag

Following is the HTML:

CPSC 353 - Introduction to Computer Security (3)


Security goals, security systems, access controls, networks and security, integrity, cryptography fundamentals,…
miserable
  • 697
  • 1
  • 12
  • 31
1
vote
1 answer

starts with and ends with in xpath

Following is how the element looks like on the page: I want all the li which comes right after General Engineering Courses. General [COURSE_NAME] Courses is common text on other pages as well. So basically I want all the li which come right after…
miserable
  • 697
  • 1
  • 12
  • 31
1
vote
1 answer

Get all ul elements in between two h3 tags

Following is how the element looks like on the page: Programs and Courses are h3 tags. I want all the ul tags in between Programs and Courses. Following XPath gives me all the ul comes after Programs: "//h3[.='Programs']/following::ul" How do I…
miserable
  • 697
  • 1
  • 12
  • 31
1
vote
1 answer

Jxbrowser: get image width and height from DOMElement

How can I get the clientwidth and clientheight if I have a list of img imgs = document.findElements(By.cssSelector("a>img")); for(DOMElemnt img:imgs){ double height =img.getAttribute("height");//not always works ,sometime return null value //What…
1
vote
1 answer

XML parser don't know whitespace length

I have the following XML sample.
Ye Win
  • 2,020
  • 14
  • 21
1
vote
1 answer

Selectsinglenode in IXMLDOMElement?

can i perform select single node from IXMLDOMElement ,if its possible give me one example for that using MSXML
Rajakumar
  • 442
  • 1
  • 9
  • 21
1
2