By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,641 Members | 2,101 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,641 IT Pros & Developers. It's quick & easy.

wrapping long attribute value (line-continuation for attribute value)

P: n/a
I have an extra long attribute value, and can't find a way to wrap it
several short lines in my text editor, so that it stays nicely human

Is there a line-continuation escape-code for attribute values, which
could be
used in a std text edior for writing nicely formatted xml?

Just to avoid a misunderstaning: I do not want to have NewLines in the
the resulting attribute value, I just want to format in the raw xml in
the text editor.

E.g. I would want to do something like this ("\n" is faked bleow)
attributename="very LONG attribute text\n
attribute text continued"


Aug 2 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Is there a line-continuation escape-code for attribute values

Actually, ordinary newlines in attribute values get turned into spaces
-- see

But you're going to confuse a lot of people, since that feature is VERY
rarely used deliberately.

Personally, I'd recommend switching to an editor that can do a better
job of displaying your XML content, but...
Aug 2 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.