XML : How I can write XSL code to list data with condition

I have XML code like this

      <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>    

By My old question, How I can write XSL code in file .xsl to list data with condition rating >=4 ;

No comments:

Post a Comment