[jawsscripts] Re: XML related questions, any help please?

  • From: Jitendra Kumar <jeet.invincible@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Mon, 22 Jan 2018 08:01:54 +0530

No, it is not, I saw them, and they are helping me a lot, and best of
it is that they are opening on my office's intranet also as they are
on microsoft.com domain.
but I perhaps did not understand or was unable to find the XPath
examples, and not very much clear about what we can put in that.
I am trying to find a site that should be on ibm or, adobe or
microsoft domain so I can review it in office as well about XPath.
All else is going well.
Thank you once again, Jitendra.

On 1/21/18, Jonathan Cohn <jon.c.cohn@xxxxxxxxx> wrote:

Because the MSDN documentation for the method in question states that. Did
you attempt to review this sites I included in my message yesterday? I spent
over an hour attempting to find exactly the right sites for you and yet it
appears you have not reviewed them.

              Best wishes,

Jonathan Cohn



On Jan 21, 2018, at 10:18 AM, Jitendra Kumar <jeet.invincible@xxxxxxxxx>
wrote:

But how do you know that xpath can be used in xml.

On 1/21/18, Jonathan Cohn <jon.c.cohn@xxxxxxxxx> wrote:
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>

__________�

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




-- 
Skype:
Jeet.delhi
__________�

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: