For example, I want a list of banners, all will have a name, but not all say a url can I write this
is this valid?
P.S. I do not want to include an empty <url> child to all <banner> since that would be a waste and I do not want to rename the <banner> with <url> to some thing else
Code:
<list> <banner> <name>a.jpg<name> </banner> <banner> <name>a.jpg<name> <url>http://yahoo.com</url> </banner> </list>
P.S. I do not want to include an empty <url> child to all <banner> since that would be a waste and I do not want to rename the <banner> with <url> to some thing else
Comment