|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Populating a treeview from XML using XSLT
Hi,
I need to fill a treeview from dynamically generated XML. I'm using XSLT to transform the XML. What solution is best fitted to that issue? Does anyone have sample code that I can be reffered to? Thank you very much |
|
#2
|
||||
|
||||
|
Just by saying that you are populating a treeview isn't giving us much info to work on. If you could be a little bit more specific on what you are doing and maybe show us little codesample of your XML with explanations on where you wanna go from there...
-Miska- ![]() |
|
#3
|
|||
|
|||
|
First of all thanks for the prompt reply.
I don't have any code snippets because this is the first step I take in this project. The idea is to take a XML file that has lots of "folders", "sub-folders" and "items". This XML file is created from a SQL server. A general example of this XML's structure is: <folders> <folder> <FolderID>blah blah blah</FolderID> <FolderName>blah blah blah</FolderName> <Folders> <Folder> <FolderID>blah blah blah</FolderID> <FolderName>blah blah blah</FolderName> <Items> <Item></Item> <Item></Item> </Items> </Folder> </Folders> </Folder> </Folders> I need to "translate" it to a treeview displayed on the web, using XSLT. These are requirements I must comply with. Another "beauty" is that I need this treeview to be Right-To-Left, but thats another problem... (I see the indentation doesn't work here so sorry for that...) Thanks |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > Populating a treeview from XML using XSLT |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|