Hi
Anything wrong with the following query?
Whenever I execute it against the attached
XML instance, Stylus crashes? Any help would
be appreciated. I would like to show xquery
to my attendees during the two day xslt
workshop (december 3+4).
<html>
<head>
<title>a simple XQuery example</title>
</head>
<body>
<table border="1">
<tr>
<th>Location</th>
</tr>
{
for $conf in document("ex05_s.xml")/itevents/Conference
return
<tr>
<td>{string($conf/Location)}</td>
</tr>
}
</table>
</body>
</html>
simple.xquery
query
Struzzo(132).log
Stylus Log
ex05_s.xml
Instance for querying
ex05_s.dtd
dtd