This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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@ntlworld.com
work: Michael.Kay@softwareag.com


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]