Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


testing for special characters

From: "tshad" <toms@----.--->
To: NULL
Date: 8/19/2009 4:56:00 PM
I just ran into an issue where my xml files have a carriage return, line 
feed and 6 tabs inside my tags.

Normally I would see something like:

<address></address>

but now I seem to be seeing:

<address>0D0A09090909</address>

Where 0D is a carriage return, 0A is a line feed and 09 is a tab.

I normally test for a blank fiield like so:

<xsl:when test=". != ''">

but this doesn't work for this.  How would I test for these special 
characters?

I am trying to get the people who create the form to fix it, but until then 
I still need to process the xml files.

Thanks,

Tom 




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent