Re: SVG Won't Scroll in Firefox 3.0.10

HelderMagalhaes <[email protected]> Mon, 10 Aug 2009 08:28:42 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.svg
Organization http://groups.google.com
Message-ID <[email protected]>
Hi oliver,


> I try tu use:
>         <xsl:template match="svg:svg/@viewBox">
>                 <xsl:attribute name="xmlns" >
>                         <xsl:value-of select="'http://www.w3.org/2000/svg'"/>
>                 </xsl:attribute>
>         </xsl:template>
> But didn't allow me to use xmlns as attribute name, any ideas?

It seems like you are trying to add an attribute ("xmlns") to an
attribute ("viewBox")? That doesn't make much sense... ;-p

I'd suggest you get more familiar with XML [1] and XSLT [2]. Of course
this could be caused by an accidental distraction. :-)


Hope this helps,
 Helder


[1] http://www.w3schools.com/xml/
[2] http://www.w3schools.com/xsl/