From: Martin Q. <mar...@lo...> - 2007-10-11 15:11:28
|
Hello, I was thinking about implementing a foreach tag able to multiplicate the xml. For example, having the following in the file: <foreach variable=3D"i" values=3D"1 2 3 4"> <plop key=3D"$i" /> </foreach> would be equivalent to having the following: <plop key=3D"1" /> <plop key=3D"2" /> <plop key=3D"3" /> <plop key=3D"4" /> It's somehow close to xsl transformation, but it would be embeeded directly in the XML, not in a separate file. Also, the syntax would be a bit different. I have ideas about how to implement the beast, I was just wondering whether having this in flexml (maybe enabled by a command-line option) was ok for you guys, or if it was too specific to my own needs to be placed in the main tree. Bye, Mt. --=20 Testing can only prove the presence of bugs. --- Dijkstra |