AW: lenya bxe problem

"Christoph Hoffmann" <[email protected]> Sat, 15 Jan 2005 10:25:48 +0100
Newsgroups gmane.editors.bitflux.general
Message-ID <8EC4BF020A27D0489FE78F5E5AAF80FF7A93@paula.ENTWICKLER.INTERN.NETZ>
Hi
 
<snip badly quoted stuff />
?? there are actually no quoting conventions ;-) are there ?

I found the problem. The example in lenya (and all examples of BXE based
on some XHTML elements) expect that the XHTML tags are in the XHTML
namespace. You don't define a namespace, therefore they are not display
as you expect it, because BXE treats them as XML elements and not as
XHTML elements. If you don't want to use the XHTML namespace for your
elements within the upper/lower/main tags, you have to write some CSS
for them. See this page:
http://wiki.bitfluxeditor.org/CSS
for some explanation about how to do that.
 
Since I'm pretty new to all of that can you tell me how I can use the xhtml namespace in my schema ? I tried the CSS thing but I didn't really help. Of course I could see my headlines highlighted but I could not really work with the editor. Therefore I would be very thankful if you can tell me more about using namespaces.

The buttons do not work, because the also want to insert a b element in
the xhtml namespace and not only a b, which is not allowed according to
your RelaxNG. You have to adjust the config.xml ( the buttons part) to
change that.
 
I guess I needn't to that if I get that namespace thing running .. right ?

But I strongly recomment using the XHTML namespace, if you want to use
XHTML elements (and having them displayed as such, meaning that b is
displayed bold, etc). It saves you a lot of work.
 
I'm with you ;-) 

chris

-- 
bx-editor-users mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users