![]() |
Line Feed & Carriage Return with XML?
Dear :
I have XML File like : <Root> <Body> Large Text </Body> </Root> is there a way to provide a Line Feed for the Large text like (\n\r) in many programming languages. Regards |
Re: Line Feed & Carriage Return with XML?
I usually prepend a text node to achieve padding:
doc.AppendChild(XML.CreateTextNode( "\n\t")); -- Jure Špik |
Re: Line Feed & Carriage Return with XML?
How about:
<Root> <Body> Large Text </Body> </Root> There is a line feed in the element now. -- HTH, Kevin Spencer ..Net Developer Microsoft MVP I get paid good money to solve puzzles for a living "Raed Sawalha" <RaedSawalha@discussions.microsoft.com> wrote in message news:4C54941F-FDBC-4A5C-B467-1FEDEC728C2C@microsoft.com... > Dear : > > I have XML File like : > > <Root> > <Body> > Large Text > </Body> > </Root> > is there a way to provide a Line Feed for the Large text like (\n\r) in many > programming languages. > > Regards |
| All times are GMT. The time now is 07:56 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.