StandaloneContainer container = StandaloneContainer.getInstance();
TRAXTransformerService traxService =
(TRAXTransformerService)container.getComponentInstanceOfType(TRAXTransformerService.class);
assertNotNull("traxService", traxService);
HTMLTransformerService htmlService =
(HTMLTransformerService)container.getComponentInstanceOfType(HTMLTransformerService.class);
assertNotNull("htmlService", htmlService);
htmlTransformer = htmlService.getTransformer();
assertNotNull("get html transformer", htmlTransformer);
// get xsl
InputStream xslInputStream = resourceStream("html-url-rewite.xsl");
assertNotNull("empty xsl", xslInputStream);