XMLUtils.addAttribute(doc, productRdf, "rdf:about",
getBaseUri() + "product?productId=" + productId);
if (configuration != null)
{
MetadataResource metadataResource = productResource
.getMetadataResource();
for (MetadataEntry entry : metadataResource.getMetadataEntries())
{
for (String value : entry.getValues())
{
Element metaElement = configuration.createElement(entry.getKey(),
value, doc);