Hi
> My guess would be you apply an extra XSLT to the stuff you want to send
> to the browser...
>
> This XSLT would have to do the following:
> change <xmlnode>...</xmlnode>
> into <div class="xmlnode">...</div>
>
> You would then need to translate all CSS also:
> from: xmlnode { ...}
> into: .xmlnode {... }
> and probably add a little 'display:inline;' kind of stuff here and
> there.
quite close :) i didn't use xslt, but regular dom stuff, but it could be
done with xslt as well. and instead of div i use span, 'cause this gets
closer to what mozilla does with unknown xml-nodes.
> It might work. But would be another translation you would have to undo
> before sending back to the xml. But then... again... it might work.
i can live with the additional translation :) it doesnt happen that often
(at startup and save), therefore the overhead isn't that grave.
I tested it on my "powerpoint-replacement" (by the way this was just a
half day work in shattuck, without the great intention to make it a
product or something similar :) ) and if i have finished it up, i will
publish it on bitflux.ch/slideml for your inspection.
so long
chregu
--
bx-editor-dev mailing list
bx-editor-dev@xxxxxxxxxxxxxxxx
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev
|