Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Data island in xslt [Thread Next] Re: Data island in xsltTo: 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/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
