Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!decwrl!hal.com!halaus!jbm From: jbm@hal.com (Brad Might) Newsgroups: comp.text.sgml Subject: Re: A floating paired tag... Message-ID: <1991Jun12.131914.19072@hal.com> Date: 12 Jun 91 13:19:14 GMT Organization: HaL Computer Systems, Inc. Lines: 87 In-Reply-To: jbm@infinity.hal.com's message of 10 Jun 91 07:53:37 In article enag@ifi.uio.no (Erik Naggum) writes: Path: halaus!hal.com!decwrl!spool.mu.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!ugle.unit.no!nuug!ifi.uio.no!enag From: enag@ifi.uio.no (Erik Naggum) Reuben Wachtfogel writes: | | This may be very basic question but I really did | try to find the answer independently and I'm stumped. Thanks for this courtesy to other news readers. | I wish to define a bracketing structure that could be inserted | around any of: | 1) blah | 2) <\b1> | 3) <\a1> | 4) <\a> If I may make some assumptions about what your problem is, here's my thoughts. I'm unclear on this point, myself, and would appreciate comments. Given the document type declaration fragment and the document instance fragment ha che good food kuluyuk what is the value of the language attribute when "kuluyuk" is seen? It seems clear that if the fragment ends with sweet-sour pork the second inner will have the language attribute value "english". In the above case, the attribute only applies to the element that contains it. Therefore, in case (1) above, kuluyuk is data within and therefore is treated as chinese. A case that may occur that is: ha che good food kuluyuk ha che kuluyuk where the second kuluyuk is going to be looked upon as english since the last value of attribute language in element inner was english. What about making language a NOTATION ? lets keep these discussions in news (rather than private email) as it seems very useful in understanding problems and solutions. brad -- -- - standard disclaimers apply - jbm@hal.com (Brad Might) HaL Computer Systems - (512)794-2855 8920 Business Park Dr. Suite 300 Austin, Texas 78759