Displaying 11 results from an estimated 11 matches for "parsexml".
2015 Apr 11
1
XML Parser failing due to cryptic Serial Number.
...t;/usr/share/virt-manager/virtManager/libvirtobject.py", line 225, in _reparse_xml
self._xmlobj = self._build_xmlobj(self._get_raw_xml())
File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 228, in _build_xmlobj
return self._parseclass(self.conn.get_backend(), parsexml=xml)
File "/usr/share/virt-manager/virtManager/nodedev.py", line 27, in _parse_convert
return NodeDevice.parse(conn, parsexml)
File "/usr/share/virt-manager/virtinst/nodedev.py", line 95, in parse
tmpdev = NodeDevice(conn, parsexml=xml, allow_node_instantiate=True)
...
2006 Oct 13
3
error running webserver 7 with the DTrace dvm agents...
...<a class="moz-txt-link-freetext" href="https://solaris10-dtrace-vm-agents.dev.java.net/">https://solaris10-dtrace-vm-agents.dev.java.net/</a><br>
<br>
When I start the webserver with ./startserv I get this error: <br>
<br>
ld.so.1: parsexml: fatal: libplc4.so: open failed: No such file or
directory<br>
<br>
Here is what I''ve configured so far:<br>
<br>
I am on:<br>
SunOS ps-eng7 5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Fire<br>
<br>
<br>
# from ./dvm/README<br>
mkdir -p...
2006 Mar 23
4
XML parser fixed
...this._xmlHash = this._nodeToHash(this.element);
}
return this._xmlHash;
},
getXml: function ()
{
if(this.options.onLoading) {
this.options.onLoading();
}
new Ajax.Request(this.xmlFile, {method:''get'', onComplete: this.parseXML.bind(this)});
},
parseXML: function (req)
{
this.element = req.responseXML;
this.XMLParsed = this.asHash();
if(this.options.onComplete) {
this.options.onComplete(this.XMLParsed);
}
},
_nodeToHash: function (node)
{...
2005 Oct 18
4
responseText Vs responseXML
This is a newbie question.
If I have a xml file that I am opening using Ajax.Request, then the response is trapped using responseText.
Now this response is a set of xml tags, if I need to traverse through it using DOM, I am not able to use the getElementByTagName method?
If I write my own ajax function, then when I do t.responseXML.getElementByTagName(''items'') it works but
2008 Jan 19
0
11 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_sprite_movie_as.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml.h libswfdec/swfdec_xml_node.c libswfdec/swfdec_xml_node.h test/image test/swfdec_test.c test/swfdec_test_image.c test/trace
...r + ", callee: " + arguments.callee);
+ trace (x);
+}
+
+x = new XML ();
+x.addProperty ("test", test_get, test_set);
+x.idMap = {};
+x.idMap.addProperty = Object.prototype.addProperty;
+x.idMap.addProperty ("test", test_get, test_set);
+delete x.idMap.addProperty;
+x.parseXML ("<a><b id='test'/></a>");
+trace ("done");
+trace (x);
+
+
+// Change ignoreWhite while parsing
+trace ("");
+
+function change_get () {
+};
+
+function change_set () {
+ x.ignoreWhite = !x.ignoreWhite;
+ trace ("changed ignoreWhite to...
2009 May 12
2
import HTML tables
Hello,
I was wondering if there is a function in R that imports tables directly
from a HTML document. I know there are functions (say, getURL() from {RCurl}
) that download the entire page source, but here I refer to something like
google document's function importHTML() (if you don't know this function, go
check it, it's very useful). Anyway, if someone of something that does this
2006 Mar 17
6
Updated the xml code to be more object-oriented
I changed the code to be more prototype-esque, and created a class
called XMLDoc. I may add more functionality to it later, hence the more
generic name, but you do something like this to convert XML to a hash:
XMLDoc = Class.create();
Object.extend(XMLDoc.prototype, {
initialize: function (xmlDoc) {
this.element = xmlDoc;
},
asHash: function () {
if (! this._xmlHash) {
2007 Oct 12
0
Changes to 'refs/tags/0.5.3'
...e number
Handle making ASnative and ASconstructor childless in nicer way
Merge branch 'master' into xml
Add namespace functions and property to XMLNode
Mark native strings in SwfdecXml object
Set loaded to false in XML when loading fails. Remove old children in parseXML
Add swfdec_as_array_insert function
Implement XMLNode's insertBefore method
Make getting of XMLNode's siblings use swfdec_xml_node_index_of_child function
Add swfdec_as_array_remove function
Implement XMLNode's removeNode method
Implement XMLNode'...
2007 Nov 27
0
12 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h
...XML.prototype", "getBytesTotal", false],
+ ["_global.XML.prototype", "load", false],
+ ["_global.XML.prototype", "onData", false],
+ ["_global.XML.prototype", "onLoad", false],
+ ["_global.XML.prototype", "parseXML", false],
+ ["_global.XML.prototype", "send", false],
+ ["_global.XML.prototype", "sendAndLoad", false],
+ ["_global.XML.prototype.addRequestHeader", "prototype", false],
+ ["_global.XML.prototype.getBytesLoaded", "...
2007 Nov 12
0
20 commits - libswfdec/swfdec_as_function.c libswfdec/swfdec_as_string.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_movie_as_drawing.c libswfdec/swfdec_player_as.c
...XML.prototype.load = ASnative (301, 0);
//XML.prototype.send = ASnative (301, 1);
-//XML.prototype.sendAndLoad = ASnative (301, 2);
+XML.prototype.sendAndLoad = ASnative (301, 2);
XML.prototype.createElement = ASnative (253, 10);
XML.prototype.createTextNode = ASnative (253, 11);
XML.prototype.parseXML = ASnative (253, 12);
diff --git a/libswfdec/swfdec_initialize.h b/libswfdec/swfdec_initialize.h
index 6c7e48c..f96764c 100644
--- a/libswfdec/swfdec_initialize.h
+++ b/libswfdec/swfdec_initialize.h
@@ -2,7 +2,7 @@
/* compiled from swfdec_initialize.as */
const unsigned char swfdec_initialize[]...
2007 Dec 28
0
4 commits - libswfdec/swfdec_external_interface.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h
...ype=\"xml\">" + flash.external.ExternalInterface._argumentsToXML (arguments) + "</invoke>";
+ result = flash.external.ExternalInterface._callOut (request);
+ }
+ if (result == null)
+ return null;
+
+ var xml = new XML ();
+ xml.ignoreWhite = true;
+ xml.parseXML (result);
+ return flash.external.ExternalInterface._toAS (xml.firstChild);
+};
+
+flash.external.ExternalInterface._callIn = function (instance, method, request) {
+ var xml = new XML();
+ xml.ignoreWhite = true;
+ xml.parseXML (request);
+ var args = null;
+ for (var i = 0; i < xml.first...