OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   WP conversion issues

[ Lists Home | Date Index | Thread Index ]
  • From: Andy Dent <dent@highway1.com.au>
  • To: xml-dev@ic.ac.uk
  • Date: Fri, 4 Sep 1998 13:43:00 +0800

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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS