aspose file tools*
The moose likes XML and Related Technologies and the fly likes Standard convention for stripping linefeeds in a NodeValue? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Standard convention for stripping linefeeds in a NodeValue?" Watch "Standard convention for stripping linefeeds in a NodeValue?" New topic
Author

Standard convention for stripping linefeeds in a NodeValue?

Ben Ethridge
Ranch Hand

Joined: Jul 28, 2003
Posts: 108
Hi, all.

Is there a standard way of stripping linefeeds and tabs "\n\t" from the DOM NodeValue, so that the NodeValue contains just the "real" (i.e. human-readable) text?.

Obviously one can do it with simple string manipulation, but I was wondering if there were standard conventions or some such these days, since it seems like it would be such a common problem.

Ben
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Standard convention for stripping linefeeds in a NodeValue?