Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help me please to start. I want som

Status
Not open for further replies.

Cagliostro

Programmer
Sep 13, 2000
4,226
GB
Help me please to start. I want some simpliest sample on how does xsl work, some simple xml and some simple xsl which show this xml in the browser.
I have created this ones which not shows nothing in the browser:
<!--xxxxx.xml-->
<?xml version=&quot;1.0&quot; ?>
<?xml-stylesheet href=&quot;xxxxx.xsl&quot; type=&quot;text/xsl&quot; ?>
<!DOCTYPE tb [
<!ELEMENT tb (row*)>
<!ELEMENT row (cell+)>
<!ELEMENT cell (#PCDATA)>
]>
<tb>
<row>
<cell>1.1</cell><cell>1.2</cell>
</row>
<row>
<cell>2.1</cell><cell>2.2</cell>
</row>
</tb>
<!--xxxxx.xsl-->
<xsl>
<rule>
<root/>
<html>
<head>
<title>this is an xml/xsl</title>
</head>
<body>
<children/>
</body>
</html>
</rule>
<rule>
<target-element type=&quot;tb&quot;/>
<table>
<children/>
</table>
</rule>
<rule>
<target-element type=&quot;row&quot;/>
<tr>
<children/>
</tr>
</rule>
<rule>
<target-element type=&quot;cell&quot;/>
<td>
<children/>
</td>
</rule>
</xsl> Ion Filipski
1c.bmp


filipski@excite.com
 
Hei, masters, no one knows XSL? Ion Filipski
1c.bmp


filipski@excite.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top