String name = attrMap.get("name", null);
String example = attrMap.getOptional("example", null);
if (example != null) {
if (example.trim().length() == 0) {
alertSink.add(
new InvalidAttributeValueError(attrMap.getAttribute("example")));
example = "<var>" + name + "</var>";
}
}
if (name != null) {
output.accumulate(new PlaceholderStart(node, null, name, example));