stanzaBuilder.addAttribute(NamespaceURIs.XML, "lang", lang);
stanzaBuilder.startInnerElement("event", NamespaceURIs.XEP0060_PUBSUB_EVENT);
stanzaBuilder.startInnerElement("items", NamespaceURIs.XEP0060_PUBSUB_EVENT);
stanzaBuilder.addAttribute("node", nodeName);
stanzaBuilder.addPreparedElement(item);
stanzaBuilder.endInnerElement(); // items
stanzaBuilder.endInnerElement(); // event
return stanzaBuilder.build();
}
}