Sunday, May 10, 2009

Parsing HTML or XML document with c++?

it is a c++ question

Parsing HTML or XML document with c++?
You can use the Xerces API to do that. Check here how to use:





http://xml.apache.org/xerces-c/


How to display the elements of XML file in a tree view using C# and ASP.NET?

help me in displaying the elements of sample.xml file in a tree view using ASP.NET and C#. Suggest some good sites that


gives detailed info on TreeView

How to display the elements of XML file in a tree view using C# and ASP.NET?
Search in MSDN library


What is the use of XML in c#?why we are using XML in c#?

funny, my question to you would be why are you bothering to use c# ???





Did you get a grant from the microsoft foundation and are trying to push microsoft pseudo-technologies??





XML is real world data encoding, without it people would still be appending low ascii record and field delimiters.








XML is your friend. c# is the spawn of the evil one.

phone cards

How do i use a xsd document to extract data from a MSSQL server db and create a XML file of that using C#.net?

Hi,


I have created a XSD file now I want to use it in MS VS .net 2003/ 2005 to extract data from multiple tables like customes and their orders and the bills for those orders and create an XML file based on the structures setup in XSD . Would like to c a working example on the net if possible could someone pls guide me . I require to create an executable so any one can use it I have another utility wherein they can modify the xsd as per the requirements .


Many thanks


Meherdad

How do i use a xsd document to extract data from a MSSQL server db and create a XML file of that using C#.net?
try running this sample query against your db and check out the output. It will output the data in XML format. This will hopefully give you a start. Unfortunatly I don't have any C# code for you.





select *


from orders


for xml auto, elements





here is a good tutorial on the basics of getting data from SQL server in XML format and using XML schemas





http://sqljunkies.com/Article/53969753-E...


I am using C# creating an xml file using xmltextwriter. I have a speed question.?

I am creating an XML file with 12 intervals of data each containing around 10 MB of information. I am timing the writing process and each interval takes longer than the previous one. The first one takes 4 seconds and the last one takes 79 seconds. Plotting each duration presents a pretty straight line. My guess is that XMLtextWriter seeks to end of file each time it adds a line thus the linear nature of the degradation. Any thoughts?

I am using C# creating an xml file using xmltextwriter. I have a speed question.?
I think you're right about the seek, maybe you could try creating 12 different files and then just splice them together at the end? This may get you around limitations of the object you're using.





Also, are you writing the file, closing it, and then re-opening it? If so, you should probably just write it all out at once, if possible in your scenario.





good luck!


Looking for C++ code to read an XML file and to retrieve the data?

I am looking for a sample project that runs on Visual C++ environment to read and parse data from an XML file

Looking for C++ code to read an XML file and to retrieve the data?
check out http://www.pscode.com for great examples.
Reply:may be http://www.codeproject.com/soap/xml_supp... will help you.


Is it possible To adobe indesign cs3 convert into xml in asp.net c#?

I m trying to convert the adobe cs3 file into xml in asp.net c#,can u send me the right way to do if it's possible ,


if it's not possible then why or

Is it possible To adobe indesign cs3 convert into xml in asp.net c#?
I don't believe so. Not with the results that I would expect anyway.





"you’re exporting only the text data and any graphics that have been tagged as XML elements. No layout information is included when you export XML."


-http://avondale.typepad.com/indesignupda...











1. Do you know how to run DoScript from c#?


c# requires a third argument (object WithArguments) that won't accept anything I throw at it @#(*%@








2. Have you found ANY substantial InDesign c# documentation?





I am trying to automate the assembly of a .indd





I'm tired of seeing all the level 1 examples out there.


ie. Here's how to make a textframe (Goofy laugh)





c# barely translates from js





I can't even begin to critize Adobe because I don't have enough time or message space here to fully portray my misery of using your products and services.


Superb job on the documentation! - yeeaahhhh

orange

XML DOM library in C++ UNIX?

Any idea that how can I manipulate (Adding and Removing) with XML nodes in UNIX C++? Any idea/ document about how to do the implementation using libxml or some other libs??? Any help will be appriciated.

XML DOM library in C++ UNIX?
You may want to look at the Apache Xerces project. They have a C (or C++) XML parser, which does DOM and SAX.


Need some code samples and sample projects in C# ASP.NET using XML?

Need some code sample projects in C# ASP.NET using only XML, XSL,XPATH..(no database usage like SQL,ACCESS,ORACLE)


Also i need to know is ther any free tool available tat maps XSL,XML to PDF..if u know pls let me know..ofcoz with code samples also..plssss

Need some code samples and sample projects in C# ASP.NET using XML?
XSL / XSLT Composer - is an open source tool for creating and testing XSL documents. Sources are available so you can also use it as code example.


Link: http://www.codeproject.com/tools/XSLTCom...





Here are a lot of examples for XML in .Net too


http://www.codeproject.com/soap/#XML


How can I get current node name , in the form of parentnode/parentnode/parentno... . In c# xml?

Suppose I have Following Xml File,





%26lt;?xml version="1.0"?%26gt;


%26lt;!-- Chapter8\Catalog1.xml --%26gt;


%26lt;Catalog%26gt;


%26lt;Product%26gt;


%26lt;ProductID%26gt;F10%26lt;/ProductID%26gt;


%26lt;ProductName%26gt;Shimano Calcutta %26lt;/ProductName%26gt;


%26lt;ListPrice%26gt;47.76%26lt;/ListPrice%26gt;


%26lt;/Product%26gt;


%26lt;Product%26gt;


%26lt;ProductID%26gt;F20%26lt;/ProductID%26gt;


%26lt;ProductName%26gt;Bantam Lexica%26lt;/ProductName%26gt;


%26lt;ListPrice%26gt;49.99%26lt;/ListPrice%26gt;


%26lt;/Product%26gt;


%26lt;/Catalog%26gt;





if i am at ProductName ,





So I want ,


Catalog/Product/ProductName





as current.Name.





I am Used Both XmlReader and XPathNavigator ,


But I Didn't find proper Method.





Is


XPathNodeIterator.Current.UnderlyingObje...





UseFul .


If UseFul then tell How .


I am trying to use it from two days ,


Please guid Me.


I am Using VS 2005.


Thanks in Advance

How can I get current node name , in the form of parentnode/parentnode/parentno... . In c# xml?
u dont able to do it