Summary: | support "xslt-param" processing instruction for XSLT parameters | ||
---|---|---|---|
Product: | WebKit | Reporter: | Marcus Better <marcus> |
Component: | XML | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Enhancement | CC: | alex, ap |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
Attachments: |
Description
Marcus Better
2009-12-26 09:34:08 PST
Created attachment 45511 [details]
test document passing parameter via "xslt-param"
Created attachment 45512 [details]
style sheet to go with the test document
The document alerts "Hello" when loaded in Firefox, but shows an empty alert with WebKit (Google Chrome 4.0.266.0 on Linux).
While this is an interesting "feature", I don't see any common standardization of this as a feature. You can accomplish the same task by importing the stylesheet and setting the parameters explicitly in the importing stylesheet. I've attached an example. Created attachment 47234 [details]
Importing stylesheet with parameter value.
Created attachment 47235 [details]
Imported stylesheet
Created attachment 47237 [details]
Example Document using Importing Example
|