Hello,<br><br>I have a problem writing mulsiple nodes of the same name using the OpenCms Api.<br><br>This is what I want to achieve:<br><br><span style="font-family: courier new,monospace; color: rgb(102, 0, 204);"><XmlContentDocSimpleTypes xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" xsi:noNamespaceSchemaLocation="opencms://sites/knowledgebase/core/document.xsd"></span><br style="font-family: courier new,monospace; color: rgb(102, 0, 204);">

<span style="font-family: courier new,monospace; color: rgb(102, 0, 204);">  <XmlContentDocSimpleType language="en"></span><br style="font-family: courier new,monospace; color: rgb(102, 0, 204);"><span style="font-family: courier new,monospace; color: rgb(102, 0, 204);">    <Title><![CDATA[My Title]]></Title></span><br style="font-family: courier new,monospace; color: rgb(102, 0, 204);">

<span style="font-family: courier new,monospace; color: rgb(102, 0, 204);">    <Content name="Content0"></span><br style="font-family: courier new,monospace; color: rgb(102, 0, 204);"><span style="font-family: courier new,monospace; color: rgb(102, 0, 204);">      <links/></span><br style="font-family: courier new,monospace; color: rgb(102, 0, 204);">

<span style="font-family: courier new,monospace; color: rgb(102, 0, 204);">      <content><![CDATA[<p>lorem ipsum ...</p>]]></content></span><br style="font-family: courier new,monospace; color: rgb(102, 0, 204);">

<span style="font-family: courier new,monospace; color: rgb(102, 0, 204);">    </Content></span><br style="font-family: courier new,monospace; color: rgb(102, 0, 204);"><span style="font-family: courier new,monospace; color: rgb(102, 0, 204);">    <Tag><![CDATA[linux]]></Tag></span><br style="font-family: courier new,monospace; color: rgb(102, 0, 204);">

<span style="font-family: courier new,monospace; color: rgb(102, 0, 204);">    <Tag><![CDATA[web]]></Tag></span><br style="font-family: courier new,monospace; color: rgb(102, 0, 204);"><span style="font-family: courier new,monospace; color: rgb(102, 0, 204);">    <Tag><![CDATA[java]]></Tag></span><br style="font-family: courier new,monospace; color: rgb(102, 0, 204);">

<span style="font-family: courier new,monospace; color: rgb(102, 0, 204);">    <Author><![CDATA[me]]></Author></span><br style="font-family: courier new,monospace; color: rgb(102, 0, 204);"><span style="font-family: courier new,monospace; color: rgb(102, 0, 204);">    <ChangedDate>1317474420000</ChangedDate></span><br style="font-family: courier new,monospace; color: rgb(102, 0, 204);">

<span style="font-family: courier new,monospace; color: rgb(102, 0, 204);">  </XmlContentDocSimpleType></span><br style="font-family: courier new,monospace; color: rgb(102, 0, 204);"><span style="font-family: courier new,monospace; color: rgb(102, 0, 204);"></XmlContentDocSimpleTypes></span><br>

<br><br>And this is how I proceed:<br><br><span style="font-family: courier new,monospace; color: rgb(102, 0, 204);">CmsXmlContent xmlContent = null;</span><br style="font-family: courier new,monospace; color: rgb(102, 0, 204);">

<br style="font-family: courier new,monospace; color: rgb(102, 0, 204);"><span style="font-family: courier new,monospace; color: rgb(102, 0, 204);">I_CmsXmlContentValue xmlContentValue = null;</span><br style="font-family: courier new,monospace; color: rgb(102, 0, 204);">

<br style="font-family: courier new,monospace; color: rgb(102, 0, 204);"><span style="font-family: courier new,monospace; color: rgb(102, 0, 204);">xmlContentValue = xmlContent.getValue("Title", new Locale("en"));</span><br style="font-family: courier new,monospace; color: rgb(102, 0, 204);">

<span style="font-family: courier new,monospace; color: rgb(102, 0, 204);">xmlContentValue.setStringValue(cmso, "My Title");</span><br style="font-family: courier new,monospace; color: rgb(102, 0, 204);"><br style="font-family: courier new,monospace; color: rgb(102, 0, 204);">

<span style="font-family: courier new,monospace; color: rgb(102, 0, 204);">...</span><br style="font-family: courier new,monospace; color: rgb(102, 0, 204);"><br style="font-family: courier new,monospace; color: rgb(102, 0, 204);">

<span style="font-family: courier new,monospace; color: rgb(102, 0, 204);">xmlContentValue = xmlContent.getValue("Tag", new Locale("en"));</span><br style="font-family: courier new,monospace; color: rgb(102, 0, 204);">

<span style="font-family: courier new,monospace; color: rgb(102, 0, 204);">xmlContentValue.setStringValue(cmso, "linux");</span><br><br><br>If I repeat the last 2 calls, of course the "Tag" node is replaced.<br>

How can I add another "Tag" ? :-)<br><br><br>Best regards,<br>Yves<br>