org.jdom.input.SAXBuilder is a very useful class and is used to convert jdom to dom and vice versa in the example below:

Java Code:
     SAXBuilder builder = new SAXBuilder();
    org.jdom.Document doc = builder.build( "drainpipe.xml" );

    // converts JDOM to W3C DOM
    DOMOutputter domOutputter = new DOMOutputter();
    // converts W3C DOM to JDOM
    DOMBuilder domBuilder = new DOMBuilder();

    org.w3c.dom.Document w3cDoc = domOutputter.output( doc );
    doc = domBuilder.build( w3cDoc );

    org.jdom.Element jdomRoot = doc.getRootElement();
    org.w3c.dom.Element domRoot = domOutputter.output( jdomRoot );
    jdomRoot = domBuilder.build( domRoot );

    System.out.println( jdomRoot );
    System.out.println( domRoot );

    org.jdom.Attribute jdomAttr = jdomRoot.getAttribute( "type" );
    org.w3c.dom.Attr domAttr = domOutputter.output( jdomAttr );

    System.out.println( jdomAttr.getValue() );
    System.out.println( domAttr.getValue() );