[CREATE] OpenRaster and filters
Liam R E Quin
liam at holoweb.net
Mon Jun 16 21:57:06 PDT 2008
On Mon, 2008-06-16 at 23:59 +0200, Cyrille Berger wrote:
> On Wednesday 11 June 2008, Cyrille Berger wrote:
> > 1) <filter name="standard:blur" type="standard:gaussianblur">
> > <params>
> > <param name="radius">10</param>
> > </params>
> > </filter>
one more note on this -- it uses "qnames in content" -- a difficulty
with this is that namespace prefix ("standard") are not significant
themselves, but only serve to connect a name with a URI. So an
XSL transform could rewrite
<openraster xmlns:standard="http://www.example.org/or/1.0">
<filter name="standard:blur"...
to
<openraster xmlns:ns1="http://www.example.org/or/1.0">
<filter name="standard:blur"...
I.e. it would change element names, but would not know about
the "standard" in the name attribute.
In XSLT 2 it's possible to declare the name to be a qname, and then
the XSLT implementation will change it there too, to ns1:blur or
whatever.
Using <standard:blur> ... avoids this.
Liam
--
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org
More information about the CREATE
mailing list