Alexandro,

It seems hard to attach a file. To use my previous script please merge the 
broken lines
In particular, the '#' was not a comment but a char inside a string. 
If you are a little familiar with  Python, it won't be hard to find those 
lines

Laurent



"Alexandro Colorado" <[EMAIL PROTECTED]> 
30/03/2007 14:38
Veuillez répondre à
[email protected]


A
[email protected]
cc

Objet
Re: [xml-dev] RE [xml-dev] PyUNO Sax Module





On Fri, 30 Mar 2007 01:40:27 -0600, <[EMAIL PROTECTED]> wrote:

> I do not know what would be the benefits of using the PyUNO module, but 
I
> would be pleased to learn more on this.

I define pyuno as the OOo version of Pyuno, not really the uno module. But
to use OOo's python, has clear advatages such as you dont need to have
python running on your system to run this script. Can be componetize to be
used on any OOo installation (2.x and up). It can also benefit to get a
gui interface or a service interface to work lke a server (similar to
ooconv).

BTW I made a quick and dirty run of the script:
$ /opt/openoffice.org2.2/program/python xml2tr.py file.odt

that gave me an error:
File "xml2tr.py", line 127
self.keywords = '([:
^
SyntaxError: EOL while scanning single-quoted string

Not sure if I should have add paramters (I didnt read the code that much).
Will try it later when I finish sleeping. I just came down for a glass of
water and is the middle of the night here in mexico ;p


--
Alexandro Colorado
OpenOffice.org
Community Contact // Mexico
http://www.openoffice.org

My Website: http://www.alexandrocolorado.com
MyBlog: http://www.alexandrocolorado.com/blog
Jabber: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to