Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. XSLT nested list problem [modified]

XSLT nested list problem [modified]

Scheduled Pinned Locked Moved XML / XSL
xmlhelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    PeOpLesChAmP
    wrote on last edited by
    #1

    Hi, I'm new to XSLT and i was hoping someone could point me in the right direction with the problem below... I have the following XML: <list level="1">     <item>1</item>            <list level="2">                  <item>1</item>                  <item>2</item>                  <item>3</item>            </list>      <item>2</item> </list> I would like to extract the nested list and insert it between item 1 and 2 of the parent list: <list level="1">      <item>1</item> </list> <list level="1">      <item>1</item>      <item>2</item>      <item>3</item> </list> <list level="1">      <item>2</item> </list> Any suggestions?

    modified on Wednesday, February 25, 2009 11:14 AM

    L 1 Reply Last reply
    0
    • P PeOpLesChAmP

      Hi, I'm new to XSLT and i was hoping someone could point me in the right direction with the problem below... I have the following XML: <list level="1">     <item>1</item>            <list level="2">                  <item>1</item>                  <item>2</item>                  <item>3</item>            </list>      <item>2</item> </list> I would like to extract the nested list and insert it between item 1 and 2 of the parent list: <list level="1">      <item>1</item> </list> <list level="1">      <item>1</item>      <item>2</item>      <item>3</item> </list> <list level="1">      <item>2</item> </list> Any suggestions?

      modified on Wednesday, February 25, 2009 11:14 AM

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      PeOpLesChAmP wrote:

      Any suggestions?

      Check out www.w3schools.com. They have tutorials tailored for beginners as well as a complete reference.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups