Altova Mailing List Archives

Re: Is this a bug?

From: TonyJebson@-----------.---------.---
Date: 12/15/2005 2:13:00 AM
"Joe Fawcett" wrote:
> But is the actual HTML faulty, i.e. no space between the characters, or is 
> it being rendered incorrectly?
> Which processor are you transforming with and can you show a snippet of the 

Actually, I've just found my problem I think - the name space in my header 
was wrong.  I had xmlns:HTML="", once the ":HTML"
is removed it works fine.

FWIW,  I'm using MSXML 6.0 (6.00.3883.8).

The full XML can be found at
And the XSL at
To see what it looks like

However, those are too big to digest, so here's some relevant snippets:

<?xml version='1.0'?>

<xsl:stylesheet xmlns:xsl="" 
version="1.0" xmlns="">

  <xsl:output method="html"/>
  <xsl:param name="edition">x</xsl:param>

  <xsl:template match="/">

        <xsl:apply-templates select="/TEI.2/text"/>

  <xsl:template match="p">
        <xsl:attribute name="id">
          <xsl:value-of select="@id"/>

Source XML:
      <p id="ad443" n="443">
        <add hand="hand8">
          Her [...] wið Ætla [...].

Result HTML (with wrong namespace):
        <span style="color: green">
          Her [...] wiðÆtla [...]

Result HTML (with correct namespace):
        <span style="color: green">
          Her [...] wið Ætla [...]


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.