contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
XML to HTML conversions: basic formatting  
Introduction: XML to HTML conversions: basic formatting  

Sample


This program uses the mart.xml sample input file.


  down-translate with xml   ; Use XML parser.

  element #implied
    output "%c"

  element title
    local stream title
    set title to "%c"
    output "<title>%g(title)</title>%n" || "<h1>%g(title)</h1>%n"

  element audience
    output "<b>For:</b> <i>%c</i>%n"

  element p
    output "<p>%n%n%c"

  element xref
    output "[some reference]%c%n"

  element glossary
    output "%n%n<h2>Glossary</h2>%n%n" || "<ul>%n%c" || "</ul>%n"

  element term
    output "<li>%c:"

  element defn
    output " %c%n"

 
----  

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:01:46 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.