- From: Michael Rys <mrys@microsoft.com>
- Date: Wed, 4 Jun 2003 13:05:13 -0700
- To: "Ellis Cohen" <e.cohen@acm.org>, <public-qt-comments@w3.org>
$aStuff/*[local-name()=$parts] Michael > -----Original Message----- > From: public-qt-comments-request@w3.org [mailto:public-qt-comments- > request@w3.org] On Behalf Of Ellis Cohen > Sent: Wednesday, June 04, 2003 10:55 AM > To: public-qt-comments@w3.org > Subject: Query use case: dynamically subselecting a sequence of named > elements > > > Suppose the element Stuff were defined as > > <!ELEMENT Stuff (Thing1, Thing2, ...., Thing99)> > > If $aStuff identified a Stuff element node > and $parts contained the sequence ('Thing24', 'Thing27', 'Thing82') > > one would be sorely tempted to write $aStuff/$parts > to get the corresponding sub-elements of the Stuff node > > That wouldn't work, but how easy would it be write the necessary > expression > (preferably in XPath alone) given $aStuff and $parts? > >
Received on Wednesday, 4 June 2003 16:05:28 UTC