[opencms-dev] Repost: xml-content, encoding and export point

lists at rueth.info lists at rueth.info
Wed Jan 12 12:40:05 CET 2005


Hi,

I repost the following questions a second time, as nobody seems to have
been able to answer them over the last two weeks. Hopefully now, as
Xmax holiday is definitely over, someone can...

They are mainly on xml-content, which I meanwhile successfully use
and which I think is really great.

QUESTION 1

I'm getting strange characters on my OpenCms 6 alpha 3 generated web
pages.
German Umlaute cannot be displayed correctly, even when I set <meta
HTTP-EQUIV="Content-Type" CONTENT="text/html"; charset="ISO-8859-1"> in
the
HTML header. Sometimes (I cannot really reproduce when exactly) OpenCms
replaces German Umlaute in my xmlcontent files (edited by htmlarea) with
those strange characters.

What do I have to do that everything runs smoothly?

- Where can I change the OpenCms default encoding, which seems to be
UTF-8,
but I want ISO-8859-1?
- Do I have to manually set the content-encoding for each file in its
properties?
- Shall I rather use <?xml version="1.0" encoding="ISO-8859-1"?> as
first
line in my xmlcontent files?

QUESTION 2

Does the <cms:contentload> tag allow to collect content in inverse
order? It
currently seems to sort it oldest first, newest last, but I want it
inversly
(newest first, oldest last).

QUESTION 3

How can I make sure that the classes of my own module are exported to
the
WEB-INF\classes folder? Alexander mentioned a "export point" once, but
what
is it and where can I set it?

QUESTION 4

I need to check the value of a xml element of type "OpenCmsBoolean" in a
xml-content while processing:

	...
	<TableOfContents>true</TableOfContents>
	...

The opencms taglib allows to check for the element itself using
<cms:contentcheck ifexists="TableOfContents">, but not for the value of
it
(true|false).

Any ideas?

QUESTION 5

Can anybody tell me the xsd structure of the Links element, which is
nested
inside the OpenCmsHtml element?

THAT WAS IT!

Thanks and regards
Ulrich



More information about the opencms-dev mailing list