Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - testing for special characters >Thread Next - Re: testing for special characters Re: testing for special charactersTo: NULL Date: 8/19/2009 5:20:00 PM I tried: <xsl:if test=". != '$#13$#10$#9$#9$#9$#9'"> But that didn't work. Tom "tshad" <toms@p...> wrote in message news:Oy4rSiSIKHA.1340@T...... >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 > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
