Click here to Skip to main content
15,888,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello guys
I have 1675 line Code. Want to when user click button textbox.text insert into this xml spreadsheet and then create on desktop. does it possible? how can i insert text in current xml spreadsheet row?

For example :
<<pre lang="xml">Cell ss:StyleID="s38"/>
        <Cell ss:StyleID="s39">
          <Data ss:Type="String">ვაშლიჯვარი</Data>
        </Cell>
        <Cell ss:StyleID="s36"/

>
Please help me, advice something its very important for me or give some good tutorials.
Posted
Comments
Tarun.K.S 15-Nov-10 8:35am    
can you display some more part of the xml?

1 solution

i just want to save or create new filled xml spreadsheet
i uploaded full .xml file
http://rapidshare.com/files/431000496/EL-Zednadebi.xml[^]
this more part of code

<pre lang="xml"></Style>
<Style ss:ID="m69329980" ss:Parent="s16">
 <Alignment ss:Horizontal="Center" ss:Vertical="Bottom"/>
 <Borders>
  <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
  <Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
  <Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
  <Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
 </Borders>
 <Font ss:FontName="AcadNusx" ss:Size="8"/>
 <Interior ss:Color="#FFFFFF" ss:Pattern="Solid"/>
</Style>
<Style ss:ID="m69330020" ss:Parent="s16">
 <Alignment ss:Horizontal="Center" ss:Vertical="Bottom"/>
 <Borders>
  <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
  <Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
  <Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
  <Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
 </Borders>
 <Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Bold="1"/>
 <Interior ss:Color="#FFFFFF" ss:Pattern="Solid"/>
</Style>
<Style ss:ID="m69330040" ss:Parent="s16">
 <Alignment ss:Horizontal="Center" ss:Vertical="Bottom"/>
 <Borders>
  <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
  <Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
  <Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
  <Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
 </Borders>
 <Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Bold="1"/>
 <Interior ss:Color="#FFFFFF" ss:Pattern="Solid"/>
</Style>
<Style ss:ID="m69330060" ss:Parent="s17">
 <Alignment ss:Horizontal="Center" ss:Vertical="Bottom"/>
 <Borders>
  <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
  <Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
  <Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
  <Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
 </Borders>
 <Font ss:FontName="AcadNusx"/>
 <Interior ss:Color="#FFFFFF" ss:Pattern="Solid"/>
</Styl

e>
 
Share this answer
 
Comments
Tarun.K.S 15-Nov-10 9:15am    
but this one is a bit different from the one that you gave above. and where do you want to put the data from the textbox? to the xml? if xml then in which portion of the xml do you want to put data.
Tarun.K.S 15-Nov-10 9:31am    
well i can provide you some links if you want to add nodes to an xml(to put text) :
http://www.java2s.com/Tutorial/CSharp/0540__XML/Catalog0540__XML.htm
http://www.codeproject.com/KB/cpp/myXPath.aspx

i would recommend you to learn XPath also to traverse the XML.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900