Monday, 8 December 2014

What would be the best way to allow users to edit a page?



Lets say I've this XML:



<rating> 10/10 </rating>


And I am displaying it like this:



<p>Rating: <xsl:apply-templates select="//review[@id='3']//rating"/></p>


Note: The XML file is stored in a database (if it matters?). I want to allow the user to be able to change the review from 10/10 to anything between 1-10/10. What would be the best way to achieve this?


No comments:

Post a Comment