[Home] [By Thread] [By Date] [Recent Entries]
My experience with WordML is that:
a) The wx:sect elements are used to separate physical sections in the document, eg. changing the number of columns or changing the page orientation. They are not helpful (in fact, they're disruptive) when trying to build the logical structure of the document, b) the wx:sub-section elements are unreliable. It seems that Word tries to guess where the logical sections start and often gets it wrong. For reliability I do two things: (i) flatten the structure, eliminating all wx:sect and wx:sub-section elements and (ii) group sections based on the styles of the paragraphs. Of course, this relies on the author using styles correctly (an authoring problem, rather than a technical problem). Cheers, Steve Ball --- Steve Ball | XSLT Standard Library | Training & Seminars Explain | Web Tcl Complete | XML XSL Schemas http://www.explain.com.au/ | TclXML TclDOM | Tcl, Web Development Steve.Ball@xxxxxxxxxxxxxx +--------------------------- +--------------------- Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099 On 07/12/2005, at 5:39 AM, JBryant@xxxxxxxxx wrote: Are you getting the WordML document from Word or from some other process? If someone is saving Word documents as WordML that you must then process, you should be getting wx:sect and wx:sub-section elements, which you can use for grouping. The wx:sect and wx:sub-section elements enable grouping because Word inserts them at each level of heading (rather than with each and every heading), something like this:
|

Cart



