Replaced std::pair<bool, *> with the more convenient boost::optional<*>
* InputXSLT is dependent on boost anyway, so there is no argument to be made to emulate boost::optional using std::pair