Thank you, Mr. Shafie.
Even so, nothing pastes in the cursor caret.
Maybe  every cell in the first column of the table 'VATrates' must be given
also a span element for the thing to work?
If yes, how is this span element put in the cells of the first colum?  Also
by means of an identifier 'id' (as it is the case for cells of the second
column)?

Pere Porta

On 15 May 2010 09:39, Hussein Shafie <[email protected]> wrote:

> Pere Porta wrote:
> >
> > I'm trying to well know the "Extensive use of the "Copy as Reference"
> > command, that appears in your Tutorial: creating a modular document,
> > point 3.
> >
> > Now, the step 2. Click inside the cell which contains the VAT rate of
> > France... Ctrl + Shift + C does not work.
> >
> > Rather than using your files I created from new two documents XHTML
> >
> > 1. The base document where the VAT of France, etc. is to be inserted.
> > 2. The related document where the VAT table appears.
> >
> > I created both in a XHTML page.
> > But something is wrong since at trying to paste the cell content from
> > document 2 to document 1... nothing is pasted.
> >
> > My questions would be:
> >
> > A. The base document can be every xml document type (book, article...)
> > or it must be only a XHTML page?  If this latter is the right, must the
> > page be strict-type or transitional-type page?
>
> Copy As Reference/Paste works between two documents [1] belonging to the
> same document type and [2] supporting an Inclusion Scheme (currently
> XHTML strict and transitional, DocBook 4, DocBook 5, DITA topics, DITA
> maps, DITA bookmaps).
>
> (Tip: Copy As Reference/Paste works also within the same document.)
>
>
>
> > B. The related document (where the VAT table I created appears) must be
> > a XHTML page only?
> > If yes, wihich type: strict? transitional?
>
> No. Copy As Reference/Paste is not restricted to XHTML whether strict or
> transitional.
>
> (Tip: Copy As Reference/Paste works fine between XHTML strict and XHTML
> transitional.)
>
>
>
> > C. What is wrong, what am I doing wrong since nothing pastes at clicking
> > Ctrl + V after "The VAT rate of France"?
> >
>
> * Unless an advanced option is turned on, Ctrl+Shift-C will work only if
> you select or click inside an element having an *ID*.
>
> When this works, notice that the clipboard tool found at the bottom/left
> of XXE main window displays some text colored in *gray*.
>
> * If you want to work with ``XML variables'', the elements which are to
> be copied by reference and then pasted are typically:
>
> - <span> elements for XHTML,
> - <phrase> elements for DocBook,
> - <ph> elements for DITA topics.
>
> * Ctrl-V works normally once the clipboard contains something (whether
> some normal contents or a reference to some contents).
>
> This means that Ctrl-V will *not* work if:
>
> - You paste something in a place where the DTD/schema does not allow it.
> For example, do not expect to be able to paste a reference to a <td>
> inside a <li>.
> - You paste something in a place which is not editable (e.g. inside an
> inclusion).
> - You use Ctrl-V when you should use Ctrl-U or Ctrl-W.
>
>
>


-- 
Pere Porta
"Ei nekrói ouk eguéirontai, fágomen kai píomen áurion gar apothnéskomen"
(1Cor 15:32)
 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to