Dear Hussein,

I have corrected the full document now, and there were many places where
text had been inserted without being enclosed by a paragraph. Now, only
after fixing all occurrences, "Copy as Reference" works again. I will keep
a look in the future, to get a clue how I got this plain text inserted,
and let you know.

My next challenge is that I would like to "Wrap" some paragraphs and
figures together inside a paragraph, so that I am able to reference it all
together with a "copy as reference".
I have marked the elements to be wrapped, but when I select to Wrap, the
"Para" is not an option. Which wrapping element can I chose for this
purpose ?

Best reg. Kaj.

-----Original Message-----
From: Kaj Hjøllund Jensen [mailto:k...@fracturecode.com]
Sent: 4. juni 2013 09:16
To: 'xmleditor-support@xmlmind.com'
Subject: RE: [XXE] Edit / Reference / Copy as reference is grey

Dear Hussein,

Thank you very much for your reply, -this explains very well what the
problem is, however it does not explain how xml-mind has allowed this text
without a para. I only used XML-mind to edit the document, and I am the
only author. Can it have happened during some copy/paste operation ?

Best reg. Kaj.

-----Original Message-----
From: Hussein Shafie [mailto:huss...@xmlmind.com]
Sent: 3. juni 2013 17:10
To: Kaj Hjøllund Jensen
Cc: 'xmleditor-support@xmlmind.com'
Subject: Re: [XXE] Edit / Reference / Copy as reference is grey

On 06/03/2013 02:19 PM, Kaj Hjøllund Jensen wrote:
>
> I copied the document that I sent to you to a new library, and opened
> it from there, -i.e. with all the missing references that you saw.
> In that case, it is chapter 2, section 2.1 that I want to copy as a
> reference.
>
> However as I open it without all the resources to be included, you are
> absolutely right, that I can mark section 2.1, and do a "copy as
> reference".
>
> Now I have stripped off all references etc from the document
> (attached), and still I can't mark section 1 ("Mounting and
> Adjustment") Should be much easier for you to debug now.
>

The short document you sent me is structurally invalid (red icon at the
bottom/left of the main window).

Section "Mounting and Adjustment"

a) directly contains some text;
b) contains a second empty title;
c) contains a para which itself contains 2 para child elements.

(This is easier to spot using the tree view. See attached screenshot.)

After correcting the 3 above mistakes using XXE (see attached, valid,
document), I was able to copy Section "Mounting and Adjustment" as a
reference.

As explained in my previous email, XMLmind XML Editor does not always
behave as expected when the document being edited is structurally invalid
(red icon at the bottom/left of the main window). In other words, please
first fix your document before attempting to actually work on it.

--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to