Hi All
I have an urgent issue where I m transforming an xml structure into html page using
xslt .
since data is more , I need to do Pagination .Also there is an option to do sorting of data on final rendered html page. from client side.
for ex , if I do call to google search API for getting restaurant info for a city in form of xml. Then I need to write an xsl file to transform xml data in html page
with pagination and sorting enabled.
I have an urgent issue where I m transforming an xml structure into html page using
xslt .
since data is more , I need to do Pagination .Also there is an option to do sorting of data on final rendered html page. from client side.
for ex , if I do call to google search API for getting restaurant info for a city in form of xml. Then I need to write an xsl file to transform xml data in html page
with pagination and sorting enabled.
Code:
<restaurents>
<restaurent>
<RestaurantId>1</RestaurantId>
<title>abc</title>
<neighborhood>Secundrabad</neighborhood>
<Address>411 University St,hyderabad</Address>
<reviews>0</reviews>
<Phone>(206) 621-1984</Phone>
</restaurent>
<restaurent>
<RestaurantId>2</RestaurantId>
<title>Capital Grill</title>
<neighborhood>Secundrabad</neighborhood>
<Address>1301 4th Ave,hyderabad</Address>
<reviews>1</reviews>
<Phone>(206) 382-0900</Phone>
</restaurent>
<restaurent>
<RestaurantId>7</RestaurantId>
<title>Dukes Chowder Bar</title>
<neighborhood>Secundrabad</neighborhood>
<Address>1325 4th Ave,hyderabad</Address>
<reviews>1</reviews>
<Phone>(206) 340-8840</Phone>
</restaurent>
<restaurent>
<RestaurantId>8</RestaurantId>
<title>Original Deli</title>
<neighborhood>Secundrabad</neighborhood>
<Address>1215 4th Ave Ste A-B,hyderabad</Address>
<Phone>(206) 622-2271</Phone>
</restaurent>
<restaurent>
<RestaurantId>9</RestaurantId>
<title>Caffe Migliore</title>
<neighborhood>Secundrabad</neighborhood>
<Address>1215 4th Ave Ste 100,hyderabad</Address>
<reviews>2</reviews>
<Phone>(206) 624-9893</Phone>
</restaurent>
</restaurents>
Comment