tango.text.xml.DocEntity

Members

Functions

fromEntity
T[] fromEntity(const(T)[] src, T[] dst)

Convert XML entity patterns to normal characters

fromEntity
void fromEntity(const(T)[] src, void delegate(const(T)[]) emit)

Convert XML entity patterns to normal characters <pre> &amp; => ; &quot => " etc </pre>

main
void main()
toEntity
T[] toEntity(const(T)[] src, T[] dst)

Convert reserved chars to entities. For example: " => &quot;

toEntity
void toEntity(const(T)[] src, void delegate(const(T)[]) emit)

Convert reserved chars to entities. For example: " => &quot;

Meta

License

BSD style: $(LICENSE)

Version

Aug 2008: Initial release