Click here to Skip to main content
15,890,741 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: Processing Instruction Pin
johnsaxton15-Feb-05 3:36
johnsaxton15-Feb-05 3:36 
GeneralRe: Processing Instruction Pin
Phil Hobgen15-Feb-05 4:43
Phil Hobgen15-Feb-05 4:43 
GeneralRe: Processing Instruction Pin
johnsaxton15-Feb-05 6:59
johnsaxton15-Feb-05 6:59 
GeneralHandling a local XML file Using A Server Side Web Application Pin
parv_haghy12-Feb-05 6:41
parv_haghy12-Feb-05 6:41 
GeneralRe: Handling a local XML file Using A Server Side Web Application Pin
Wilbur J. Pereira13-Feb-05 7:46
Wilbur J. Pereira13-Feb-05 7:46 
GeneralHandling a local XML file Using A Server Side Web Application Pin
Anonymous12-Feb-05 6:28
Anonymous12-Feb-05 6:28 
Generalgenerating xml file from existing schema in C# Pin
saima azeemi11-Feb-05 23:28
saima azeemi11-Feb-05 23:28 
GeneralXmlTextWriter 101 Pin
Kenny O'Dell11-Feb-05 9:12
Kenny O'Dell11-Feb-05 9:12 
I'm new to the XML world and have been previously using INI type files in old DOS aps and latley in C++ for .NET. Now we're on to the world of C#.

I know I can use XmlTextWriter, but the examples don't help too much. Let me set it up for you.

The application will have lots of settings that the user can play with. For example, there will be a serial number (text data) and there will be some float data (like a float for the span adjustment of the device). I want to be able to save the contents of a text box to a XML file and read it back. I also will read/write from the target board. So, how you propose I do it? I can see several catagories of items to save, then several items under each catagory.

The following C# code doesn't work because it doesn't like the "fi" in the second line:

FileInfo fi = new FileInfo(saveFileDialog1.FileName);
XmlTextWriter writer = new XmlTextWriter(fi);

That's how I would have done in C++ prior to writing to an INI file.

Any help will be great, but please be specific. I'm just getting started in XML!


Kenny O'Dell
Sr. R&D Software Engineer
Mettler-Toledo Inc.
Inman, SC
GeneralRe: XmlTextWriter 101 Pin
Phil Hobgen11-Feb-05 23:33
Phil Hobgen11-Feb-05 23:33 
GeneralShow XML as excel sheet Pin
Anonymous11-Feb-05 8:10
Anonymous11-Feb-05 8:10 
GeneralRe: Show XML as excel sheet Pin
Wilbur J. Pereira13-Feb-05 8:21
Wilbur J. Pereira13-Feb-05 8:21 
GeneralProblem while Working with XmlValidatingReader!!!!! Pin
abcxyz8211-Feb-05 5:00
abcxyz8211-Feb-05 5:00 
GeneralRe: Problem while Working with XmlValidatingReader!!!!! Pin
Phil Hobgen12-Feb-05 2:24
Phil Hobgen12-Feb-05 2:24 
GeneralRe: Problem while Working with XmlValidatingReader!!!!! Pin
abcxyz8214-Feb-05 4:17
abcxyz8214-Feb-05 4:17 
GeneralRe: Problem while Working with XmlValidatingReader!!!!! Pin
Phil Hobgen14-Feb-05 23:06
Phil Hobgen14-Feb-05 23:06 
Generalproblems with IXMLDOMDocumentPtr ->loadXML Pin
mc.george11-Feb-05 2:26
mc.george11-Feb-05 2:26 
GeneralRe: problems with IXMLDOMDocumentPtr ->loadXML Pin
Wilbur J. Pereira13-Feb-05 8:07
Wilbur J. Pereira13-Feb-05 8:07 
Generalmaking the XML files more unique Pin
equit11-Feb-05 0:36
equit11-Feb-05 0:36 
GeneralRe: making the XML files more unique Pin
Wilbur J. Pereira13-Feb-05 8:01
Wilbur J. Pereira13-Feb-05 8:01 
Generalmsxml error in creating xml Pin
cj_rahul10-Feb-05 22:20
cj_rahul10-Feb-05 22:20 
GeneralRe: msxml error in creating xml Pin
Wilbur J. Pereira13-Feb-05 7:54
Wilbur J. Pereira13-Feb-05 7:54 
GeneralCustom UsernameTokenManager Problem Pin
Gizz10-Feb-05 5:03
Gizz10-Feb-05 5:03 
GeneralRe: Custom UsernameTokenManager Problem Pin
doogie10-Feb-05 6:32
doogie10-Feb-05 6:32 
GeneralRe: Custom UsernameTokenManager Problem Pin
Gizz24-Feb-05 2:56
Gizz24-Feb-05 2:56 
GeneralProblem in inserting tabindex for column Header in data grid Pin
Member 17164038-Feb-05 3:20
Member 17164038-Feb-05 3:20 

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.