Hi Lynne, Does this mean that I should change the attribute type in the DTD to NMTOKENS? (At the moment it's CDATA.) I tried this but nothing changed. Have I done the wrong thing?
Thanks for your help, Daniel Daniel Osborn | Usability Engineer - Technical Writer | TomTom | [EMAIL PROTECTED] | +31 (0) 20 8500 934 office -----Original Message----- From: Lynne A. Price [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 25, 2006 7:57 PM To: Daniel Osborn; [email protected] Subject: Re: XML roundtripping - attributes with more than one value At 10:27 AM 10/24/2006, Daniel Osborn wrote: >In Framemaker, when you add more than one value to an attribute of type >'Strings', the values have to be separated by a line break. > >When you save the file as .xml the values of the attribute are written >into one string separated by spaces. No problem there except that when >you open the file again in Framemaker the values are also written on one >line separated by spaces. > >Is there any way to reintroduce the line breaks into the attribute value >when the file is opened in Framemaker? Daniel, The FrameMaker attribute type Strings corresponds roughly to the XML attribute NMTOKENS. XML, however, restricts the different tokens to name characters and FM does not. In particular, FM permits white space within a particular string and XML does not. When FM opens an XML document that has a DTD, it interprets spaces within the value of a NMTOKENS attribute as a token separator. It displays each token on a separate line in the Structure View and in the Attributes window and dialog box. --Lynne Lynne A. Price Text Structure Consulting, Inc. Specializing in structured FrameMaker consulting, application development, and training [EMAIL PROTECTED] http://www.txstruct.com voice/fax: (510) 583-1505 cell phone: (510) 421-2284 _______________________________________________ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
