Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
XML
Defaulting empty attributes to nbsp
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Jyrki Keisala, post: 779502"] I have an XML file which looks like this: <command name="Options" phrase="Options"> <key value="z" extended="NONE" qual="L-CTRL" pause="100" repeat="1" duration="200"/> </command> <command name="Command Room" phrase="Command Room"> <key extended="F2" pause="100" repeat="1" duration="200"/> </command> <command name="Attack Periscope" phrase="Attack Periscope"> <key extended="F3" pause="100" repeat="1" duration="200"/> </command> So, for each "key" element, there does not necessarily exist all attributes (for example, for some, the attribute @value is missing). I want to express this as a HTML table, so that for the missing attributes, an empty cell is created. Any ideas, anyone? [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
XML
Defaulting empty attributes to nbsp
Top