xsl-list
[Top] [All Lists]

RE: Urgent : Nested List Help

2005-02-04 10:06:07
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



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>