can anyone help with this: var item = new ShoppingCartItem(); var docId = new item.AttributesXml() ; List values = _productAttributeParser.ParseValues(item.AttributesXml, docId); String docID = String.Empty; if (values.Count > 0) { docID = values.First(); } cell = new PdfPCell(new Phrase(docID)); cell.HorizontalAlignment = Element.ALIGN_CENTER; productsTable.AddCell(cell);