Altova Mailing List Archives


[xsl] outputting   to HTML (not so final answer)

From: Aniceto L&oacute;pez <aniceto@------------->
To:
Date: 12/17/2001 6:49:00 AM
THANKS Jeni T. for your big efford teaching me.

In this case I can't use <xsl:output encoding="US-ASCII" /> due to
other important problems and many times this "<td>&nbsp;</td>" is not
the only way I have to use non-breaking space. Web design is forcing me
to use &nbsp;&nbsp;&nbsp;&nbsp;... (the only way in htm to have some
" " concatenated) so I still need the "&nbsp;" and the only solution I fint is
the so hated <xsl:text disable-output-escaping="yes">&#38;nbsp;</xsl:text>

is this

  Note:   disable-output-escaping="yes" can be used to generate non-well-formed
  documents, and thus should be used with caution, since non-well-formed output
  may generate errors in certain circumstances. For example, transformNodeToObject
  to an XML document requires that the result be well-formed and thus may not
  complete if disable-output-escaping has affected the well-formedness of the document.
  Consider disable-output-escaping="yes" an advanced feature to be used only when the
  potential dangers are understood. 

why some are screaming when thay see a disable-output-escaping="yes"?

Now I understand what
  <?xml version="1.0"?>
  <!DOCTYPE xsl:stylesheet [
  <!ENTITY nbsp '&#160;'>
  ]>
means but it makes no differrence to solve the problem.

Mark Nahabedian: YES I've read the extensive discussion of this topic on the
list over the past two weeks but I'm not sure YOU've read MY questions because
you're not saying enithing new so if this is all the help you can offer PLEASE
don't do it for me, I know rules of conduct and the fisrt of all is: BE POLITE or LEAVE me alone!
(create a rule in your mailsoft to sent my mails straight to deleted items please)

Thanks all but Mark

Aniceto Lopez

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

Disclaimer

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 www.altova.com/list/index.html. 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.