Quantcast
Channel: SharePoint Legacy Versions - Using SharePoint Designer, InfoPath and Other Customizations Forum
Viewing all articles
Browse latest Browse all 2319

How save xml-stylesheet (appearance) of Infopath xml when make a update

$
0
0

Hi, please advise.

i want to update xml, which looks like:

<my:Allgemeine_Infos><my:Projektnummer>Test</my:Projektnummer><my:Datensatzstatus>in Bearbeitung</my:Datensatzstatus><my:Datum>2014-10-06</my:Datum><my:Ersteller><pc:Person><pc:DisplayName>Test user</pc:DisplayName><pc:AccountId>lalala</pc:AccountId><pc:AccountType></pc:AccountType></pc:Person></my:Ersteller><my:DatensatzID>Test</my:DatensatzID></my:Allgemeine_Infos>

It is a Xml-file from Infopath library. I get a xml content using XmlDocument.InnerXml, but in this case i receive a content as one line:

<my:Allgemeine_Infos><my:Projektnummer>Test</my:Projektnummer><my:Datensatzstatus>in Bearbeitung</my:Datensatzstatus><my:Datum>2014-10-06</my:Datum><my:Ersteller><pc:Person><pc:DisplayName>Test user</pc:DisplayName><pc:AccountId>lalala</pc:AccountId><pc:AccountType></pc:AccountType></pc:Person></my:Ersteller><my:DatensatzID>Test</my:DatensatzID></my:Allgemeine_Infos>

Is there a way to receive it not as 1 line or to save it not as 1 line?

Thanks :)



from MSDN forum...


Viewing all articles
Browse latest Browse all 2319

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>