Sandro Zic
2002-10-31 17:18:21 UTC
Hi!
I thought about the general concept of the BXE architecture and came up with the following conclusions. Plase consider them as "unbound fresh thinking" which might be wrong, hillarious, stupid, not down to earth, etc. :)
1) native XML vocabulary
Thinking of BXE as a XML WISIWYG editor made me think about parallels between BXE and OpenOffice. Considering the OpenOffice XML vocabulary, this office suit is also a XML WISIWYG editor.
Why does BXE not clone the concept of OpenOffice? This means, why does BXE try to support different XML input vocabularies internally instead of defining and working only with it's own internal XML, just like OpenOffice does with OpenOfficeXML? Shouldn't BXE support its own XML only, so that developers now, they have to translate other XML vocabularies (e.g. OpenOffice XML) to BXE XML if they want to use BXE to edit the XML document?
2) XSLT templates
Having said the above, it would be consequent to provide a default XSLT template for the BXE XML vocabulary - simmilar to the use of XSLT in OpenOffice as the formatting engine. The XSLT would transform the BXE XML to HTML displayed in Mozilla. This way, XML nodes do not have to be presented in in the same sequence as they occure in the DOM representation - would be useful e.g. for footnotes stored somewhere in the middle of the XML, but displayed at the bottom of the HTML page.
3) CSS
CSS would be used to format the HTML created by the XSLT stylesheet.
To sum up, BXE would do the following:
a) get the BXE XML document the user provided
b) transform the BXE XML document to HTML with the XSLT
c) format the HTML with CSS
Does that make sense? Is it useful? Should/can it be done?
Sandro
________________________________________________________________
Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr!
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13
I thought about the general concept of the BXE architecture and came up with the following conclusions. Plase consider them as "unbound fresh thinking" which might be wrong, hillarious, stupid, not down to earth, etc. :)
1) native XML vocabulary
Thinking of BXE as a XML WISIWYG editor made me think about parallels between BXE and OpenOffice. Considering the OpenOffice XML vocabulary, this office suit is also a XML WISIWYG editor.
Why does BXE not clone the concept of OpenOffice? This means, why does BXE try to support different XML input vocabularies internally instead of defining and working only with it's own internal XML, just like OpenOffice does with OpenOfficeXML? Shouldn't BXE support its own XML only, so that developers now, they have to translate other XML vocabularies (e.g. OpenOffice XML) to BXE XML if they want to use BXE to edit the XML document?
2) XSLT templates
Having said the above, it would be consequent to provide a default XSLT template for the BXE XML vocabulary - simmilar to the use of XSLT in OpenOffice as the formatting engine. The XSLT would transform the BXE XML to HTML displayed in Mozilla. This way, XML nodes do not have to be presented in in the same sequence as they occure in the DOM representation - would be useful e.g. for footnotes stored somewhere in the middle of the XML, but displayed at the bottom of the HTML page.
3) CSS
CSS would be used to format the HTML created by the XSLT stylesheet.
To sum up, BXE would do the following:
a) get the BXE XML document the user provided
b) transform the BXE XML document to HTML with the XSLT
c) format the HTML with CSS
Does that make sense? Is it useful? Should/can it be done?
Sandro
________________________________________________________________
Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr!
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13
--
bx-editor-dev mailing list
bx-editor-***@lists.bitflux.ch
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev
bx-editor-dev mailing list
bx-editor-***@lists.bitflux.ch
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev