Presentation semantics

In computer science, particularly in human-computer interaction, presentation semantics specify how a particular piece of a formal language is represented in a distinguished manner accessible to human senses, usually human vision. For example, saying that <bold> ... </bold> must render the text between these constructs using some bold typeface is a specification of presentation semantics for that syntax. An example of interactive presentation semantics is defining the expected behavior of a hypertext link on a suitable syntax.

Many markup languages like HTML, CSS, DSSSL, XSL-FO or troff have presentation semantics, but others like XML, XLink and XPath do not.[1][2][3] Character encoding standards like Unicode also have presentation semantics.[4] One of the main goals of style sheet languages like CSS is to separate the syntax used to define structured data from the syntax endowed with presentation semantics that is used to render the data in various ways.

References

  1. H. P. Alesso, Craig Forsythe Smith, Developing Semantic Web services, A K Peters, Ltd., 2005, ISBN 1-56881-212-4, p. 62 and p. 100
  2. G. Ken Holman, Definitive XSL-FO, Prentice Hall PTR, 2003, ISBN 0-13-140374-5, p. 13
  3. Erik Wilde, David Lowe, Xpath, XLink, XPointer, and XML: a practical guide to Web hyperlinking and transclusion, Addison-Wesley, 2003, ISBN 0-201-70344-0, p. 201
  4. http://publib.boulder.ibm.com/infocenter/printer/v1r1/index.jsp?topic=/com.ibm.printers.infoprintfonts/com.ibm.printers.usingopentypefontsinanafpsystem/g3a02mst18.htm
This article is issued from Wikipedia - version of the Sunday, May 12, 2013. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.