List Info

Thread: OD Parsing issue




OD Parsing issue
user name
2006-03-07 18:00:56
I have a little issue with parsing OD XML.

Here is an example:

<text:p>Paragraph begins<text:span
text:style-name="T1"> and goes
bold</text:span> and then it finally
ends.</text:p>

This is a paragraph with text, then bold text and finally
the end of
the sentence. When editing, I can't really edit only what
is before
the bold part or after, but I can easily access the bold
part. If I
edit the paragraph itself, I have chances to overwrite the
bold
part...

The way I see now is to parse the nodes and use a temporary
"paragraph
chunk" tag to encapsulate "normal" text.

What do you think?

--
Jacques Mony


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking
scripting language
that extends applications into web and mobile media. Attend
the live webcast
and join the prime developer group breaking into this new
coding territory!
http:
//sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$
1720&dat1642
_______________________________________________
Ajaxoffice-devel mailing list
Ajaxoffice-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ajaxof
fice-devel
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )