         
         XCTAssert(parser["article"][0]["title"].stringValue == "My first article")
         XCTAssert(parser["article"][1]["title"].stringValue == "Another article")
+        XCTAssert(parser["article"][2] is CXMLNullTag)
         
         XCTAssert(parser["article", 0]["title"].stringValue == "My first article")
         XCTAssert(parser["article", 1]["title"].stringValue == "Another article")
+        XCTAssert(parser["article", 2] is CXMLNullTag)
+        
+        for article in parser.rootElement.elementsNamed("article") {
+            XCTAssert(article["title"].string != nil)
+        }
         
         XCTAssert(parser.rootElement.count == 1)
         XCTAssert(parser["article"].count == 2)

        XCTAssert(parser.rootElement.attribute("version").doubleValue == 1.0)
        XCTAssert(parser.rootElement.attribute("version").floatValue == 1.0)
        XCTAssert(parser.rootElement.attribute("creator").stringValue == "lobodart")
        XCTAssert(parser.rootElement.attribute("creatorr") is CXMLNullAttribute)
    }
}

        XCTAssert(article["date"].dateValue("yyyy-MM-dd HH:mm:ss") is Date)
        XCTAssert(article["title"].exists == true)
        
        XCTAssert(article["foo"].string == nil)
        XCTAssert(article["bar"].int == nil)
        XCTAssert(article["john"].float == nil)
