列出的数据我有XML
这样的代码我如何写XSL代码与条件
<hotels>
<hotel>
<name>hotel A</name>
<rating>5</rating>
</hotel>
<hotel>
<name>hotel B</name>
<rating>4</rating>
</hotel>
<hotel>
<name>hotel C</name>
<rating>2</rating>
</hotel>
<hotel>
....
</hotel>
</hotels>
用我的老式question,我怎么能在文件的.xsl写XSL
代码与条件rating
列表数据> = 4;
请张贴自足的问题,包括XML输入,一个完整的样式和预期输出。请参阅:http://stackoverflow.com/help/mcve –
http://stackoverflow.com/help/someone-answers –