Updated: Friday, September 01,2023-09-01 12:58:38

main
shwetha729 2023-09-01 12:58:44 -04:00
parent 1928538d2d
commit cbecc312b4
1 changed files with 26 additions and 2 deletions

View File

@ -48,7 +48,31 @@ XSL - eXtensible Stylesheet Language
XSLT - XSL Transformations
- transforms XML documents into other formats like HTML
```xml
<?xml-stylesheet type = "text/xsl" href = "student".xml?>
<class>
<student>
<firstname> Graham </firstname>
```
<xsl:stylehseet verion = "1.0">
smins:xml = "http://www.w1.org/"
```xsl
<xsl:stylehseet verion = "1.0"
xmins:xml = "http://www.w1.org/1999/XML/tranform">
<xml.template match = "/class">
<html>
<body>
<h2> Student List < /h2>
<table>
<tr>
<tr> First Name </tr>
<tr> Last Nam </tr>
<tr> Nick Name </tr>
</tr>
</body>
</html>
<xml:template>
</xsl:stylesheet>
```