|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: general purpose filter stylesheet
> you wrote: > [I don't know what the intended semantics of your expression > are. Perhaps > it's equivalent to the XPath expression > > ((//author='Date' or //title='Database Systems') and //number='1') > > in which case doing the translation into XPath might not be > too difficult.] > > That right that thios would not be to hard, BUT what would > XSLT return. > I could only specify one node type in my match attribute: a > parent of number > which is issue. > > But then I would get the whole issue subtree with ALL > articles, EVEN those > whose author is NOT 'Date' and the title is NOT 'Database > Systems'. But I > want my query ONLY to return this part of my XML that make > sense to the query. Precisely. Defining the syntax and semantics of a new query language is not easy, so I suggest you use the one we've already got, namely XPath. Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








