qexo-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qexo-general] Syntax question, probably a silly one


From: Carol Romanowski
Subject: [Qexo-general] Syntax question, probably a silly one
Date: Tue, 01 Jul 2003 10:50:33 -0400
User-agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01

I have a query as follows:

for $e in document("doc.xml")//PS
let $i := "KB"
where $e//item = $i
return
<product>
  {$e/@name}
  {$e/@URL}
</product>

The element "item" has an attribute called "strength" that I would like to display in the results, but only for items that match "KB". How do I write the statement to get the proper output?

Thanks


Carol Romanowski






reply via email to

[Prev in Thread] Current Thread [Next in Thread]