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.17.0.tar.gz
    
    
        
    
  
  
  
    
  
        sha512=2f77bcb5211018b5d46320fd39fd34450eeb654aca44551b28bb50a2364398c4b34587630b6558db867ecfb63b246fd3e29dc2375f99967ff62bc002db9c3250
    
    
  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. theXml.error_msgtells you which error occurred during parsing and theXml.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 theXml.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