If there are no linebreaks in the file, you will not get auto-formatting.
If this is the case, just hit "Format the whole document" button on the
toolbar (or use Edit | Advanced | Format Document menu ooption or Ctrl+K,
Ctrl+D).
Also, some XML documents contain instructions to preserve whitespace. In
this case, VS will not format the portions of the document to which these
instructions apply.
--
Stan Kitsis
Program Manager, XML Tools & Technologies
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
"Randolph Neall" <ra***********@veracitycomputing.com> wrote in message
news:Ok**************@TK2MSFTNGP03.phx.gbl...
I'm new to XML. I'm noticing that certain XML documents, when viewing XML
text, do not format in VS 2005. Instead, everything is rendered on one
long
line. In Internet Explorer, the text formats fine. What do I need to do to
get VS to format XML text for me?
Thanks,
Randy Neall