Originally posted by Daniel Walker:
However, the code above does not work - the default rule is invoked each time.
It worked for me with Xalan and even IE 5.0. on
test file:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="bool.xsl"?>
<PUBLICATIONS>
<CCI_RECORD>
<Type>Article</Type>
</CCI_RECORD>
<CCI_RECORD>
<Type>inBook</Type>
</CCI_RECORD>
<CCI_RECORD>
<Type>inProceedings</Type>
</CCI_RECORD>
</PUBLICATIONS>
The output:
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>CCI Publications</title>
</head>
<body>
<P>This is an article...</P>
<P>This is an inBook...</P>
<P>This is an inProceedings...</P>
</body>
</html>
Which processor do you use anyway?