attributes.getGenericAttributes();
genericAttributes.setAttributeValue(null, "class", captionClass);
stylingEngine.startElement(namespace, "xfoption",
(Attributes) genericAttributes);
pattributes.setCaptionStyles(stylingEngine.getStyles());
stylingEngine.endElement(namespace, "xfoption");
}
// Set the selected attribute
String selected = attributes.getSelected();
if (selected != null) {