[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] WP conversion issues
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@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|