Hi, can anyone help
I want to rid my html of whitespace.

According to the XSLT spec, if a text node contains just whitespace - tab,
space, CR, LF
it will be stripped,

Also I'm trying belt abd braces, but still I'm getting the whitespace from
my XML throuhg into the HTML,
using a stylesheet like this ...

<?xml version="1.0"?>

<xsl:stylesheet
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
  version="1.0"
>
<xsl:output indent="no" />
<xsl:strip-space elements="*" />
<xsl:template match="/myelement">
  <html>
    <head>
      <title>My Page</title>
    </head>
<body>
...

The <xsl:strip-space elements="*" /> makes no difference

Anything else I need to do?
Do I somehow need to persuade xalan to take notice?
Does it take notice?

Christopher Watson


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to