Re: Linebreaks in non-XHTML-schemata
Patrick Kollitsch <[email protected]> Mon, 11 Oct 2004 16:09:25 +0200
| Newsgroups | gmane.editors.bitflux.general |
|---|---|
| Organization | akademie.de GmbH |
| Message-ID | <[email protected]> |
Hi,
a little update ;)
the namespace has to be defined in the schemafile in the header like this:
xmlns:xhtml="http://www.w3.org/1999/xhtml"
and the element has to be defined like that:
<define name="br">
<element name="xhtml:br">
<empty/>
</element>
</define>
important is the "xhtml:br" as element name. now it works.
(maybe this should go into the wiki)
greetings
patrick
Patrick Kollitsch wrote:
> hi,
>
> how is it possible to implement a soft linebreak via shift-enter in a
> non xhtml-schema?
>
> in bug562 its described with "if XHTMLNS BR is defined in the relaxng,
> shift br will now work". but where and how has it to be defined? we
> tried some kinds of the following:
>
> <define name="br">
> <element name="br" ns="http://www.w3.org/1999/xhtml" >
> <empty/>
> </element>
> </define>
>
> but this did not work. at its best tries there were an very little area
> (1ptx1pt) which did not make a break and was not clickable via right- or
> leftclick. (it even was there where it was set but at the beginning of
> the next line)
>
> how is it possible to include xhtml-namespace-elements in my own schema?
>
> [1] http://bugs.bitfluxeditor.org/cgi-bin/bugzilla/show_bug.cgi?id=562
>
> greetings
> patrick
>
>
--
Patrick Kollitsch - Entwicklung
[email protected] - tel: (030) 616 55-164 fax: -120
akademie.de asp GmbH http://www.akademie.de
--
bx-editor-users mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users