"Bo Peng" <[EMAIL PROTECTED]> writes:

| Lars,
| 
| Thank you very much for your quick reply. My understanding is that you
| intent to generate a home-made XML format that is close to our current
| format, and you have mostly finished lyx.XML output, but not input and
| lyx2lyx, and no lyx.XML -> other.XML converter has been done. XML
| input and lyx2lyx is needed to be done before 1.6.0

yes.
 
| While I think your choice of XML syntax is practical, I still have
| some concerns. In the LONG run, what export/convert formats do you
| have in mind?

We do not have to change any of our export code, we don't have to use
the xml format + transformations for this. (Just as the current lyx
format is not involved in export). So currently I have no
export/convert formats in mind.

| This will directly influence our choice of lyx format.

Why?

| For example, if we aim at ODF, we should design a format as close to
| it as possible. Also, the adoption of MathML seems important.

At this point I don't thing we should look too hard on eny other
format out there.

MathML will be nice, but it is not required to make this work. (you
put all math in CDATA instead, not the nicest solution, but it will
work.)

It is not like our format will be static in any way. And lyx2lyx will
be able to more the xml format forward just as it does with the
current format.
 
| Then there are several practical issues, from the development point of view:
| 
| 1. What C++ XML library are you using? Or are your writing XML
| directly? I am asking this because we have required some qt libraries
| in src/support, so it might be nice to use qt/XML.

I have looked at the qt xml stuff, but I really want a validating
parser and it seems that qt does not provide that yet. So far I am
looking at (and intend to use) libxml2.
 
| 2. How to see the fate of lyx2lyx? Do you want to use some XSLT for
| convert from lyx.XML 301 to 302? Or do you want to use python.miniDOM?

This is left as en excerise for Jose. He has said that he will do
this.

| 
| 3. Have you looked at plasTex? Do you think it is possible to replace
| tex2lyx by plasTex + XSLT?
| 
| 4. Have you looked at ODFPY?
| http://www.opendocumentfellowship.org/projects/odfpy. Do you think it
| is feasible to convert lyx.XML to ODF in Python?
| 
| 5. What external tools do you expect to use? It is good if we can do
| everything in Python (and on all platforms). Otherwise, we might have
| some tool portability/availability problem.
| 
| I use XSLT here simply mean some sort of XML -> XML converter.

None of the above has been considered.

XSLT can be XML -> anything.
 
-- 
        Lgb

Reply via email to