Thus the XML output from the union of data.xml and A.xsl file will have this processing instruction at the root,
<?xml-stylesheet type="text/xsl" href="B.xsl"?>
I thought this would instruct the browser to apply style sheet B.xsl to the XML output from the union of data.xml and A.xsl, but none of the browsers do so.
Is this supported?
Basically my requirement is sorting based on a field whose value is obtained from math calculations and looking up other xml files. Since it is not possible to xsl sort using lookup values, I had to keep two xsl files, one to generate the required data and another to sort former's output. Is there a better approach?