1. Output smaller than or greater
In actual development, it is found that the "minor sign" is simply replaced with "& lt;", and the "minor sign" cannot be correctly displayed in the output, but you need to add such a sentence, as shown below:
<XSL: Text disable-output-escaping = "yes">
& Lt;
</XSL: Text>
<XSL: Text> the element is used to write a piece of text into the output document.
Disable-output-escaping
Attribute: it tells the processor to blindly copy its content to the result document.
Some escape characters of CDATA are prone to problems'<'
Character, then the processor for compilation
2.Symbol description
$: Parameter or variable
<XSL: Param name = "tablename"/>
For example, reference parameter value or variable value: <XSL: value-of select = "$ tablename"/>
3. The output ASPX page is garbled in the browser.
When you repeatedly copy and paste text or special symbols in a documentCodeTo solve this problem, add the encoding settings when the output is a file, as shown below:
Streamwriter Sw = new streamwriter (rootpath + "\ genertatefile \ Temp. aspx", false, system. Text. encoding. utf8 );
To be improved...