[Home] [By Thread] [By Date] [Recent Entries]

  • From: Mike Sharp <msharp@l...>
  • To: Jack Lincoln <jack@r...>
  • Date: Thu, 16 Nov 2000 21:55:23 -0800



Try this:   "//*[myTagName]"

There's an XPath tester on the MSDN site, which is pretty handy for testing
these things.  Look at:

http://msdn.microsoft.com/xml/samples/authors/author-patterns.htm


Regards,

Mike Sharp

Lante Corporation




Jack Lincoln <jack@r...> on 11/16/2000 07:43:28 PM

To:   XML-LIST Copy <xml-dev@l...>
cc:    (bcc: Mike Sharp/Lante)

Subject:  XPath question..perhaps naive..




Hey there..

I'm building a sort of trigger/propagation mechanism for an in-memory DOM..
and along the way have a perhaps naive XPath question..

is there an XPath that would select all parent nodes having a certain
tagname?
sort of the reverse of ".//myTagName"

if this is not the appropriate forum for a question such as this..
sorry.. but please tell me where a more appropriate forum could be found.

thanks,
jack


Jack Lincoln
mPower Advisors L.L.C.









Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member