Thanks.
Are there utilities in Xerces that allow carriage returns normalization
easier than let's say parsing the whole document and doing it manually?

On Thu, Feb 26, 2009 at 6:39 PM, <kesh...@us.ibm.com> wrote:

> Carriage return is ASCII 13, so &#13; or &xD; will represent that
> character.
>
> However, be sure you understand XML's rules for whitespace normalization in
> attribute values. Depending on what you're trying to do, you may want to
> replace that attribute with a child element... or replace the offending
> character with some notation that your application, rather than XML, will
> process appropriately.
>
> ______________________________________
> "... Three things see no end: A loop with exit code done wrong,
> A semaphore untested, And the change that comes along. ..."
>  -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (
> http://www.ovff.org/pegasus/songs/threes-rev-11.html)

Reply via email to