This set of functions, known as xixml, are meant for use with XML as a pure data format. Stylesheets of any kind aren't directly supported. All function calls are geared towards loading a whole document and only accepting the tags an API user desires.To parse a document, you need to specify hooks for different tags or categories. You may also specify contexts they're to be found in. Finally, you could simply list the tags and contexts allowed, then clean out the undesirables with xml_prune().