| Advertise Here |
|
XSL Filter QueryWhere to put the Filter InformationTake a new look at the XML document that you have seen in almost every chapter (or open it with IE5):
To filter the XML file, simply add filter to the select attribute in your for-each element like this: <xsl:for-each select="CATALOG/CD[ARTIST='Bob Dylan']"> Leagal filter operators are:
Now take a look at your slightly adjusted XSL stylesheet (or open it with IE5):
Transforming it on the ClientHere is the simple source code needed transform the XML file to HTML on the client (try it yourself):
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jump to : Top Of Page or HOME |