Click here to Skip to main content
15,885,278 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to check/control the url which WebBrowser's will navigate it (WebBrowse in Windows App.) Pin
Expert Coming11-Mar-09 0:01
Expert Coming11-Mar-09 0:01 
QuestionGetting image compression/codec information? Pin
Matjaz-xyz10-Mar-09 22:19
Matjaz-xyz10-Mar-09 22:19 
QuestionBypass the Open/Save dialogue box generated by webBrowswer.Navigate Pin
Goobashi10-Mar-09 22:02
Goobashi10-Mar-09 22:02 
AnswerRe: Bypass the Open/Save dialogue box generated by webBrowswer.Navigate Pin
Simon P Stevens10-Mar-09 23:04
Simon P Stevens10-Mar-09 23:04 
GeneralRe: Bypass the Open/Save dialogue box generated by webBrowswer.Navigate Pin
Goobashi10-Mar-09 23:11
Goobashi10-Mar-09 23:11 
GeneralRe: Bypass the Open/Save dialogue box generated by webBrowswer.Navigate Pin
Goobashi10-Mar-09 23:13
Goobashi10-Mar-09 23:13 
GeneralRe: Bypass the Open/Save dialogue box generated by webBrowswer.Navigate Pin
Simon P Stevens10-Mar-09 23:22
Simon P Stevens10-Mar-09 23:22 
QuestionAdding xml code to another xml file [modified] Pin
ipstefan10-Mar-09 22:01
ipstefan10-Mar-09 22:01 
I do this:
<pre>XDocument xmlDoc = new XDocument();
if (indice == 1)
{
xmlDoc =
new XDocument(
new XDeclaration("1.0", Encoding.UTF8.HeaderName, String.Empty),
new XComment("Xml Document"),
new XElement("alinieri",
new XElement("align",
new XAttribute("id",indice),
new XElement("edtlr-def",entry_node[idx]),
new XElement("wnrom-synset", wn_synset)
)
)
);
xmlDoc.Save("alinieri.xml");
}
</pre>
my entry_node[idx] is a string containing xml code,same is wn_synset.

My problem is that in the saved xml it shows this(just the beginning):

<alinieri>
<align id="1">
<edtlr-def>&lt;definition&gt;
&lt;SpecDef&gt;(Uneori cu determinări care indică sursa, provenienţa)&lt;/SpecDef&gt;

instead of
<definition><specdef>(Uneori cu determinări care indică sursa, provenienţa)</specdef>

as it is in the one of the strings.
And the & lt ; & gt ; were supposed to be < >. What should I do? </definition></edtlr-def></align></alinieri>

<div class="ForumMod">modified on Wednesday, March 11, 2009 4:08 AM</div>
Questionwrite dll component Pin
behzadcp10-Mar-09 21:12
professionalbehzadcp10-Mar-09 21:12 
AnswerRe: write dll component Pin
stancrm10-Mar-09 21:14
stancrm10-Mar-09 21:14 
GeneralRe: write dll component Pin
behzadcp10-Mar-09 21:51
professionalbehzadcp10-Mar-09 21:51 
GeneralRe: write dll component Pin
stancrm10-Mar-09 22:05
stancrm10-Mar-09 22:05 
GeneralRe: write dll component Pin
behzadcp10-Mar-09 22:21
professionalbehzadcp10-Mar-09 22:21 
GeneralRe: write dll component Pin
Xmen Real 10-Mar-09 22:55
professional Xmen Real 10-Mar-09 22:55 
AnswerRe: write dll component Pin
Eddy Vluggen10-Mar-09 23:51
professionalEddy Vluggen10-Mar-09 23:51 
Questionhow to set the application.StartupPath in asp.net Pin
prasadbuddhika10-Mar-09 20:33
prasadbuddhika10-Mar-09 20:33 
AnswerRe: how to set the application.StartupPath in asp.net Pin
Expert Coming10-Mar-09 21:50
Expert Coming10-Mar-09 21:50 
QuestionGetting this Error message....any one know y??? Pin
S K Y10-Mar-09 20:27
S K Y10-Mar-09 20:27 
QuestionRe: Getting this Error message....any one know y??? Pin
Goobashi10-Mar-09 22:04
Goobashi10-Mar-09 22:04 
GeneralRe: Getting this Error message....any one know y??? Pin
S K Y10-Mar-09 22:31
S K Y10-Mar-09 22:31 
AnswerRe: Getting this Error message....any one know y??? Pin
Eddy Vluggen10-Mar-09 22:12
professionalEddy Vluggen10-Mar-09 22:12 
GeneralRe: Getting this Error message....any one know y??? Pin
S K Y10-Mar-09 22:34
S K Y10-Mar-09 22:34 
GeneralRe: Getting this Error message....any one know y??? Pin
Eddy Vluggen10-Mar-09 22:40
professionalEddy Vluggen10-Mar-09 22:40 
GeneralRe: Getting this Error message....any one know y??? Pin
S K Y10-Mar-09 22:48
S K Y10-Mar-09 22:48 
QuestionRemoting -how to decide which Delegate i need to Invoke (Private Msgs) Pin
michael@cohen10-Mar-09 20:21
michael@cohen10-Mar-09 20:21 

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.