[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XML Elements to XML Attributes
Hello,
I have a very simple question. I have currently the following xsl script (1). But instead of creating elements I would like to create attributes, something like: <entry tag="{$1}" attribute="{$2}" type="{$3}" description="{$4}"/> Where $1-4 are the values coming from the loop at position() respectively 1-4. Coming from a C/C++ world I would have created variables, unfortunately I cannot do that with the loop. I must be missing something trivial to be able to rewrite it correctly in XSL. Thanks
|
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
|