On Fri, 28 Dec 2001, [EMAIL PROTECTED] wrote: > Hi, > > Can I tell AxKit to use a different Content-Type header > when my XSP is executed ?
Yes, you can use AxKit::XSP::WebUtils with: <web:header name="Content-Type" value="application/x-swf-flash"/> Or whatever the content type is supposed to be. However I wouldn't recommend that approach... > I want to convert certain XML files to dynamically generated > flash movies. How does AxKit work with binary data output ? > Am I on the right track ? What would the best approach be ? THe best approach would be to write a new Language module for a specific XML dialect to convert it to flash. Then set the content type in the language module. This is how AxPoint works, and it leaves the possibility open to alternately transform my slideshows into HTML if I want to do that in the future. See the source code for AxPoint - it will give you the best starting point. Although it uses XML::XPath, and I'd re-write it using XML::LibXML if I had the energy. -- <!-- Matt --> <:->Get a smart net</:-> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
