package coqide-server
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
On This Page
  
  
  The Coq Proof Assistant, XML protocol server
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      coq-8.19.1.tar.gz
    
    
        
    
  
  
  
    
  
  
    
  
        md5=13d2793fc6413aac5168822313e4864e
    
    
  sha512=ec8379df34ba6e72bcf0218c66fef248b0e4c5c436fb3f2d7dd83a2c5f349dd0874a67484fcf9c0df3e5d5937d7ae2b2a79274725595b4b0065a381f70769b42
    
    
  doc/coqide-server.protocol/Xml_parser/index.html
Module Xml_parserSource
Xml Light Parser
While basic parsing functions can be used in the Xml module, this module is providing a way to create, configure and run an Xml parser.
An Xml node is either Element (tag-name, attributes, children) or PCData text
Abstract type for an Xml parser.
Xml Exceptions
Several exceptions can be raised when parsing an Xml document :
- Xml.Erroris raised when an xml parsing error occurs. the- Xml.error_msgtells you which error occurred during parsing and the- Xml.error_poscan be used to retrieve the document location where the error occurred at.
- Xml.File_not_foundis raised when an error occurred while opening a file with the- Xml.parse_filefunction.
Get the relative character range (in current line) the error occurred at.
Several kind of resources can contain Xml documents.
When a Xml document is parsed, the parser may check that the end of the document is reached, so for example parsing "<A/><B/>" will fail instead of returning only the A element. You can turn on this check by setting check_eof to true (by default, check_eof is false, unlike in the original Xmllight).
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  On This Page