Join GitHub today
XSL filter transforms the stylesheet's (layout's) content, not the item's #399
When invoked, the XSL filter attempts to transform the stylesheet's own content using the stylesheet and not the item's. This is easy to demonstrate using a stylesheet that merely duplicates its input, i.e.
The result will be the stylesheet itself embedded in the output, not the item's content as you'd expect.
The problem is in
I've fixed this problem and updated the test cases locally and will be submitting a pull request shortly.