[Date Prev][Date Next] [Thread Prev][Thread Next]
[Date Index] [Thread Index] [New search]

Re: import XML entity to user variables



At 02:06 AM 9/30/2004, Jean Yves BISIAUX wrote:
In my XML file I have:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book SYSTEM
"file:///C:/Program%20Files/Adobe/FrameMaker7.1/structure/xml/xdocbook/app/d
ocbookx.dtd" [
<!ENTITY myproductname "This product name">
]>
<book lang="en">
  <title role="booktitle">Installation Guide</title>

  <bookinfo>
    <graphic></graphic>

...


After the importation of this file in Framemaker I cannot reach the variable 'myproductname'.

Jean Yves, The XML fragment you have shown does not include any entity references. Does &myproductname; appear anywhere in the XML document? I just imported the following document:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test [
<!ELEMENT test (#PCDATA)>
<!ENTITY used "this entity is referenced">
<!ENTITY unused "this entity is not referenced">
]>
<test>&used;</test>

In both FM 7.0 and 7.1, the resulting file defined a variable named "used" but
did not define one named "unused".


--Lynne


Lynne A. Price
Text Structure Consulting, Inc.
Specializing in structured FrameMaker consulting, application development, and training
lprice@xxxxxxxxxxxx http://www.txstruct.com
voice/fax: (510) 583-1505 cell phone: (510) 421-2284




** To unsubscribe, send a message to majordomo@xxxxxxxxx **
** with "unsubscribe framers" (no quotes) in the body.   **