home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / text / sgml / 1350 < prev    next >
Encoding:
Text File  |  1993-01-24  |  5.4 KB  |  101 lines

  1. Path: sparky!uunet!ralvm13.VNET.IBM.COM
  2. From: drmacro@ralvm13.VNET.IBM.COM
  3. Message-ID: <19930124.095330.84@almaden.ibm.com>
  4. Date: Sun, 24 Jan 93 12:09:17 EST
  5. Newsgroups: comp.text.sgml
  6. Subject: Re: on "full support" for LINK
  7. Disclaimer: This posting represents the poster's views, not those of IBM
  8. News-Software: UReply 3.1
  9. References: <19930111.141443.972@almaden.ibm.com> <93013.114442U35395@uicvm.uic.edu> <19930115.002@erik.naggum.no>
  10.             <93015.084734U35395@uicvm.uic.edu>
  11. Lines: 88
  12.  
  13. I've spent some time discussing LINK with Dr. Goldfarb, mostly in
  14. the context of how LINK compares to what DSSSL is trying to do and
  15. the general problem of DTD-to-DTD mapping, which Michael has very
  16. nicely outlined.  To my mind, LINK is immediately useful as nothing
  17. more than a *standard* (if not optimal) way to completely separate
  18. presentation information from an SGML document instance by providing
  19. an indirect connection between application-specific "style specifications"
  20. and the document instance.  (I am not convinced it can do more and won't
  21. try to argue it is up to it at this time.)
  22.  
  23. For example, in the InfoMaster Architecture, we have defined for all
  24. elements the comment attribute STYLE=.  The value of style is
  25. an application-specific value for determining the presentation of
  26. an element.  Since STYLE= is, by definition, presentation information,
  27. it would be best to keep it out of the document instance altogether
  28. (but for obvious practical reasons, we can't mandate that). LINK provides
  29. a standard mechanism for supporting keeping STYLE= out of the instance.
  30. Assuming you have an
  31. editor that lets you define presentation styles quickly and easily
  32. for elements, the editor would generate the necessary link rules
  33. to associate the presentation information with the element instances.
  34. (I assume an editor because 1) the technology is there and 2) it's
  35. probably not practical to ask authors to hand code LINK rules.)
  36. The presentation specification would be, presumably, proprietary
  37. (or at least application specific, even if that application is DSSSL
  38. or FOSI), but the association mechanism would be standardized, and
  39. *not* proprietary.  I have no hope of interchanging presentation
  40. information between different applications without a standard
  41. assocation mechanism.  Having a standard mechanism for association
  42. doesn't necessarily get me very far, because the presentation
  43. specification itself must be standardized, but I can't do it *at all*
  44. without first having an interchangable assocation.
  45.  
  46. There are other possible association mechanisms one could use,
  47. but they will all, by definition, be application specific *because
  48. they are not defined by ISO 8879*, even if they are themselves
  49. defined in a standard.
  50.  
  51. The main problem with LINK seems to be how an application knows
  52. which link rule to apply at a given time.  This is the state
  53. problem Erik and Micheal allude to.  In order to know which
  54. link rule to select, an application must define and manage
  55. the states that will determine the selection.
  56.  
  57. One solution Dr. Goldfarb suggested to me
  58. would be to use SGML-based query specifications as the
  59. determiners, rather than rely on application-specfic states.
  60. If define that link rules can contain an attribute, say LocSpec=,
  61. that contains a query in some query language that defines
  62. where it applies, an application can examine each choice in
  63. a link specification and use the one whose query is satisfied
  64. (or perhaps, whose query is first satisfied, using the order
  65. of specification in the link rule).  This approach could
  66. be officially standardized by either adding it to some revision
  67. of ISO 8879 or to the DSSSL standard.  The appeal of this
  68. approach to me is that it provides a robust and generic association
  69. mechanism between a document instance and a style specification,
  70. defined using existing standard constructs (e.g., LINK) and
  71. SGML query methods that are well defined.  If you use the
  72. HyQ query language as the query language, you can reasonably assume
  73. that any conforming HyTime system (including print-only document
  74. processors that support HyTime hyperlinks) will implement HyQ.
  75. In addition, The DSSSL effort has, at a minimum, crisply defined the
  76. semantics needed to do complete SGML queries, even if they haven't
  77. settled on a concrete syntax for expressing the queries themselves,
  78. and we can therefore be assured that anything we want to do with a
  79. query, we can.  DSSSL and ISO 8879 overlap at LINK, so it seems
  80. reasonable to me to codify that overlap explicitly in one standard
  81. or the other.
  82.  
  83. There are more complex uses of LINK that are, in my mind, less
  84. compelling (for example, USELINK within a document instance
  85. is highly problematic if you want to eschew sequential processing
  86. of elements).  But the basic utility of LINK as a means of
  87. associating presentation specifications with elements in
  88. document instances is, in my opinion, highly compelling.  While
  89. it doesn't solve the entire problem of generic style specification
  90. (which may well be unsolveable in a generic way), it frees me from
  91. having to use any given application's method of association, which
  92. today translates to any given vendor's method.  If one of the
  93. chief benefits of SGML is vendor independence, why should I then
  94. compromise it immediately?
  95.  
  96. Eliot Kimber                      Internet:  drmacro@ralvm13.vnet.ibm.com
  97. Dept E14/B500                     IBMMAIL:   USIB2DK9@IBMMAIL
  98. Network Programs Information Development     Phone: 1-919-543-7091
  99. IBM Corporation
  100. Research Triangle Park, NC 27709
  101.