Hi, the solution to my problem would be easy if I could change the source-tree (mainly adding attributes to child-items) but I already read that this is more or less impossible due to the fact that it might cause infinite-loops. Or am I wrong here? I have the following problem: <foo> <example_bar> ... </example_bar> </foo> foo triggers a template which splits a string into one or more pieces. example_bar is the element which describes on how to output one of them. Though I only know at runtime how many pieces there are. My first thought was to make the foo template add as many example_bar elements as the foo template produced pieces. Then I'd add an attribute to each one of them and supply it with the piece of text. As each one of the example_bar elements is processed it could take the text from the attribute and put it into the result tree in which ever way needed. How could this be accomplished? Thanks in advance Manuel Baehnisch
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format