Alerts XML Formatting

  • 1
  • Question
  • Updated 6 years ago
For the alert XML, does anyone know the character that is used for a break in the XML file? I have one big blob of text when there should be paragraphs. If I can figure that out, I'd do a find and replace to add a 'br' tag in my code.

i.e ...Air quality alert in effect from 10 am this morning to 10 PM EDT this evening... The New York state department of environmental conservation has issued an air quality health advisory for the following counties... Suffolk...Nassau...Richmond...Kings...Queens...New York...Bronx... Westchester...Rockland. In effect from 10 am this morning to 10 PM EDT this evening

There should be a break after the dots ' this evening... ' and 'following counties... '

Any help would be greatly appreciated. Thanks!
Photo of NYSTA

NYSTA

  • 18 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 1
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 123 Reply Likes
If you see this: \u000A that's a carriage return
Photo of NYSTA

NYSTA

  • 18 Posts
  • 0 Reply Likes
Hi Brendan,

Thank you for your reply. I don't see the \u000A in the XML file. I noticed that in the browser's source code, and in the XML file itself, the the the alert text is indeed formatted correctly, but for some reason, it is not when the browser renders it or the special character(s) is taken out after I'm grabbing the XML file. I can't seem to figure out a way to get it formatted by using find and replace in my VB code, but I've tried pretty much everything..