ser.newLine();
Iterator s = styleResources();
while (s.hasNext()) {
ResourceRef sr = (ResourceRef) s.next();
String href = resource.makeReference(sr.getResourceName(), null);
SMapImpl attr = new SMapImpl();
attr.put(null, "rel", "stylesheet");
attr.put(null, "type", "text/css");
attr.put(null, "href", href);
ser.startElement(xhtmlns, "link", attr, false);
ser.endElement(xhtmlns, "link");
ser.newLine();
}
ser.endElement(xhtmlns, "head");