Kathy,
your problem is that you are not using XSLT.
In XSLT one can use keys to achieve efficiency.
Yes, this may be done just using DOM, but I don't believe you are
masochistic.
Please, read a good book on XSLT and XPath -- you need to really go deep
into these matters. The newsgroups provide answers to random questions. They
are not a substitute for a systematic basic introduction into the
subject-matter.
=====
Cheers,
Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL
"Kathy Burke" <ka**********@attbi.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Thanks, Dimitri,
I was also wondering if I'm doing the following in the most efficient
way:
I actually need to get the @doc of the preceding-sibling station for the
selected WI.
First, I get the preceding station:
//Station[@name="Station2"]/preceding-sibling::Station[1]
(create a varStation string = Station1)
then, I get the WI[@doc] to load as mentioned earlier.
//Station[@name='" & varStation &
"']/WI[Boards/Board[@sn="583730"][not(@finish)]]/@doc
Any way to combine these actions??? Just wondering. Thanks.
Kathy
Kathy
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!