Closed
Bug 155640
Opened 23 years ago
Closed 23 years ago
<xsl:processing-instruction> ignored when trying to include stylesheet in result tree
Categories
(Core :: XSLT, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: kelvsyc, Assigned: peterv)
Details
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.2; Mac_PowerPC)
BuildID: 2002052918
Mozilla apparently does not style my result tree with the stylesheet I provide.
For example, if you were to tell the result tree to style it according to a CSS stylesheet
after processing, you would put in the following:
<xsl:processing-instruction name="xml-stylesheet">
type="text/css" href="foo.css"
</xsl:processing-instruction>
However, when using Mozilla's internal XSLT processor, I would expect that that the
stylesheet, as included above, would be applied, when in fact, it is not.
Reproducible: Always
Steps to Reproduce:
1. Include an <xsl:processing-instruction> element in your XSL stylesheet that links to a
CSS stylesheet (or another XSL stylesheet)
2. Use Mozilla to process a document with that stylesheet included.
Actual Results: The stylesheet specified in <xsl:processing-instruction> is not applied.
Expected Results: The stylesheet should have been applied.
Tested in Mac OS X 10.1.5.
works for me. Make sure that if you use a relative url that it resolves
correctly from the *source* xml-file. It is not resolved relative to the stylesheet.
If it still doesn't work then please attach a testcase
resolving as WORKSFORME due to lack of response from reporter
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•