Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
681 views
in Technique[技术] by (71.8m points)

xml - What is HTML Entity '
'?

I'm generating an XML Document object via the DOMDocument class. In the process, some kind of whitespace within elements is being converted into 
. It's pretty difficult to search for this one since search engines treat this character as whitespace.

How do I scrub this character out of my xml output, or at least replace it with a different, preferable whitespace character?

Thanks.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

ASCII code 13 corresponds to a carriage return (in PHP, it's " ").


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...