Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create recursive template 1

Status
Not open for further replies.

CulpritCZ

IS-IT--Management
Oct 31, 2002
4
CZ
Hi,
could someone show me how can I create recursive template with parameter?
I would like in this template use all of data stored in XML file.
 
You should take a look at the microsoft generic XSL sheet that parses non-linked XML files for IE. It recursively generates the entire file.

You can download a zip file from this 4GuysFromRolla example that has a commented version of the XSL in it:

The file you want is the debugmode.xsl file. There is a lot of information in it, since they have to deal with every possible legal XML entity, but you will notice that they are primarilly recursing down into the elements in the document to build the nifty treeview.

-Tarwn --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
For my next trick I will pull a hat out of a rabbit (if you think thats bad you should see how the pigeon feels...) :p
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top