Can I pass a variable to an XSLT
Can I pass a variable to an XSLT, without having to dynamically create the transformer.
You see I have a java class that takes the path to an xml document, path to the xslt, and returns the resultant string:
String result = xmlTransformer.transform( "menu.xml","menu.xsl")
But there are a few cases where I would love to have all the information in a single xml document, and a single xslt, so I could have something like:
String result = xmlTransformer.transform( "menu.xml","menu.xsl?entries=5" )
or something like that. the idea is that I can get away with having to have an excessive amount of xslt files.