That is a xpath specification. You can find several sites out there that will
describe it. If you are just looking for elements with a specific tag and
attributes use the example from my scripts where I get elements with tag "div"
and id attribute of provided content. If you need more complicated searches
like every th element within the table called "CrackerJack", then you will need
to study the xPath notation yourself. Just google for it.
Best wishes,
Jonathan Cohn
On Jan 20, 2018, at 6:19 AM, Jitendra Kumar <jeet.invincible@xxxxxxxxx> wrote:
OK, Thank you very much, It helped me a lot, but where can I find the
information for the following code?
like what can we put in brackets and what should be the format.
var object o = doc.selectSingleNode("//node()[@class='" +pclass +"']")
On 1/20/18, Jonathan Cohn <jon.c.cohn@xxxxxxxxx
<mailto:jon.c.cohn@xxxxxxxxx>> wrote:
Hello,
I think I can answer all your questions here:
1. the attributes, values, text and other methods are Microsoft XML methods
that get loaded as part the CreateObject("msxml2.DOMDocument.6.0")
2. SelectNode( Pattern ) method returns a 0 based array matching Pattern.
This Pattern uses XPath syntax, and is documented at:
https://msdn.microsoft.com/en-us/library/ms754523(v=vs.85).aspx
<https://msdn.microsoft.com/en-us/library/ms754523(v=vs.85).aspx> standard
3. I believe you should be able to find the properties and methods used on
this MSDN page:
https://msdn.microsoft.com/en-us/library/system.xml.xmlnode(v=vs.110).aspx
<https://msdn.microsoft.com/en-us/library/system.xml.xmlnode(v=vs.110).aspx>
<https://msdn.microsoft.com/en-us/library/system.xml.xmlnode(v=vs.110).aspx
<https://msdn.microsoft.com/en-us/library/system.xml.xmlnode(v=vs.110).aspx>>
4. To access individual items in the array use either for each notation or
with an index in square brackets. I believe the two examples provided each
show different ways of doing this. If you need the second item it would be
[1].
Best wishes,
Jonathan Cohn
On Jan 17, 2018, at 7:18 AM, Jitendra Kumar <jeet.invincible@xxxxxxxxx>
wrote:
I am sorry, the outlook webmail is not performing well perhaps, so if
I have two elements matching same class, how should I set focus to the
second one?
and where can I find methods like Attribs.get names
On 1/17/18, jitender kumar@5142695 <Jeet.Kumar1@xxxxxxxxx> wrote:
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
//www.freelists.org/list/jawsscripts
--
Skype:
Jeet.delhi
__________�
View the list's information and change your settings at
//www.freelists.org/list/jawsscripts
__________�
View the list's information and change your settings at
//www.freelists.org/list/jawsscripts ;
<//www.freelists.org/list/jawsscripts>
--
Skype:
Jeet.delhi
__________�
View the list's information and change your settings at
//www.freelists.org/list/jawsscripts ;
<//www.freelists.org/list/jawsscripts>