package tidy

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type nodeType =
  1. | Node_Root
  2. | Node_DocType
  3. | Node_Comment
  4. | Node_ProcIns
  5. | Node_Text
  6. | Node_Start
  7. | Node_End
  8. | Node_StartEnd
  9. | Node_CDATA
  10. | Node_Section
  11. | Node_Asp
  12. | Node_Jste
  13. | Node_Php
  14. | Node_XmlDecl
type tagId =
  1. | Tag_UNKNOWN
  2. | Tag_A
  3. | Tag_ABBR
  4. | Tag_ACRONYM
  5. | Tag_ADDRESS
  6. | Tag_ALIGN
  7. | Tag_APPLET
  8. | Tag_AREA
  9. | Tag_B
  10. | Tag_BASE
  11. | Tag_BASEFONT
  12. | Tag_BDO
  13. | Tag_BGSOUND
  14. | Tag_BIG
  15. | Tag_BLOCKQUOTE
  16. | Tag_BODY
  17. | Tag_BR
  18. | Tag_BUTTON
  19. | Tag_CAPTION
  20. | Tag_CENTER
  21. | Tag_CITE
  22. | Tag_CODE
  23. | Tag_COL
  24. | Tag_COLGROUP
  25. | Tag_COMMENT
  26. | Tag_DD
  27. | Tag_DEL
  28. | Tag_DFN
  29. | Tag_DIR
  30. | Tag_DIV
  31. | Tag_DL
  32. | Tag_DT
  33. | Tag_EM
  34. | Tag_EMBED
  35. | Tag_FIELDSET
  36. | Tag_FONT
  37. | Tag_FORM
  38. | Tag_FRAME
  39. | Tag_FRAMESET
  40. | Tag_H1
  41. | Tag_H2
  42. | Tag_H3
  43. | Tag_H4
  44. | Tag_H5
  45. | Tag_H6
  46. | Tag_HEAD
  47. | Tag_HR
  48. | Tag_HTML
  49. | Tag_I
  50. | Tag_IFRAME
  51. | Tag_ILAYER
  52. | Tag_IMG
  53. | Tag_INPUT
  54. | Tag_INS
  55. | Tag_ISINDEX
  56. | Tag_KBD
  57. | Tag_KEYGEN
  58. | Tag_LABEL
  59. | Tag_LAYER
  60. | Tag_LEGEND
  61. | Tag_LI
  62. | Tag_LISTING
  63. | Tag_MAP
  64. | Tag_MATHML
  65. | Tag_MARQUEE
  66. | Tag_MENU
  67. | Tag_META
  68. | Tag_MULTICOL
  69. | Tag_NOBR
  70. | Tag_NOEMBED
  71. | Tag_NOFRAMES
  72. | Tag_NOLAYER
  73. | Tag_NOSAVE
  74. | Tag_NOSCRIPT
  75. | Tag_OBJECT
  76. | Tag_OL
  77. | Tag_OPTGROUP
  78. | Tag_OPTION
  79. | Tag_P
  80. | Tag_PARAM
  81. | Tag_PICTURE
  82. | Tag_PLAINTEXT
  83. | Tag_PRE
  84. | Tag_Q
  85. | Tag_RB
  86. | Tag_RBC
  87. | Tag_RP
  88. | Tag_RT
  89. | Tag_RTC
  90. | Tag_RUBY
  91. | Tag_S
  92. | Tag_SAMP
  93. | Tag_SCRIPT
  94. | Tag_SELECT
  95. | Tag_SERVER
  96. | Tag_SERVLET
  97. | Tag_SMALL
  98. | Tag_SPACER
  99. | Tag_SPAN
  100. | Tag_STRIKE
  101. | Tag_STRONG
  102. | Tag_STYLE
  103. | Tag_SUB
  104. | Tag_SUP
  105. | Tag_SVG
  106. | Tag_TABLE
  107. | Tag_TBODY
  108. | Tag_TD
  109. | Tag_TEXTAREA
  110. | Tag_TFOOT
  111. | Tag_TH
  112. | Tag_THEAD
  113. | Tag_TITLE
  114. | Tag_TR
  115. | Tag_TT
  116. | Tag_U
  117. | Tag_UL
  118. | Tag_VAR
  119. | Tag_WBR
  120. | Tag_XMP
  121. | Tag_NEXTID
  122. | N_TIDY_TAGS
type attrId =
  1. | Attr_UNKNOWN
  2. | Attr_ABBR
  3. | Attr_ACCEPT
  4. | Attr_ACCEPT_CHARSET
  5. | Attr_ACCESSKEY
  6. | Attr_ACTION
  7. | Attr_ADD_DATE
  8. | Attr_ALIGN
  9. | Attr_ALT
  10. | Attr_ARCHIVE
  11. | Attr_AXIS
  12. | Attr_BACKGROUND
  13. | Attr_BGCOLOR
  14. | Attr_BGPROPERTIES
  15. | Attr_BORDER
  16. | Attr_BORDERCOLOR
  17. | Attr_BOTTOMMARGIN
  18. | Attr_CELLPADDING
  19. | Attr_CELLSPACING
  20. | Attr_CHAR
  21. | Attr_CHAROFF
  22. | Attr_CHARSET
  23. | Attr_CHECKED
  24. | Attr_CITE
  25. | Attr_CLASS
  26. | Attr_CLASSID
  27. | Attr_CLEAR
  28. | Attr_CODE
  29. | Attr_CODEBASE
  30. | Attr_CODETYPE
  31. | Attr_COLOR
  32. | Attr_COLS
  33. | Attr_COLSPAN
  34. | Attr_COMPACT
  35. | Attr_CONTENT
  36. | Attr_COORDS
  37. | Attr_DATA
  38. | Attr_DATAFLD
  39. | Attr_DATAFORMATAS
  40. | Attr_DATAPAGESIZE
  41. | Attr_DATASRC
  42. | Attr_DATETIME
  43. | Attr_DECLARE
  44. | Attr_DEFER
  45. | Attr_DIR
  46. | Attr_DISABLED
  47. | Attr_ENCODING
  48. | Attr_ENCTYPE
  49. | Attr_FACE
  50. | Attr_FOR
  51. | Attr_FRAME
  52. | Attr_FRAMEBORDER
  53. | Attr_FRAMESPACING
  54. | Attr_GRIDX
  55. | Attr_GRIDY
  56. | Attr_HEADERS
  57. | Attr_HEIGHT
  58. | Attr_HREF
  59. | Attr_HREFLANG
  60. | Attr_HSPACE
  61. | Attr_HTTP_EQUIV
  62. | Attr_ID
  63. | Attr_ISMAP
  64. | Attr_ITEMID
  65. | Attr_ITEMPROP
  66. | Attr_ITEMREF
  67. | Attr_ITEMSCOPE
  68. | Attr_ITEMTYPE
  69. | Attr_LABEL
  70. | Attr_LANG
  71. | Attr_LANGUAGE
  72. | Attr_LAST_MODIFIED
  73. | Attr_LAST_VISIT
  74. | Attr_LEFTMARGIN
  75. | Attr_LONGDESC
  76. | Attr_LOWSRC
  77. | Attr_MARGINHEIGHT
  78. | Attr_MARGINWIDTH
  79. | Attr_MAXLENGTH
  80. | Attr_MEDIA
  81. | Attr_METHOD
  82. | Attr_MULTIPLE
  83. | Attr_NAME
  84. | Attr_NOHREF
  85. | Attr_NORESIZE
  86. | Attr_NOSHADE
  87. | Attr_NOWRAP
  88. | Attr_OBJECT
  89. | Attr_OnAFTERUPDATE
  90. | Attr_OnBEFOREUNLOAD
  91. | Attr_OnBEFOREUPDATE
  92. | Attr_OnBLUR
  93. | Attr_OnCHANGE
  94. | Attr_OnCLICK
  95. | Attr_OnDATAAVAILABLE
  96. | Attr_OnDATASETCHANGED
  97. | Attr_OnDATASETCOMPLETE
  98. | Attr_OnDBLCLICK
  99. | Attr_OnERRORUPDATE
  100. | Attr_OnFOCUS
  101. | Attr_OnKEYDOWN
  102. | Attr_OnKEYPRESS
  103. | Attr_OnKEYUP
  104. | Attr_OnLOAD
  105. | Attr_OnMOUSEDOWN
  106. | Attr_OnMOUSEMOVE
  107. | Attr_OnMOUSEOUT
  108. | Attr_OnMOUSEOVER
  109. | Attr_OnMOUSEUP
  110. | Attr_OnRESET
  111. | Attr_OnROWENTER
  112. | Attr_OnROWEXIT
  113. | Attr_OnSELECT
  114. | Attr_OnSUBMIT
  115. | Attr_OnUNLOAD
  116. | Attr_PROFILE
  117. | Attr_PROMPT
  118. | Attr_RBSPAN
  119. | Attr_READONLY
  120. | Attr_REL
  121. | Attr_REV
  122. | Attr_RIGHTMARGIN
  123. | Attr_ROLE
  124. | Attr_ROWS
  125. | Attr_ROWSPAN
  126. | Attr_RULES
  127. | Attr_SCHEME
  128. | Attr_SCOPE
  129. | Attr_SCROLLING
  130. | Attr_SELECTED
  131. | Attr_SHAPE
  132. | Attr_SHOWGRID
  133. | Attr_SHOWGRIDX
  134. | Attr_SHOWGRIDY
  135. | Attr_SIZE
  136. | Attr_SPAN
  137. | Attr_SRC
  138. | Attr_SRCSET
  139. | Attr_STANDBY
  140. | Attr_START
  141. | Attr_STYLE
  142. | Attr_SUMMARY
  143. | Attr_TABINDEX
  144. | Attr_TARGET
  145. | Attr_TEXT
  146. | Attr_TITLE
  147. | Attr_TOPMARGIN
  148. | Attr_TYPE
  149. | Attr_USEMAP
  150. | Attr_VALIGN
  151. | Attr_VALUE
  152. | Attr_VALUETYPE
  153. | Attr_VERSION
  154. | Attr_VSPACE
  155. | Attr_WIDTH
  156. | Attr_WRAP
  157. | Attr_XML_LANG
  158. | Attr_XML_SPACE
  159. | Attr_XMLNS
  160. | Attr_EVENT
  161. | Attr_METHODS
  162. | Attr_N
  163. | Attr_SDAFORM
  164. | Attr_SDAPREF
  165. | Attr_SDASUFF
  166. | Attr_URN
  167. | N_TIDY_ATTRIBS
type optionId =
  1. | TidyUnknownOption
  2. | TidyIndentSpaces
  3. | TidyWrapLen
  4. | TidyTabSize
  5. | TidyCharEncoding
  6. | TidyInCharEncoding
  7. | TidyOutCharEncoding
  8. | TidyNewline
  9. | TidyDoctypeMode
  10. | TidyDoctype
  11. | TidyDuplicateAttrs
  12. | TidyAltText
  13. | TidySlideStyle
  14. | TidyErrFile
  15. | TidyOutFile
  16. | TidyWriteBack
  17. | TidyShowMarkup
  18. | TidyShowInfo
  19. | TidyShowWarnings
  20. | TidyQuiet
  21. | TidyIndentContent
  22. | TidyCoerceEndTags
  23. | TidyOmitOptionalTags
  24. | TidyHideEndTags
  25. | TidyXmlTags
  26. | TidyXmlOut
  27. | TidyXhtmlOut
  28. | TidyHtmlOut
  29. | TidyXmlDecl
  30. | TidyUpperCaseTags
  31. | TidyUpperCaseAttrs
  32. | TidyMakeBare
  33. | TidyMakeClean
  34. | TidyGDocClean
  35. | TidyLogicalEmphasis
  36. | TidyDropPropAttrs
  37. | TidyDropFontTags
  38. | TidyDropEmptyElems
  39. | TidyDropEmptyParas
  40. | TidyFixComments
  41. | TidyBreakBeforeBR
  42. | TidyBurstSlides
  43. | TidyNumEntities
  44. | TidyQuoteMarks
  45. | TidyQuoteNbsp
  46. | TidyQuoteAmpersand
  47. | TidyWrapAttVals
  48. | TidyWrapScriptlets
  49. | TidyWrapSection
  50. | TidyWrapAsp
  51. | TidyWrapJste
  52. | TidyWrapPhp
  53. | TidyFixBackslash
  54. | TidyIndentAttributes
  55. | TidyXmlPIs
  56. | TidyXmlSpace
  57. | TidyEncloseBodyText
  58. | TidyEncloseBlockText
  59. | TidyKeepFileTimes
  60. | TidyWord2000
  61. | TidyMark
  62. | TidyEmacs
  63. | TidyEmacsFile
  64. | TidyLiteralAttribs
  65. | TidyBodyOnly
  66. | TidyFixUri
  67. | TidyLowerLiterals
  68. | TidyHideComments
  69. | TidyIndentCdata
  70. | TidyForceOutput
  71. | TidyShowErrors
  72. | TidyAsciiChars
  73. | TidyJoinClasses
  74. | TidyJoinStyles
  75. | TidyEscapeCdata
  76. | TidyLanguage
  77. | TidyNCR
  78. | TidyOutputBOM
  79. | TidyReplaceColor
  80. | TidyCSSPrefix
  81. | TidyInlineTags
  82. | TidyBlockTags
  83. | TidyEmptyTags
  84. | TidyPreTags
  85. | TidyAccessibilityCheckLevel
  86. | TidyVertSpace
  87. | TidyPunctWrap
  88. | TidyMergeEmphasis
  89. | TidyMergeDivs
  90. | TidyDecorateInferredUL
  91. | TidyPreserveEntities
  92. | TidySortAttributes
  93. | TidyMergeSpans
  94. | TidyAnchorAsName
  95. | N_TIDY_OPTIONS
type doc
type node
type attr
type opt
module Config : sig ... end
module Attr : sig ... end
module DocTree : sig ... end
module Node : sig ... end
val create : unit -> doc
val releaseDate : unit -> string
val parseFile : doc -> string -> unit
val parseString : doc -> string -> unit
val cleanAndRepair : doc -> unit
val runDiagnostics : doc -> unit
val saveFile : doc -> string -> unit
val saveString : doc -> string option
val accessWarningCount : doc -> int
val configErrorCount : doc -> int
val detectedGenericXml : doc -> bool
val detectedHtmlVersion : doc -> int
val detectedXhtml : doc -> bool
val errorCount : doc -> int
val errorSummary : doc -> unit
val fileExists : doc -> string -> unit
val generalInfo : doc -> unit
val loadConfig : doc -> string -> unit
val warningCount : doc -> int
module Tree : sig ... end
OCaml

Innovation. Community. Security.