Re: [xsl] From XML to Windows clipboard as styled data to be pasted into a MS-Word document

Subject: Re: [xsl] From XML to Windows clipboard as styled data to be pasted into a MS-Word document
From: "Kevin Brown kevin.brown@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 24 Jan 2019 07:29:58 -0000
Have done it backwards b& meaning RenderXbs VisualXSL comes with a custom
Word Plug-in to copy content in the Word document (which can be captured as
WordML) and then transforms it into the format that VisualXSL supports. The
Word code places our own clipboard format (which is simply XML) and you can
paste in VisualXSL.



I would imagine that the process can be inverted of course but never thought
of it.



From: Larry Hayashi lhtrees@xxxxxxxxx
[mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx]
Sent: Wednesday, January 23, 2019 10:58 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] From XML to Windows clipboard as styled data to be pasted into
a MS-Word document



I am wondering if anyone has any experience in transforming an XML document
into a format that could be pasted from the Windows clipboard into a Word
document. The Word document will have a particular doc template with named
styles and the transformed data will need to utilize those styles (set in a
preferences interface in a custom application). I want to use XSL on the XML
source and I suspect that I need to generate Rich Text Format, but maybe there
is a less verbose format than RTF, perhaps some XML doc format for pasting
styled/formatted text into Word??



The scenario would be something like this:



Linguistic application has interlinear text with sentences. User selects and
copies one interlinear text sentence. On copy, the application uses an
internal XML version of the selected text which would be transformed into RTF
or equivalent. User pastes beautifully formatted example into their Word
document with correct auto numbering styles, etc.



Thanks for any advice.



Larry

XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>

EasyUnsubscribe <http://lists.mulberrytech.com/unsub/xsl-list/3183067>  (by
email <> )

Current Thread