If you call `createAttributesString()` prior to the `sprintf` call, you can prefix the string with a space if it's non-empty. This will prevent the need to have a `<fieldset >` declaration.