WP conversion issues
Andy Dent
dent at highway1.com.au
Fri Sep 4 07:42:15 BST 1998
Possibly not immediately, but within the next few months, our XML output
from the report writer is going to have to do some conversion of embedded
WP formats. (We are currently planning to use the Led cross-platform WP
toolkit).
I've got a fairly good understanding now of how we can make XSL and XML
work from our overall report layout, but I'm unsure of the idioms in
converting the straight WP formatted notes.
BTW something I'd like to see a lot more of are examples of markup decision
making and the reasoning behind them, like the Design Patterns movement in
programming.
Anyway, given a lump of styled text with font changes, bolding etc, there
seem to be several possible ways to map this.
1) the obvious "HTML-style" of defining tags for <B> etc. and applying them
inline, then adding the XSL definitions to match. This has a huge benefit
of giving us HTML conversion in the same hit.
2) some attempt to infer a document model, and defining the stylesheet on
the basis of location (eg: the word "school" within paragraph 1). This
feels very awkward but delivers cleaner text with separate styles.
3) conversion to RTF and encoding as same, on the basis that this will be
parsable by other tools as an embedded format in future.
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list