OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: XPath question..perhaps naive..

[ Lists Home | Date Index | Thread Index ]
  • From: Mike Sharp <msharp@lante.com>
  • To: Jack Lincoln <jack@ricochet.net>
  • 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@ricochet.net> on 11/16/2000 07:43:28 PM

To:   XML-LIST Copy <xml-dev@lists.xml.org>
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.












 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS