So when I try to generate XML within AS like so:

_captionXML = <tt xml:lang="en"
xmlns="http://www.w3.org/2006/04/ttaf1";
xmlns:tts="http://www.w3.org/2006/04/ttaf1#styling";><head><styling></styling></head><body><div
xml:lang="en"></div></body></tt>;

What I end up with is:

<tt aaa:lang="en" xmlns="http://www.w3.org/2006/04/ttaf1";
xmlns:tts="http://www.w3.org/2006/04/ttaf1#styling";
xmlns:aaa="http://www.w3.org/XML/1998/namespace";>
  <head>
    <styling/>
  </head>
  <body>
    <div aaa:lang="en"/>
  </body>
</tt>


Is there a better way to do this? I need the XML to look like that for
video captioning, so I cant really remove the xml:lang, xmlns:tts etc.

thx,

.m
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to