[Home] [By Thread] [By Date] [Recent Entries]
Hi,
Zack Brown wrote: On Mon, May 06, 2002 at 01:28:51PM +0200, Tove Nilstun wrote: You do not need an XSLT file for each page. First you have to get the MSWord doc into XML. THere are a few products out there that convert Word to docbook or some other XML. A neat trick we found when building our MSIE-based editor was that you could paste a MSWord doc into an element that has contentEditable="true". IE converts this to HTML. We use JS to convert it to XML on the client, but you could use Tidy to get well-formed HTML (XML). Then hopefully there are clean separations to indicate where a new page should start. Apply-templates (loop) on each page division and (you can) use extension functions built into Saxon or Xalan to create multiple output documents from one source. best, -Rob XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



