document.writeElement("path", false);
document.writeAttributeStart("points");
Coordinate[] coordinates = new Coordinate[2];
coordinates[0] = new Coordinate(1.23456789, 9.87654321);
coordinates[1] = new Coordinate(9.876, 1.234);
document.writePathContent(coordinates);
document.writeAttributeEnd();
document.closeElement();
Assert.assertEquals("<path points=\"M1.23457 9.87654l8.64143 -8.64254 \"/>", writer.getBuffer().toString());
}