1. Searching simple sample for loading a XML document and access a node through XPath expression ?
I would like to load an XML document from say D:\mytask\mydoc.xml into a CSharp and to retrieve from the resulting XML node tree a certain node/element by specifing an XPath expression. Does someone know a simple CSharp sample source which shows how to implement this task ? Werner
2. Unusual characters in XML document cause xml load problem - CSharp/C#
3. Searched XML document to Excel or Access file type
I am working on a project where I need to take an XML document, search through it and produce an Excel or Access file with the search results. Any suggestions for how this can be done?? I am new to XML (learning it as I type).
4. "Access is denied" load a simple xml file
5. Which ms technology for searching xml documents?
Hi, We have an ASP.NET site,and a data base which contains different types of XML documents I would like to ask which technology is best to use for searching XML documents. My concern is that a 'simple' search on the XML document can retrieve wrong results if the search will ignore the fact that the XML have a schema inside for example assuming I have simple XML <FirstName>Julia the Last<FirstName> <LastName>Adriano<LastName> Running query to look for 'Last' will also find the LastName 'Tag' Thanks in advance
6. Define a development approach to Parse/Load/Search an XML document of size ~1GB
7. Loading an XML document using WebMethod of Web Service
-- My code is listed as follows.
public class WebService1 : System.Web.Services.WebService
{
public WebService1()
[WebMethod(CacheDuration = 50,
Description="Load XML Document")]
public DataSet GetBigData()
{
System.Xml.XmlDocument doc = new System.Xml.XmlDocument();
doc.Load(Server.MapPath("C:\WebServices\UseData\UseData1.xml"));
System.Xml.Xsl.XslTransform trans = new
System.Xml.Xsl.XslTransform();
trans.Load(Server.MapPath("MyStyle.xsl"));
Xml1.Document = doc;
Xml1.Transform = trans;
}
}
I got error messages of "Unrecognized escape
sequence C:\WebServices\WebService1.cs". Apparently, it did not like "\".
Can someone help me with this code and make it work?
--
Csharp?