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

Re: how to force start and end tags

Subject: Re: how to force start and end tags
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Fri, 28 Nov 2003 20:11:16 +0100
force apache to start
Tassos Anastasiou wrote:
I am using XMLSpy. Any idea why it's writing <p/> instead of <p></p>

In XML <p></p> and <p/> are equivalent. XML tools are required to do exactly the same for either form. Your problem is probably that you look at the result in a browser without telling it that you are using XHTML. Browsers expect HTML and will ignore the <p/> form, which in turn causes them to assume the cells don't have content and suppress cell boundaries.

The easiest fix is probably to tell the XSLT processor to generate
HTML instead of XML by using
  <xsl:output method="html"/>
immediately at the beginning of the style sheet. Look up details
in the spec:
  http://www.w3.org/TR/xslt#output

J.Pietschmann


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



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-2007 All Rights Reserved.