Did you want $selected eq "CTS"?if (($Request->item("Tab")->item() eq "Support") and ($selected + ="CTS"))
Secondly, I think you are choosing a difficult approach to generating XML. Even though XML is text, it really represents a data structure. A much easier way to create XML is to first create the data structure and then have a module like XML::Simple generate the XML for you. XML looks deceptively simple to produce and parse, and yet it has a lot of rules that need to be followed. Any simple-minded approach to generating XML is bound to have problems once you try to make it work for more general situations. It's much better to use a module which knows about all the formatting rules and will always produce correct XML.
In reply to Re: outputting xml
by pc88mxer
in thread outputting xml
by grashoper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |