Handbook
Glossary
sensitive-tags
Writing XML
Prev:
pprint-xml ( xml -- )
Next:
indenter
Vocabulary
xml
.
writer
Variable description
Contains a sequence of
name
s where whitespace should be considered significant for prettyprinting purposes. The sequence can contain
string
s in place of names. For example, to preserve whitespace inside a
pre
tag:
USING: xml.syntax xml.writer namespaces ; [XML <!DOCTYPE html> <html> <head> <title> something</title></head><body><pre>bing bang bong</pre></body></html> XML] { "pre" } sensitive-tags [ pprint-xml ] with-variable
<!DOCTYPE html> <html> <head> <title> something </title> </head> <body> <pre>bing bang bong</pre> </body> </html>
Definition
IN:
xml.writer
SYMBOL:
sensitive-tags
inline