Topic: XML file to 'nested' list? (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: |
posted 01-02-2004 06:13
I have an xml file that is something like code: <menu>
code: <xsl:for-each select="menu/menuitem">
|
Paranoid (IV) Inmate From: Rouen, France |
posted 01-03-2004 17:06
First, I must say I don't understand much of your XSL code, so forgive me if I say something idiotic. I was wondering, wouldn't it be easier to create nested lists like this ? code: <ul> |
Bipolar (III) Inmate From: |
posted 01-04-2004 22:37
I tried simply doing the for-each menuitem/menu thing, but it'd only do it for 1 layer. If any menu option had sub-options, it wasnt working. |
Nervous Wreck (II) Inmate From: |
posted 01-15-2004 18:07
Could you post a sample source file and the complete XSLT file? I can see some places where there might be problems but wouldn't know for sure unless I could test it... |