HTML formatted data display in XML

xiaoxiao2021-03-06  160

In the forum, you will often encounter such problems, and the number of answers can't remember.

XML file:

ssm1226 ]>

When using XSL to convert it, the processing in the standard and draft is different.

Standard:

View tag description:

Where: disable-output-escaping:

Default is "no". If the value is "yes", a text node generated by instantiaating the element will be output without any escaping. For example, the following generates the single character "<".

For the above XML file, the XSL file can be like this:

in the draft script expression, output a text string

XSL:

this.text

Output HTML code:

ssm1226

转载请注明原文地址:https://www.9cbs.com/read-128456.html

New Post(0)