Hallo Philipp,
Tja, leider war ich noch nicht im Stande, die '&' unkodiert
ausgeben zu lassen. Hat vielleicht noch wer eine Idee? - Mir
werden, um es nochmals zu wiederholen, alle '&' in '&'
ersetzt, was zwar normalerweise OK ist, jedoch in meinem
Kontext nicht erwünscht ist.
Wie siehts mit perldoc XML::DOM::Entity aus? Und mit
createCDATASection? Aus perldoc XML::DOM:
IMPLEMENTATION DETAILS
[...]
Text and CDATASection nodes
The Expat parser expands EntityReferences and
CDataSection sections to raw strings and does not
indicate where it was found. This implementation
does therefore convert both to Text nodes at parse
time. CDATASection and EntityReference nodes that
are added to an existing Document (by the user)
will be preserved.
Also, subsequent Text nodes are always merged at
parse time. Text nodes that are added later can be
merged with the normalize method. Consider using
the addText method when adding Text nodes.
Gruesse,
CK