How to transform an XML into XHTML?
Answer / Rajnish Kumar Mahiwal
To transform an XML into XHTML, you can use an XSLT stylesheet that maps the XML elements and attributes to their corresponding XHTML equivalents. Here's a simple example:nn<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">n<xsl:template match="/">n <html>n <body>n <h1><xsl:value-of select="title"/></h1>n <!-- Other XHTML elements and attributes go here -->n </body>n</xsl:template>n</xsl:stylesheet>
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the limitations of dtd?
What is SOAP and how does it related to XML?
What is an xml file for video?
Does youtube have an rss feed?
What is a xpath query?
Explain about xml signature?
Which XML is set to be valid XML?
What are the parts in which template gets defined?
What is parsing and how do I do it in xml?
What is DOM and SOAP?
Can you open xml in excel?
What is the version information in xml?