Hi,
my name is Dominic and I'm new to this mailing list and to XSLT.
I'm using:
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
With Tomcat/5.0.27
And cocoon 2.1
Running on WinXP SP2
I am trying to write a xhtml file that consist of some static areas (pre
formated xhtml)and some dynamic areas I want to fill with content from an
xml file.
Filling in the content works fine.
My problem is that cocoon will not keep the formated xhtml that I copied
into the stylesheet.
The xhtml file to be generated is very complex and the IE 6 seems to have
major problems with displaying it correctly.
As soon as some of the formating ist lost the page just doesn't display as
wanted. For example some "<a href="">sample text </a>" tags have to have the
space behind the last character as in above example in order not to show a
carriage return and an empty line underneath and so on...
Is there a way of "passing through" the Static xhtml without cocoon touching
the "structure"?
My pipeline:
<map:match pattern="test.html">
<map:generate src="./content/sigml/full_sigml.xml"/>
<map:transform src="test.xslt">
<map:parameter name="contextPath" value="{request:contextPath}"/>
</map:transform>
<map:serialize type="xhtml"/>
</map:match>
Stylesheet : http://www.zeitdesigner.de/xslt/test.xslt
Output xhtml: http://www.zeitdesigner.de/xslt/test.htm
Thanks for any help or Ideas!!
Regards Dominic