Moin Kaiserovi,

> There are several implementations of SAX for C++,

  could you point me to them (URL) - and especialy the version you are
  using ?

> It should not be hard to modify Sablot to allow
> using any expat-compatible parser.

  the idea of SAX is that a SAX Driver may interprete other file formats
  than XML. e.g. HTML, POD, RTF, UN/EDIFACT, while SAX Handlers may write
  ot other formats than XML. Sabltron is this case is a SAX Filter, if
  if it knows the XSL before it reads its input, or a SAX Storage if
  it knows the XML first.

> I don't think that the result of an XSLT transformation typically needs
> any postprocessing before being displayed as HTML: if you use
> <xsl:output method='html'>, things line <br/> will be treated as the
> browser expects.

  What about UTF8 to ISO-8859-1 conversion? This may be necessary as
  a last step in the chain.
  
  Sax postprocessing gives more flexibility, perhaps it may become supported
  by a feature of the xsl:output method. SAX postprocessing could be loaded
  dynamicaly by using the QName feature of the xsl:output[@method], to
  produce UN/EDIFACT instead of HTML.

#------------------------------------------------------------------------------#
   The method attribute on xsl:output identifies the overall method that        
   should be used for outputting the result tree. The value must be a QName.    
   If the QName does not have a prefix, then it identifies a method specified   
   in this document and must be one of xml, html or text. If the QName has a    
   prefix, then the QName is expanded into an expanded-name as described in     
   [2.4 Qualified Names]; the expanded-name identifies the output method; the   
   behavior in this case is not specified by this document.                     
#------------------------------------------------------------------------------#

  As "the behavior in this case is not specified by this document", its
  left to implementation, so we may ask a SAX how to deal with UN/EDIFACT.

  <xsl:output
     method="edi:d00b"
     xmlns:edi="http://www.xml-edifact.org/LIB/xml-edifact-03/edifact.rdf"
   />

Bye Michael
-- 
  mailto:[EMAIL PROTECTED]             UNA:+.? 'CED+2+:::Linux:2.2.14'UNZ+1'
  http://www.xml-edifact.org/           CETERUM CENSEO MSDOS ESSE DELENDAM

Reply via email to