>From the site map:

        <map:match pattern="LPTitle.jpeg">
                <map:generate type="file" src="lessonplan.xsp" />
                <map:transform type="xslt" src="lessonplantitle.xsl" />
                <map:serialize type="svg2jpeg" />
        </map:match>

lessonplantitle.xsl:

        <?xml version="1.0"?>
        <xsl:stylesheet version="1.0" xmlns="http://www.w3.org/2000/svg"; 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>

                <xsl:template match="/">
                
                        <svg viewBox="0 0 260 75" width="260px" height="75px">
                                <title><xsl:value-of select="/" /></title>
                                <g transform="translate(0,65)">
                                        <text y="0" x="0" font-size="40" fill="black">
                                                <tspan font-weight="bold">
                                                        <xsl:value-of 
select="lessonplan/topic/@title" />: <xsl:value-of 
select="lessonplan/topic/topicstring" />
                                                </tspan>
                                        </text>
                                </g>
                        </svg>
                </xsl:template>

        </xsl:stylesheet>

-----Original Message-----
From: Richard R. McKinley [mailto:[EMAIL PROTECTED]
Sent: 23 September 2003 16:07
To: [EMAIL PROTECTED]
Subject: RE: XSP kills transformation


Please, show off the block that defines this resource in your sitemap.

-----Original Message-----
From: David Merrilees [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 23, 2003 8:46 AM
To: [EMAIL PROTECTED]
Subject: XSP kills transformation

Hi, my name is David, i'm from the UK, i'm developing transformations
within Cocoon for learning resources.

I have a problem when serialising SVG to JPEG when my content is XSP but
It works fine when it's XML. Any bright ideas?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to