do not support use-attribute-sets in xsl:copy
- Login to post comments
Thu, 01/19/2012 - 21:59
I want to make an infinite large island1. Here's my xsl:
<?xml version="1.0" encoding="iso-8859-1"?> <xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="* | comment()"> <xsl:copy> <xsl:copy-of select="@*" /> <xsl:apply-templates /> </xsl:copy> </xsl:template> <xsl:template match="/scene"> <xsl:copy use-attribute-sets="backgroundcolor minx miny maxy"> <xsl:copy-of select="@*" /> <xsl:apply-templates /> </xsl:copy> </xsl:template> <xsl:template match="/scene/SceneLayer[@name='bg']"> <xsl:copy> <xsl:copy-of select="@*" /> <xsl:attribute name="tilex">true</xsl:attribute> <xsl:apply-templates /> </xsl:copy> </xsl:template> </xsl:transform>
And this is the error details:
Error transforming res/levels/island1/island1.scene.xsl.
Any solutions?
i'm not sure if you can make infinate island...
i think you can extend it though, and their is already a mod...
-_-
Kirdneh: You should be able to, by deleting the numerical limits.
Another Planet finally has an official release! Download chapters 1 through 3 here! Thank you for waiting so long while I kept starting over.
This looks like an .xsl error made by GooTool, correct. I don't know much about .xsl, and Notepad++ doesn't show any syntax errors, but it's possible you just wrote some kind of code that doesn't fit.
Unless you did this already, I recommend using David's XML Diff Tool (see my signature). I always use it for my .xsl files, and it's worked well so far.
@Kirdneh & AP: I think it is possible. I mean, the WoG Corp levels have no boundaries, which is probably the cause of it being infinite in all directions. But then again, it's possible that there's some code in the .exe which prevents any level other than the WoG Corps doing this.
New GooFans Rules | My Addins
No, I tried it once and it worked. I don't think there's any hard code...
Another Planet finally has an official release! Download chapters 1 through 3 here! Thank you for waiting so long while I kept starting over.
The solution was found. Thanks all!
| Things I made | And even more |