Hello,
This function just calls getDocumentXML(), and then loads this XML string into
an object using the LoadXML function defined at:
https://msdn.microsoft.com/en-us/library/ms754585(v=vs.85).aspx
At this point it seems the only methods to use are
nodeFromID or SelectNodes
The first returns one Node object and the second returns an array of node
objects.
You can then retrieve attribute objects, child node objects , and a few other
methods / properties from each node or attribute object.
Sorry, I also just saw "getElementsByTagName Method (DOMDocument)” I believe
this also returns an array of node elements.
HTH,
Jonathan Cohn
On May 18, 2018, at 10:06 AM, Travis Roth <travis@xxxxxxxxxxxxxx> wrote:
Hi Jonathan,
What is the definition of GetDocumentXMLObject () in your sample code below
please?
Thanks.
Travis
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx <jawsscripts-bounce@xxxxxxxxxxxxx> On
Behalf Of Jonathan Cohn
Sent: Wednesday, January 17, 2018 9:27 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: XML related questions, any help please?
Here is code I cleaned up yesterday.
...
*o = GetElementsByClass (RowHeader )*
*iCount = o.length - 1 *
*for i =0 to iCount *
* sText = o.item(i).text*
*sId = o.item(i).attributes.GetNamedItem("id").value *
...
; return list of DIV elements having a specific class
*Object Function GetElementsByClass (string sClass)*
*var*
* object XMLDomDoc = GetDocumentXMLObject (),*
* object oResult,*
* int iCount*
*oResult = XMLDomDoc.DocumentElement.SelectNodes("//Div[@class='" + sClass
+ "']")*
*iCount = oResult.length*
*if iCount then *
* return oResult *
*else*
* return null()*
*EndIf*
*EndFunction*
On 17 January 2018 at 09:52, Jitendra Kumar <jeet.invincible@xxxxxxxxx>
wrote:
I am sorry tom, I know that, it was from the office mail.
Well, thanks bob, I shall give it a try, Looks like I have got the new
flashing car and not need to reinvent...
On 1/17/18, Bissett, Tom <tom.bissett@xxxxxxx> wrote:
Your message is coming through all messed up. It is unreadable.ëÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
Regards
Tom Bisset
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of jitender
kumar@5142695
Sent: Wednesday, January 17, 2018 5:04 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: XML related questions, any help please?
wp…«b±«m®&ìügÂ5©žt‹^›øŸŠØ¬jšè¥êÃÊÅ
Ú™ëa¡ßð…êÞ!Ƨ~)ÃjX¬¶‡ì¹ÈfzØhvƧvšè¥êÃâ€
°
º&þ8Âzw^®K¦j¿ù×ç-ý
º÷â€Å¾Å¾ÃŸÃ–yÙÞ±Ö²ü–§¹ªò׿öÓ_5Óýuÿ @1:ÿ
¬,±Êâ¦Ûÿ~·ž–+-³ú+ +›
ÿþ6°²Ç+Š›lý ÿ\ÂëzVÂyÚ®zËb¢{ÿj|¡zZi•æ¬{ôb‚
ÿnëp…«b~z,µ«br)ߢ+
½¨¥i¹^ý©Ãjȧ‚Wš¶Úânë^–)
rV¬²+.±ç_¢¹¨Âëajz'yé^™éóùb‘ïÚ®&ÿ•¦Þ–W o
__________�
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts
__________�
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts
--
Skype:
Jeet.delhi
__________�
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts
__________�
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts
__________�
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts