} else if (inWidgetElement) {
xmlCompiler.startElement(namespaceURI, localName, qName, attributes);
} else if (namespaceURI.equals(Constants.WT_NS)) {
if (localName.equals("widget-label")) {
Widget widget = getWidget(attributes);
widget.generateLabel(contentHandler);
} else if (localName.equals("repeater-widget-label")) {
Widget widget = getWidget(attributes);
if (!(widget instanceof Repeater))
throw new SAXException("WoodyTemplateTransformer: the element \"repeater-widget-label\" can only be used for repeater widgets.");
String widgetId = attributes.getValue("widget-id");