RE: [xsl] Urgent : Nested List Help

Subject: RE: [xsl] Urgent : Nested List Help
From: "Sefa Sevtekin" <sevtekin@xxxxxxxxxxx>
Date: Fri, 04 Feb 2005 17:06:07 +0000
Hello Pieter,

Thanks for your reply but unfortunately it doesn't help. What I want is the XSL that exactly produces this html output:


-----------------


<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<SCRIPT SRC="links.js" LANGUAGE="javascript" TYPE="text/javascript"></SCRIPT>
</head>
<body>
<ul>
<li>1
<ul>
<li>1.1</li>
<li>1.2
<ul>
<li>1.2.1</li>
<li>1.2.2</li>
</ul>
</li>
</ul>
</li>
<li>2
<ul>
<li>2.1
<ul>
<li>2.1.1</li>
<li>2.1.2</li>
<li>2.1.3</li>
</ul>
</li>
<li>2.2
<ul>
<li>2.2.1</li>
<li>2.2.2</li>
<li>2.2.3</li>
</ul>
</li>
<li>2.3</li>
</ul>
</li>
<li>3</li>
</ul>
</body>
</html>


-------------------------------------------

And here is the XML in case you'd need it;

-----------------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="links.xsl"?>
<links>
  <link name="1">
		<link name="1.1"/>
		<link name="1.2">
			<link name="1.2.1"/>
			<link name="1.2.2"/>
		</link>
  </link>
  <link name="2">
		<link name="2.1">
			<link name="2.1.1"/>
			<link name="2.1.2"/>
			<link name="2.1.3"/>
		</link>
		<link name="2.2">
			<link name="2.2.1"/>
			<link name="2.2.2"/>
			<link name="2.2.3"/>
		</link>
		<link name="2.3"/>
 	</link>
  <link name="3"/>
</links>
-----------------------------------

Thanks in advance for your help,
Sefa

Current Thread