another questions on XML import
Wim Hooghwinkel (Scriptware)
wimh at scriptware.nl
Wed Apr 12 00:49:01 PDT 2006
Hello Lynn,
Could the 'Entity Locations' (element < Entities>) in the Structapps file be used to point to the Public entity files?
Or in stead of defining separate entitys, use general pointer in the DTD, like
<!ENTITY % ISOlat2 PUBLIC
"ISO 8879-1986//ENTITIES Added Latin 2//EN" >
My problem is that I working with 'legacy' XML files that sre created by different resources. Sometimes escape sequences are used for characters (like 〈). I don't want to make separate entrys for each occurence as long as they are following the (XML)standards.
Met vriendelijke groet / kind regards,
Wim Hooghwinkel wimh at scriptware.nl
DTP and XML Management
Scriptware bv http://www.scriptware.nl
tel : +31 (0)23 548 48 84
fax : +31 (0)23 548 48 85
http://www.scriptware.nl
info at scriptware.nl info at scriptware.nl
-----Oorspronkelijk bericht-----
Van: Lynne A. Price [mailto:lprice at txstruct.com]
Verzonden: dinsdag 11 april 2006 18:19
Aan: Wim Hooghwinkel (Scriptware); Framers (E-mail)
Onderwerp: Re: another questions on XML import
At 01:20 AM 4/11/2006, Wim Hooghwinkel \(Scriptware\) wrote:
>If the error message: " Message: Entity 'lang' was not found " appears,
>and the entity has been defined in the rules file, what can be wrong? Do I
>need an extra pointer in the DTD for these entitys?
>
>I defined the entity (entity "〈" is fm char "[";) before the #include
>"isoall.rw" statement.
Wim,
You must declare the entity in the DTD as well as supporting it with a
read/write rule:
<!ENTITY lang "[">
Furthermore, the name of the entity is "lang"; the leading & and closing ;
delimit the entity reference from surrounding text. Therefore, the r/w rule
you need is:
entity "lang" is fm char "[";
Hope this helps,
--Lynne
Lynne A. Price
Text Structure Consulting, Inc.
Specializing in structured FrameMaker consulting, application development,
and training
lprice at txstruct.com http://www.txstruct.com
voice/fax: (510) 583-1505 cell phone: (510) 421-2284
More information about the framers
mailing list