DCMTK Version 3.7.0 OFFIS DICOM Toolkit

Classes | Typedefs
Helper class to create XML files using "printf", "fprintf", "cout",... functions.
The XML parser

## Classes
struct | ToXMLStringTool
| Helper class to create XML files using "printf", "fprintf", "cout",... functions. More...

## Typedefs
typedef struct XMLDLLENTRY ToXMLStringTool | ToXMLStringTool
| Helper class to create XML files using "printf", "fprintf", "cout",... functions. More...

## Detailed Description

## Typedef Documentation

## ◆ ToXMLStringTool

typedef struct XMLDLLENTRY ToXMLStringTool ToXMLStringTool

Helper class to create XML files using "printf", "fprintf", "cout",... functions.

The ToXMLStringTool class helps you creating XML files using "printf", "fprintf", "cout",... functions. The "ToXMLStringTool" class is processing strings so that all the characters &,",',<,> are replaced by their XML equivalent:

    &amp;, &quot;, &apos;, &lt;, &gt;

Using the "ToXMLStringTool class" and the "fprintf function" is THE most efficient way to produce VERY large XML documents VERY fast.

Note
  If you are creating from scratch an XML file using the provided XMLNode class you must not use the "ToXMLStringTool" class (because the "XMLNode" class does the processing job for you during rendering).

Generated on Mon Dec 15 2025 for DCMTK Version 3.7.0 by Doxygen 1.9.1