Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
属性值中的 xerces 解析器将 eol 字符替换为空格
<prolog> <metadata name="my_name" value="my value"/> </prolog>
有什么办法可以保留 eol 吗?
发现它 正在工作,xerces 解析器将其自动转换为新行字符。$#10;
$#10;
如果您想要像 EOL 这样的字符,文本不应该在 CDATA 中吗?