Scilab 5.5.0
- Aide de Scilab
- Gestion des fichiers XML
- XML Objects
- htmlDump
- htmlRead
- htmlReadStr
- htmlWrite
- xmlAddNs
- xmlAppend
- xmlAsNumber
- xmlAsText
- xmlDTD
- xmlDelete
- xmlDocument
- xmlDump
- xmlElement
- xmlFormat
- xmlGetNsByHref
- xmlGetNsByPrefix
- xmlGetOpenDocs
- xmlIsValidObject
- xmlName
- xmlNs
- xmlRead
- xmlReadStr
- xmlRelaxNG
- xmlRemove
- xmlSchema
- xmlSetAttributes
- xmlValidate
- xmlWrite
- xmlXPath
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
htmlDump
Dump a HTML document
Calling Sequence
str = htmlDump(xmlDoc [, indent])
Arguments
- xmlDoc
xmlDoc, a XML document
- indent
indent, a boolean
- str
str, a matrix of strings
Description
Dump a HTML document. If indent is false (by default it is true), no indentation and carriage return will be added.
Examples
doc = htmlReadStr(["<!DOCTYPE html PUBLIC ""-//W3C//DTD HTML 4.01//EN"""; """http://www.w3.org/TR/html4/strict.dtd"">"; "<html lang=""en"">"; " <head>"; " <meta http-equiv=""content-type"" content=""text/html; charset=utf-8"">"; " <title>title</title>"; " <link rel=""stylesheet"" type=""text/css"" href=""style.css"">"; " <script type=""text/javascript"" src=""script.js""></script>"; " </head>"; " <body>"; " </body>"; "</html>"]); // Dump a HTML document htmlDump(doc) // Dump a HTML document without indentation htmlDump(doc, %f) // Free the resources associated with the document xmlDelete(doc);
See Also
- htmlWrite — Write a XML document in a file
History
Version | Description |
5.5.0 | HTML features added. |
Report an issue | ||
<< XML Objects | Gestion des fichiers XML | htmlRead >> |