Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Data island in xslt

From: Martin Honnen <mahotrash@-----.-->
To: NULL
Date: 7/7/2006 7:00:00 PM



Mark Goldin wrote:


> Now I have another error:
> 
> 
>   End tag 'td' does not match the start tag 'p'. Error processing resource 
> 'file:///D:/projects/sfcs/operations/webmonitor/fo...
> 
>   <p align="center">Sewing</td>
> ----------------------------^

Well then close that <p> with a </p>. The XSLT stylesheet is an XML 
document and is parsed by an XML parser so you need to follow XML 
well-formedness rules.


>   Is it possible to say: from here to here treat it as a plain text?

XSLT (1.0) transformations are defined as a transformation of an input 
tree into a result tree where there are three optional methods to 
serialize the result tree, the xsl:output methods html, xml, and text.
So you can choose one output method for the whole result (e.g. 
xsl:output method="text" if you want plain text) but you cannot change 
output methods in the middle, the output method is only applied after 
the result tree has been created.

There is also the optional disable-output-escaping that in some cases 
(i.e. if the XSLT processor supports it in the situation you use it) can 
help to generate some output that is not well-formed XML. However often 
people turn to disable-output-escaping too soon if they don't come to 
terms with the pure XSLT way of solving things.


-- 

	Martin Honnen --- MVP XML
	http://JavaScript.FAQTs.com/


transparent
Print
Mail
Like It
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.

.
.

transparent

transparent