20,741
edits
m (→The PropertyList format: cdata) |
(→CDATA) |
||
Line 106: | Line 106: | ||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
<?xml version="1.0" encoding="UTF-8"?> | |||
<nasal> | <PropertyList> | ||
<![CDATA[ | <nasal> | ||
<![CDATA[ | |||
]]> | # begin of code | ||
<nasal> | print("<!-- Hello World-->\n"); | ||
# end of code | |||
]]> | |||
<nasal> | |||
</PropertyList> | </PropertyList> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Note how the CDATA section now contains tokens/characters that would otherwise make the XML markup invalid. | |||
== PropertyList-based configuration files == | == PropertyList-based configuration files == |