swirl
Guide to OmniMark 8   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 ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:25:49 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.