Normalize-space against pretty-printing.
normalize- space与美观打印。
Many XML serializer tools understand this distinction between relatively safe and relatively unsafe pretty-printing.
很多XML序列化工具能够理解相对安全和不安全的的打印格式。
In practice, though, most vocabularies that use mixed content are not so sensitive to white space normalization, so don't worry too much about pretty-printing.
但在实践中,使用混合内容的多数词汇表对空白规范化没有这么敏感,因此不用过于担心精细打印。
Henri recommends a pretty-printing practice as in Listing 5, but I disagree because I think it makes for ugly markup that's not friendly to manipulation by people.
Henri提出了清单5所示的精细打印实践,但是我不同意,因为我认为那些难看的标记不容易理解。
But it is still often desirable to utilize these types of documents for purposes beyond simple viewing (such as indexing, compilation, pretty-printing, filtering, etc.).
但将这些类型的文档用于简单查看之外的用途(如建立索引、编译、以良好格式打印、过滤等)通常还是比较理想的。
Dip some color and print it, and you can see the pretty printing on paper.
我有一双小胖手,你有树叶和橡皮,蘸点颜色印纸上,彩色印纹真美丽。
Dip some color and print it, and you can see the pretty printing on paper.
我有一双小胖手,你有树叶和橡皮,蘸点颜色印纸上,彩色印纹真美丽。
应用推荐