[opencms-dev] New XML Structured Content - How to get it to show up?
Weide Chen
gmail8000-opencms at yahoo.com
Tue Feb 22 15:41:04 CET 2005
Hi,
Does anyone know how I can get the XSD file that I
have created to show up in the new Structured Content?
I have just installed OpenCms6.0B1 on Tomcat 5.0.
For example, I have created an XSD file called
mynews.xsd, but this does not show up when I selected
the Create New Structure Content option. It seems
that I need to create some kind of resource type, but
do not where and how to do so.
By the way, there is an entry on all the sample XSD
files (i.e. article.xsd etc) that appear in
opencms-modules.xml file. It reads
<type
class="org.opencms.file.types.CmsResourceTypeXmlContent">
<param
name="resource.type.id">12</param>
<param
name="resource.type.name">article</param>
<param
name="schema">/sites/default/xmlcontent/article.xsd</param>
</type>
Do I have to include any added xsd file in here? If
so, how would I know what the "resource.type.id" value
is?
Thanks.
Weide
More information about the opencms-dev
mailing list