ArticleslgStudy

computer science

Document Style Semantics and Specification Language

Document Style Semantics and Specification Language is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Document Style Semantics and Specification Language rather than just read about it. In short: The Document Style Semantics and Specification Language (DSSSL) is an international standard developed to provide stylesheets for SGML documents. DSSSL consists of two parts: a tree transformation process that can be used to manipulate the tree structure of documents prior to presentation, and a formatting process that associates the elements in the source document with specific nodes in the target representation—th…

Key takeaways

  • Document Style Semantics and Specification Language belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Document Style Semantics and Specification Language to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Document Style Semantics and Specification Language from memory before moving on to harder problems.

Reference excerpt

The Document Style Semantics and Specification Language (DSSSL) is an international standard developed to provide stylesheets for SGML documents. DSSSL consists of two parts: a tree transformation process that can be used to manipulate the tree structure of documents prior to presentation, and a formatting process that associates the elements in the source document with specific nodes in the target representation—the flow object tree. DSSSL specifications are device-independent pieces of information that can be interchanged between different platforms. DSSSL does not standardize the back-end formatters that generate the language's output. Such formatters may render the output for on-screen display, or write it to a computer file in a specific format (such as PostScript or Rich Text Format). Based on a subset of the Scheme programming language, it is specified by the standard ISO/IEC 10179:1996. It was developed by ISO/IEC JTC 1/SC 34 (ISO/IEC Joint Technical Committee 1, Subcommittee 34 - Document description and processing languages). SGML contains information in a machine-readable but not very human-readable format. A "stylesheet" is used to present the information stored in SGML in a more pleasing or accessible way. DSSSL can convert to a wide range of formats, including RTF, HTML, and LaTeX. DSSSL is compatible with any SGML-based document type, but it has been used most often with DocBook. In 1997, software engineer Geir Ove Grønmo published a syntax highlighting language definition for KEDIT. With the appearance of XML as an alternative to SGML, XML's associated stylesheet language XSL was also widely and rapidly adopted, from around 1999. Although DSSSL continued to be in use within the shrinking SGML field, XSL was very soon in use more extensively, and by more coders, than DSSSL had ever achieved. This was emphasised when previous SGML strongholds such as DocBook converted from SGML to XML, and also converted their favoured stylesheet language from DSSSL to XSL. Sometime in or before 1994, James Clark began drafting a "DSSSL Lite" specification for the consideration of the World Wide Web Consortium, since DSSSL was thought to be too complex for the World Wide Web.

See also S-expression XML transformation language

References

External links James Clark's DSSSL page DSSSL Example - what DSSSL looks like

Worked examples

Example 1 — a first encounter with Document Style Semantics and Specification Language

Start with the simplest possible case. Write down what Document Style Semantics and Specification Language claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Document Style Semantics and Specification Language before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Document Style Semantics and Specification Language ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Document Style Semantics and Specification Language

In research
Document Style Semantics and Specification Language appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Document Style Semantics and Specification Language in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Document Style Semantics and Specification Language is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer-related introductions in 1996, Lisp programming language family, Programming languages with an ISO/IEC standard, so understanding it makes those chapters shorter.
In everyday life
Look for Document Style Semantics and Specification Language outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Document Style Semantics and Specification Language” →

How to study Document Style Semantics and Specification Language in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Document Style Semantics and Specification Language means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Document Style Semantics and Specification Language out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Document Style Semantics and Specification Language in simple terms?

The Document Style Semantics and Specification Language (DSSSL) is an international standard developed to provide stylesheets for SGML documents. DSSSL consists of two parts: a tree transformation process that can be used to manipulate the tree structure of documents prior to presentation, and a fo…

Why does Document Style Semantics and Specification Language matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Document Style Semantics and Specification Language?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Document Style Semantics and Specification Language.

Tags

  • Computer-related introductions in 1996
  • Lisp programming language family
  • Programming languages with an ISO/IEC standard
  • SGML
  • Scheme (programming language)
  • Stylesheet languages

Keep exploring