Hi Roxlu,

> I tried to compile this line:
> <font id="fontDeliciousRoman" import="assets/Delicious-Roman.ttf" glyphs="<"/>
>
> Which gives me:
>
> portfolio_slider.xml:16: parser error : Couldn't find end of Start Tag font 
> line 16
>
> Does someone knows about this?

Yes. In an XML document if you want to input one of the big 5
characters (<,>,&,",') in an attribute or text node you need to encode
it to its entity. So instead of < use &lt;

<font id="fontDeliciousRoman" import="assets/Delicious-Roman.ttf"
glyphs="&lt;"/>

Enjoy!

Steve

PS. You can't use a CDATA section in an attribute value.

-- 
Steve Webster
http://dynamicflash.com

_______________________________________________
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Reply via email to