}
if (formatAtt != null) {
format = makeAttributeValueTemplate(formatAtt);
if (format instanceof StringLiteral) {
formatter = new NumberFormatter();
formatter.prepare(((StringLiteral)format).getStringValue());
}
// else we'll need to allocate the formatter at run-time
} else {
formatter = new NumberFormatter();
formatter.prepare("1");
}
if (gsepAtt!=null && gsizeAtt!=null) {
// the spec says that if only one is specified, it is ignored