String description = null;
/* Interpret Attributes */
List< ? > attributes = outline.getAttributes();
for (Iterator< ? > iter = attributes.iterator(); iter.hasNext();) {
Attribute attribute = (Attribute) iter.next();
String name = attribute.getName();
/* Link */
if (name.toLowerCase().equals("xmlurl")) //$NON-NLS-1$
link = attribute.getValue();
/* Title */
else if (name.toLowerCase().equals("title")) //$NON-NLS-1$
title = attribute.getValue();
/* Text */
else if (title == null && name.toLowerCase().equals("text")) //$NON-NLS-1$
title = attribute.getValue();
/* Homepage */
else if (name.toLowerCase().equals("htmlurl")) //$NON-NLS-1$
homepage = attribute.getValue();
/* Description */
else if (name.toLowerCase().equals("description")) //$NON-NLS-1$
description = attribute.getValue();
}
/* Outline is a Category */
if (link == null && title != null) {
type = Owl.getModelFactory().createFolder(null, (IFolder) parent, title);