[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

xhtml output formating problems / passing through pre

Subject: xhtml output formating problems / passing through pre defined static xhtml
From: Dominic Krüger <dominic@xxxxxxxxxxxxxxx>
Date: Thu, 9 Sep 2004 13:51:58 +0200
java formating output
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.