class EL_PYXIS_XML_TEXT_GENERATOR

(source code)

Client examples: ECF_XML_GENERATORFTP_BACKUPPYXIS_TO_XML_CONVERTERPYXIS_TREE_TO_XML_COMPILER

Description

XML generator that does not split text nodes on new line character. Tabs and new lines in from text content are escaped.

note
	description: "[
		XML generator that does not split text nodes on new line character.
		Tabs and new lines in from text content are escaped.
	]"

	author: "Finnian Reilly"
	copyright: "Copyright (c) 2001-2017 Finnian Reilly"
	contact: "finnian at eiffel hyphen loop dot com"

	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2018-04-03 14:05:38 GMT (Tuesday 3rd April 2018)"
	revision: "4"

class
	EL_PYXIS_XML_TEXT_GENERATOR

inherit
	EL_XML_TEXT_GENERATOR
		rename
			make as make_generator
		redefine
			xml_escaper
		end

create
	make

feature {NONE} -- Initialization

	make
		do
			make_generator ({EL_PYXIS_PARSER})
		end

feature {NONE} -- Constants

	Xml_escaper: EL_XML_ZSTRING_ESCAPER
		once
			create Result.make
			Result.extend ('%T')
		end

end