29 lines
1.4 KiB
Plaintext
29 lines
1.4 KiB
Plaintext
! Copyright (C) 2005, 2006 Daniel Ehrenberg
|
|
! See http://factorcode.org/license.txt for BSD license.
|
|
USING: help kernel xml ;
|
|
|
|
HELP: string>xml
|
|
{ $values { "string" "a string" } { "xml-doc" "an xml document" } }
|
|
{ $description "converts a string into an " { $snippet "xml-doc" }
|
|
" datatype for further processing" } ;
|
|
|
|
HELP: xml>string
|
|
{ $values { "xml-doc" "an xml document" } { "string" "a string" } }
|
|
{ $description "converts an xml document into a string" }
|
|
{ $notes "does not preserve what type of quotes were used or what data was omitted from version declaration" } ;
|
|
|
|
HELP: xml-parse-error
|
|
{ $description "the exception class that all parsing errors in XML documents are in." } ;
|
|
|
|
HELP: xml-reprint
|
|
{ $values { "in" "a string of XML" } { "out" "reprinted XML" } }
|
|
{ $description "parses XML and converts it back into a string, for testing purposes" }
|
|
{ $notes "does not preserve what type of quotes were used or what data was omitted from version declaration" } ;
|
|
|
|
ARTICLE: { "xml" "intro" } "XML"
|
|
"The XML module attempts to implement the XML 1.1 standard, converting strings of text into XML and vice versa. It currently is a work in progress."
|
|
$terpri
|
|
"The XML module was implemented by Daniel Ehrenberg, with edits by Slava Pestov. Main functions implemented include:"
|
|
{ $subsection string>xml }
|
|
{ $subsection xml>string } ;
|