Hi Robert,
I've had some similar issues. When my XML editor (or HTML editor) requires the source to be well-formed, I just use the first case you suggestion.
The other alternative is to use a macro to abstract out the entire input block. It's not well-formed XML, but it's more easily parseable.
#input ($isChecked)
Great idea, thanks! (I should have thought of that :)
So, I can just make macros for checkboxes, radio buttons and select options. Works for me, something like:
#checkbox ($name, $id, $value, $isChecked)
you guys have thought of everything :)
thanks, -Rob
You could put this in XML comments I suppose
<!-- #input ($isChecked) -->
and have the macro stop and start the comments
#macro (input $condition) --> <input ... #if($condition)checked="checked"#end/> <!-- #end
WILL
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]