[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT 2.0: Character Output Issue
Sam Byland wrote: Agreed (in general anyway). Notice I didn't put such an element into my simplified example. In the real stylesheet set I have to put it there or it doesn't end up in the output. I never got around to trying to figure out why this was the case since adding the meta element to the stylesheet fixed the problem. Note that my actual stylesheet is quite large (both in number of xsl files being imported/included and lines of code), using many modes etc. In this case, we have: <xsl:result-document href="{$OutputFileName}" format="WordHTML"> <xsl:apply-templates select="$ProcedureNodes" mode="Output"> ... </xsl:apply-templates> </xsl:result-document> where the "Output" mode stylesheet code resides in another file where, after setting up several variables etc., it has: <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word"> <head> <meta http-equiv='Content-Type' content="text/html; charset=windows-1252"/> <meta name='ProgId' content='Word.Document'/> <meta name='Generator' content="Microsoft Word 9"/> <meta name='Originator' content="Microsoft Word 9"/> ...and so on.... If I remove that first meta line, it doesn't appear in the output... ...sam
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|