XSLT "effects" extensions don't work (not implemented?)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Version 0.46 is reported to have working XSLT input, output and effects extensions (yay!)
For example, here: http://
But I tried to write a simple "effect" extension tonight, using the aisvg.xslt input filter as a template, but I could not get the most recent dev build of 0.46 to recognize it at all.
The symptom is no menu item "Test" shows up under Effects:Text where it should. Inkscape logs no messages about this in extension-
The build I used is: "Inkscape 0.46dev+devel, built Dec 18 2007" on Windows XP.
Upon further inspection, it appears that only the Inkscape:
Details of my attempted test extension below:
Here's my test.inx file (located in my share\extensions dir):
<inkscape-
<_name>
<id>
<effect>
<object-
</effect>
<xslt>
<file reldir=
</xslt>
</inkscape-
And here's my XSLT script also located in share\extensions (This _should_ change the text of all svg:text elements to "Wow!" replacing whatever they were before).
<?xml version="1.0"?>
<xsl:stylesheet xml:space="default" version="1.0"
xmlns:xsl="http://
xmlns="http://
xmlns:svg="http://
xmlns:xlink="http://
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/">
<xsl:
</xsl:template>
<xsl:template match="*">
<xsl:copy>
<xsl:
</xsl:copy>
</xsl:template>
<xsl:template match="@*">
<xsl:copy/>
</xsl:template>
<xsl:template match="svg:text">
<svg:text>
<xsl:
Wow!
</svg:text>
</xsl:template>
</xsl:stylesheet>
tags: | added: extensions-plugins |
Changed in inkscape: | |
assignee: | Ted Gould (ted) → nobody |
Hello Vaughn,
thank you for your test of this prereleased version of inkscape. Your test script could be useful for the developer, who implements the XSLT extentions. Since 0.46 is not yet released we have some time to put your requested features in.
I have put this on the wishlist for a dveloper to pick it up.
Please test newer versions and put your feedback in here.