publishersXml = publishersDocument.asXML();
List publisherNodes = publishersDocument.selectNodes( "publishers/publisher" ); //$NON-NLS-1$
Iterator publisherIterator = publisherNodes.iterator();
while ( publisherIterator.hasNext() ) {
Node publisherNode = (Node) publisherIterator.next();
Assert.assertNotNull( publisherNode.selectSingleNode( "name" ) ); //$NON-NLS-1$
Assert.assertNotNull( publisherNode.selectSingleNode( "description" ) ); //$NON-NLS-1$
Assert.assertNotNull( publisherNode.selectSingleNode( "class" ) ); //$NON-NLS-1$
Assert.assertNotSame( "", publisherNode.selectSingleNode( "class" ).getText() ); //$NON-NLS-1$ //$NON-NLS-2$
String publisherClass = publisherNode.selectSingleNode( "class" ).getText(); //$NON-NLS-1$
Object publisher = PentahoSystem.createObject( publisherClass, null );