JAXP without source document
I'm trying to do something like the -it parameter from Saxon via JAXP. That is using a stylesheet without a source XML file. The closest I get is to use a dummy source which only contains an empty element and then match on /. Any better ideas?