作者:so直接离我远点儿 | 来源:互联网 | 2023-09-14 19:44
IhaveaXMLdocthatistransformedtoHTMLbutIwanttheresultHTMLtobeassmallaspossible.
I have a XML doc that is transformed to HTML but I want the result HTML to be as small as possible. So I must remove all white spaces and line endings. How can I do that?
我有一个转换为HTML的XML文档,但我希望结果HTML尽可能小。所以我必须删除所有的空格和行尾。我怎么做呢?
4 个解决方案