| xsd:any help needed (4 replies, VIP) |
| microsoft.public.dotnet.xml |
| I've got the following really simple schema : ?xml version "1.0" ? xs:schema targetNamespace "urn:503A2B4E B364 47a4 AE5C 16E727275A70" xmlns:mstns "urn:503A2B4E B364 47a4 AE5C 16E727275A70" xmlns "urn:503A2B4E B364 47a4 AE5C 16E727275A70" xmlns:xs "http://www.w3.org/2001/XMLSchema" attributeFormDefault "qualified" elementFormDefault "qualified" xs:element name "SMSAdapter" xs:complexType xs:seque... |
|
| Adding DocumentType to XML-File (3 replies, VIP) |
| microsoft.public.dotnet.xml |
| Hello, does anybody have an example of how to create a simple "DOCTYPE" declaration such as: !DOCTYPE BMECAT SYSTEM "bmecat new catalog 1 2.dtd" I have an DataSet (dsCatalog), created with VS DataSet designer, which I'd filled with data. After that I like to add this declaration in line 2. This is my sample code but I doesn't work: XmlDataDocument doc new XmlDataDocument(dsCatalog); XmlDocumentTyp... |
|
| Automagically create database schema from XML dataset (4 replies) |
| microsoft.public.dotnet.xml |
| Hello. I am trying to create a database from an XML file. I am able to create a dataset from the XML doc, but how can I create a database schema from the dataset and populate the database? Or is this even possible using VS.NET 2003? Part of the XML file follows. Thanks for any help. Steven VS.NET 2003 and C# newbie! Part of the XML (one full record across several tables) !DOCTYPE PubmedArticleSet.... |
|
| Change XmlDocument Function to XPathDocument Function (3 replies, VIP) |
| microsoft.public.dotnet.xml |
| After everything I have read and some of my own testing I am convinced that XPathDocument are more efficient if you are only using XML for read only and not modifying the XML. However, I have been having problems doing same procedures I do with XPathDocuments in XPathDocuments. I have a configuration XML document, which holds all the configuration information for an application (see below sample).... |
|
| Web Service Error (2 replies, VIP) |
| microsoft.public.dotnet.xml |
| I'm trying to get a web service (with C#) to access a remote database, and provide a connection between the data (MS Access .mdb database) and a Windows client. At present I am running it all on localhost. However, I receive the error: System.Web.Services.Protocols.SoapException: Server was unable to process request. System.InvalidOperationException: The ConnectionString property has not been init... |
|
| Most efficient method of searching large xml document (3 replies, VIP) |
| microsoft.public.dotnet.xml |
| I am looking for the most efficient way of searching a large xml document ( 14mg). If I could get some pointers in the right direction. I am using VB.NET. It is readonly. |
|
| TreeView2Xml (2 replies) |
| microsoft.public.dotnet.xml |
| how to Convert TreeView Nodes to an XML File? |
|
| Bug in XslTransform within .NET framework 1.1 (2 replies, VIP) |
| microsoft.public.dotnet.xml |
| While parsing xpath expressions within an XSLT document the .NET XslTransform class seems to delete the first "/" after a "]" within an expression containing a "|". This problem can be demonstrated by the following short C# program. The program throws an exception saying that "a[1]c" is an invalid XPath expression. using System; using System.Xml; using System.Xml.XPath; using System.Xml.Xsl; names... |
|
| create proxy client class or web service method without using wsdl (3 replies, VIP) |
| microsoft.public.dotnet.xml |
| Hi, Is it possible to create a proxy client class or a web service method by VS.NET without using wsdl? My stupid client is using a xml schema (.xsd) to describe all their web service methods (and my webmethods) by Java (Apache toolkit) instead of using WSDL. What should I do? Thanks a lot! Raymond |
|
| Web service XMLSerializer WSDL parameter descriptions (2 replies, VIP) |
| microsoft.public.dotnet.xml |
| Hi, Is it possible to decorate web service parameters with attributes that can add documentation elements to the complex type for a web method in WSDL, something similar to what the WebMethodAttribute provides for the method itself. For something like [XmlRootAttribute("p")] public sealed class Point { [XmlElementAttribute("x")] public int XCoOrdinate; [XmlElementAttribute("y")] public int YCoOrdi... |
|
| Problem with recursive XSL templates (2 replies, VIP) |
| microsoft.public.dotnet.xml |
| I've discovered a quirk of .Net System.Xml.Xsl.XSLTransfrom that doesn't seem to exist in the MSXML2 transformation. When calling a recursive template for the first time, don't pass a parameter value using a variable with the same name as the parameter. This seems to cause the original value to remain constant in all recursive calls, even if you modify that value inside the template. To demonstrat... |
|
| xsd to xml (6 replies, VIP) |
| microsoft.public.dotnet.xml |
| Hi, Given an xsd,Could it be possible through some .Net api to generate an xml with mock up data as say xml spy does? Regards, Ash Hart |
|
| Pointing to the exact node (2 replies) |
| microsoft.public.dotnet.xml |
| Hi all, I have a xml document like this. table username xyz /username password abc /password /table table username pqr /username password mnp /password /table How can I point to node username where user is "pqr"? Subsequently load all the childnoes in a nodelist. A bit of C# code will be helpful. Thanks in advance for the help . Praveen Naregal |
|
| xml (2 replies) |
| microsoft.public.dotnet.xml |
| I am using C#.net and SQL Server I have developed an xml schema. I would like to retrieve fields from my table tblDetails stored in the SQL DB and append the XML file. RecordNum /RecordNum CarNum /CarNum Date /Date On a different form i would like to open the XML file again and this time append the XML file with fields from table tblPatient PatientID /PatientID Title /Title FName /FName SName /SNa... |
|
| XmlNode (2 replies, VIP) |
| microsoft.public.dotnet.xml |
| When an XmlNode method returns an XmlNode, such as a child, is this generated on the fly or is it the actual component of the internal tree structure? If the parent is moved in the tree, will the pointer remain valid? I have looked at as much of the structure as I can using .NET Reflector and I think it will, but I want to be sure. I 'm planning to add XmlNodes to the Tag property of TreeNodes in ... |
|
| Write xml to a string (4 replies) |
| microsoft.public.dotnet.xml |
| how can you create an xml document and put it in a string variable instead of writing it to a file? |
|
| Serialize xml into string variable (2 replies, VIP) |
| microsoft.public.dotnet.xml |
| When you serialize an object into xml is there a way to write this information into a string variable instead of a file. |
|
| Best Practice - XML processing? (11 replies, VIP) |
| microsoft.public.dotnet.xml |
| Hey all, I have an XML doc that I read into a SQL Server database from an integration feed.... XML snippet ?xml version "1.0" encoding "us ascii"? ! Product data from JDEdwards Root Root RvcDate "2004 02 03" RcvTime "14.16.03.795135" Product File 1234A /File Library XCOMM /Library ActionCode A /ActionCode TransDate 2004 02 03 /TransDate TransTime 14.18.39.337626 /TransTime Details Name "JBMCUS" Va... |
|
| distinct values (3 replies, VIP) |
| microsoft.public.dotnet.xml |
| Hi all! i have an xml dataset with places and monuments. several monuments for one place than the place appears several times. how can i can read the dataset like DISTINCT ROWS? or how can i make this with a dataview? thx in advance |
|
| XPATH generation for schema (3 replies, VIP) |
| microsoft.public.dotnet.xml |
| I am using XMLSPY to create various XML Schemas. In text documents we have the XPATH mapped to various of our databases. Here is the problem How do I verify that I don't have any typos in the documentation? I was wondering if there were any tools that would generate all possible XPATHs from a schema? Then I could compare the XPATH that are in the documentation with those derived from the schema. T... |
|
| xs:choice (2 replies, VIP) |
| microsoft.public.dotnet.xml |
| Hi all, I have a complex type defined as follows: xs:complexType name "SchedulingMethodType" xs:choice maxOccurs "1" xs:element name "Interval" type "xs:duration" / xs:element name "DailyAt" type "xs:duration" / /xs:choice /xs:complexType When I use this type in XML, I want to specify either Interval or DailyAt but not both, hence the use of xs:choice . However, when I create a DataSet generated b... |
|
| XSLT not closing XHTML tags question (4 replies) |
| microsoft.public.dotnet.xml |
| I have an XSL file that is being applied to an RSS feed, and it works great except for 2 things: 1.) XSL doesn't close the img tag for xhtml even though I have it being closed in the XSL file (I've tried img / and img /img ). This blows my xhtml compatibility. 2.) Also, the RSS feed has a namespace "dc", how do I extract data from the elements have a dc namespace? I've tried: div class "bodysm" i ... |
|
| Transforming XML to HTML using XSL in .NET (4 replies, VIP) |
| microsoft.public.dotnet.xml |
| Hi all, I need to transform an xml document, using xsl to a HTML output. I can do this successfully using the XslTransform class as below: Dim oTrans As New XslTransform oTrans.Load(sXSLPath) oTrans.Transform(sXMLPath, "c:\trans.htm") However, I need to transform everything from supplied strings. ie the XML and XSL are provided as inputs (not the paths). Any suggestions are appreciated. Thanks in ... |
|
| Render XML data island to HTML? (5 replies, VIP) |
| microsoft.public.dotnet.xml |
| I have an XML data island in my aspx web page. The XML includes a link (processing instruction) to an XSL stylesheet. Is there any way on this page to view the HTML, that results from the xsl transformation, as the contents of, say, a div? I know I can do it if I display only the XML in IE, but I don't know if I can do it as a fragment of an existing HTML page. TIA |
|
| Better xsd.exe out there? (2 replies, VIP) |
| microsoft.public.dotnet.xml |
| xsd.exe is great for generating typed datasets and classes(not so good) but are there better ones out there for .net? Currently xsd.exe seems to be limited in some ways and really can't get around working the resulting classes generated by it. Jiho |
|