swirl
Guide to OmniMark 7   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
     

Public identifiers, parsing

You can parse a XML/SGML public identifier into its constituent parts using the following pattern. It is sometimes necessary to decode a public identifier when resolving an entity.

     match ("+//" any** => registered-owner-identifier "//" |
            "-//" any** => unregistered-owner-identifier "//" |
            any** => iso-owner-identifier "//"
           )
           any** => public-text-class "%_"
           ("-//" => unavailable-text-indicator)?
           any** => public-text-description "//"
           (letter{2} => public-text-language value-end |
            ((any** => public-text-designating-sequence
              ("//" | value-end))
             (any* => public-text-display-version)?
            )
           )

       
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACYLIBRARIES ] [ ERRORS ]

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:44:41 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.