Click here to Skip to main content
16,005,069 members
Home / Discussions / XML / XSL
   

XML / XSL

 
QuestionDeserialize unknown object Pin
Mogyi26-Sep-07 1:05
Mogyi26-Sep-07 1:05 
AnswerRe: Deserialize unknown object Pin
BoneSoft26-Sep-07 5:02
BoneSoft26-Sep-07 5:02 
AnswerRe: Deserialize unknown object Pin
led mike26-Sep-07 5:14
led mike26-Sep-07 5:14 
Questionxml stylesheet does not work for IMG tag Pin
prahlad198122-Sep-07 22:14
prahlad198122-Sep-07 22:14 
AnswerRe: xml stylesheet does not work for IMG tag Pin
George L. Jackson23-Sep-07 4:41
George L. Jackson23-Sep-07 4:41 
GeneralRe: xml stylesheet does not work for IMG tag Pin
prahlad198123-Sep-07 18:18
prahlad198123-Sep-07 18:18 
GeneralRe: xml stylesheet does not work for IMG tag Pin
George L. Jackson24-Sep-07 0:27
George L. Jackson24-Sep-07 0:27 
QuestionXML Encryption on StreamWriter Pin
Member 450778122-Sep-07 6:01
Member 450778122-Sep-07 6:01 
Hi,

My application has a class CUser which represents a user. The application serializes the user object to XML like this:

CUser aUser = new CUser("firstname", "surname", "address");
XmlSerializer serializer = new XmlSerializer(typeof(CUser));
StreamWriter streamWriter = new StreamWriter("user.xml");
serializer.Serialize(streamWriter, aUser);
streamWriter.Close();

I've been asked to have the user details encrypted so people can't casually look at the user details. From the above I'd like to encrypt the XML strings as they're written to the file but is there an easy way of doing it? It seems that it would be convenient to have the data encrypted by the StreamWriter and then decrypted by a StreamReader. I'll need a password so how do I manage that within the application?

Thanks Smile | :)
QuestionHow to load xml file to a datatable Pin
Diego F.20-Sep-07 6:15
Diego F.20-Sep-07 6:15 
AnswerRe: How to load xml file to a datatable Pin
Diego F.20-Sep-07 7:14
Diego F.20-Sep-07 7:14 
GeneralRe: How to load xml file to a datatable Pin
Diego F.20-Sep-07 7:26
Diego F.20-Sep-07 7:26 
Questionxml stylesheet to customize Excel - How to change column width Pin
umakemesik18-Sep-07 11:59
umakemesik18-Sep-07 11:59 
AnswerRe: xml stylesheet to customize Excel - How to change column width Pin
Ed.Poore18-Sep-07 12:44
Ed.Poore18-Sep-07 12:44 
QuestionHelp need for XSL file Pin
_anil_17-Sep-07 23:03
_anil_17-Sep-07 23:03 
QuestionProblem with SQL Server bulk load XML def Pin
mintxelas17-Sep-07 22:44
mintxelas17-Sep-07 22:44 
Questionlimited iteration Pin
TClarke14-Sep-07 2:11
TClarke14-Sep-07 2:11 
AnswerRe: limited iteration Pin
George L. Jackson14-Sep-07 11:43
George L. Jackson14-Sep-07 11:43 
GeneralRe: limited iteration Pin
TClarke17-Sep-07 0:28
TClarke17-Sep-07 0:28 
GeneralRe: limited iteration [modified] Pin
George L. Jackson17-Sep-07 9:57
George L. Jackson17-Sep-07 9:57 
GeneralRe: limited iteration Pin
TClarke3-Oct-07 4:11
TClarke3-Oct-07 4:11 
Questionxml to html with c# Help Please Pin
phillippio13-Sep-07 13:14
phillippio13-Sep-07 13:14 
AnswerRe: xml to html with c# Help Please Pin
George L. Jackson14-Sep-07 1:48
George L. Jackson14-Sep-07 1:48 
GeneralRe: xml to html with c# Help Please Pin
phillippio14-Sep-07 11:11
phillippio14-Sep-07 11:11 
GeneralRe: xml to html with c# Help Please Pin
George L. Jackson14-Sep-07 11:39
George L. Jackson14-Sep-07 11:39 
QuestionWriting xml as a DiffGram Pin
steve_rm12-Sep-07 21:50
steve_rm12-Sep-07 21:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.