Yes, now Quickly insert XML variables... works. My mistake was not using "Insert Reference After" but only "Insert Reference".
Thank you, Mr. Shafie Pere Porta Sant Cugat del Vallès (Barcelona, Spain) On 15 May 2010 19:44, Hussein Shafie <[email protected]> wrote: > Pere Porta wrote: > > I'm studying point 10 of the Tutorial, dealing with "Quickly insert XML > > variables in a document using the Include tool". > > All my answers to your previous emails were about Copy As > Reference/Paste (Ctrl+Shift-C/Ctrl-V or Ctrl-U or Ctrl-W) and not about > the Include tool. > > > > > I think I followed strictly every step as described in the Tutorial. > > Now, once the 'id' is typed within the blank space beside the red X and > > the green V, then... at clicking on the green V or at the Enter key (as > > Tutorial teaches).... only a beep is heard.... and nothing moves on. > > > > What am I doing wrong? > > When you click one of the buttons of the Include Tool (their tooltips > are: "Replace By Reference," "Insert Reference Before", "Insert > Reference", "Insert Reference After"), the Include tool displays a list > of IDs. You must type one of these IDs (i.e. do not type "id" or "ID"). > You can also click on an ID in the list. > > If the Include tool does not display any ID, then it's because: > * You didn't add a document containing "xml-variables" using the "+" icon. > * OR this document does not contain elements having ID attributes. > * OR this document has a type different from the document being edited. > * OR "Insert Reference" has been selected and elements having IDs may > not be inserted at caret location. > * OR "Insert Reference After" has been selected and elements having IDs > may not be inserted after currently selected element. > * etc. > > > > > > > Must the document where I wrote and kept my "xml-variables" be a html or > > merely a xml document? (I used BocBook - Book to write it). I remark > > that in your tutorial it is a html document (VATrates.html)... > > The tutorial uses Untitled.html as an example document, that's why we > used VATrates.html. > > If you are editing an HTML document, then the document where you keep > your "xml-variables" must be an HTML document. > > If you are editing a DocBook document, then the document where you keep > your "xml-variables" must be a DocBook document. > > > > > -- 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

