diff --git a/minidom/src/lib.rs b/minidom/src/lib.rs
index beea39a..5717ada 100644
--- a/minidom/src/lib.rs
+++ b/minidom/src/lib.rs
@@ -96,4 +96,4 @@ pub use error::{Error, Result};
pub use namespaces::NSChoice;
pub use node::Node;
pub use token::Token;
-pub use tokenizer::{Tokenizer, TokenizerError};
+pub use tokenizer::{Tokenizer, TokenizerError, tokenize};
diff --git a/minidom/src/tokenizer.rs b/minidom/src/tokenizer.rs
index e0f13d1..7f3be48 100644
--- a/minidom/src/tokenizer.rs
+++ b/minidom/src/tokenizer.rs
@@ -33,34 +33,44 @@ impl Tokenizer {
/// Parse the next document fragment
pub fn pull(&mut self) -> Result