Re: docbook editing ?

Christian Stocker <[email protected]> Fri, 28 May 2004 08:20:14 +0200
Newsgroups gmane.editors.bitflux.devel
Message-ID <[email protected]>
Hi

On 28.5.2004 2:41 Uhr, S=E9bastien Person wrote:
> Hi,
>=20
> I just have found your bitflux editor and I have to said that it is ver=
y
> powerfull. I thought the concept very interesting .
>=20
> I've tried to configure it to edit a simple docbook article. I use some=
 of the
> examples you put in the examples directory (for example the inline one)=
.

Good ;)

> I have found the correspondong relax ng schema to the docbook 4.2
> (http://www.oasis-open.org/docbook/relaxng/1.0b1/) and I have copied th=
em to the
> directory where is the config.xml file.
> I created a link relaxng.xml to docbook.rng. The relaxng.xml was alread=
y
> declared in the config.xml.
>=20
> I changed the inline.xml by a little xml docbook article. the config.xm=
l already
> contained the good declaration.
>=20
> I clean a bit the index.html, and replace the xbe_xpath=3D... by
> xbe_xpath=3D"/article" to get all my article loaded.

sounds all ok. and I just did the same to replicate your problem.

> I didn't touch the css part because it's not the more important for the=
 time,
> but I haven't succeed to load my example (I use firebird and when I cli=
ck
> 'edit' the cpu load raise the max and didn't decrease).

Ok, CSS is really not important here. Second, and more importantly, the=20
docbook schema is huuuuuuge. It took more than 30 seconds on my 1Ghz=20
Powerbook to load. Did you wait that long?

Another important point is, that all RelaxNG document have to have=20
text/xml as Content-Type. IF you load the examples through Apache, then=20
  change in mime.types

text/xml                        xml xsl rng

if you load from the filesystem, you have to rename all Relaxng files=20
and the <include> definitions to ending with .xml

> so my questions are :
>=20
> 1 - did you know if is it possible to use bitflux editor to edit xmldoc=
book
> files ?

I never really really tried. You certainly have to cut down the Schema,=20
otherwise it doesn't look very usable right now. On the other hand, I=20
know that Valentin from Fribourg is working on docbook integration and=20
hopefully will share his results or experiences some day with us ;)

chregu

>=20
> 2 - If is it possible, have U got a simple example ?
>=20
>=20
> thank for your time !
>=20
> regards, sebastien person

--=20
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch  |  [email protected]  |  gnupg-keyid 0x5CE1DECB
--=20
bx-editor-dev mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev