[opencms-dev] only one language in xml content after creating a new file
Daniel Wiesner
daniel.wiesner at av-studio.de
Wed Nov 30 09:50:19 CET 2005
hello,
is it possible to tell OpenCms that it creates both language parts after
creating a new file?
for example after creating a new file I have this:
<?xml version="1.0" encoding="UTF-8"?>
but I want this:
<NewsArticles xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="opencms://system/modules/de.halle.hfs.homepage/schemas/news.xsd">
<NewsArticle language="de">
<Title/>
<Teaser/>
<Text name="Text0">
<links/>
<content/>
</Text>
<Date>1133338014668</Date>
</NewsArticle>
<NewsArticle language="en">
<Title/>
<Teaser/>
<Text name="Text0">
<links/>
<content/>
</Text>
<Date>1133338014668</Date>
</NewsArticle>
</NewsArticles>
best regards
Daniel
More information about the opencms-dev
mailing list