I am learning xslt, but don't know the best scenarios for use xml + xsl.
+3
A:
The best scenario to use XSLT is when you need to display XML data in different formats.
I.E., when you have an XML with products, and you need to output them in HTML, TXT, XHTML, WML, you can use XSLT transformations to do that.
The best part of XSLT transformations is that you can do SERVER SIDE transformations, if your client (browser) does not support XSLT natively (like some Mobile Browsers).
Pablo Santa Cruz
2010-07-14 14:01:01
I have an other scenario,when i need so save interface version in database example for a document manager web software.
2010-07-14 14:13:01
@haroldis-nio Good comment
Haroldis
2010-07-20 08:29:35
+1
A:
In addition to Pablo Santa Cruz' answer, the other common case where you'd want to use XSLT is to manipulate an XML file and get new XML code. For instance, you might use XSLT to change some settings in your web.config before deploying an ASP.NET project.
Adrian Grigore
2010-07-14 14:03:51