|
Search
Tutorials and Code
Syndication
My Account
Community Forums
Webmaster Tools
Tech Jobs
|
VSTO 2005: Error In Schema Files GenerationIn XML schema generation from a WordML document, VSTO 2005 VSTO creates 6 files (general naming pattern): XML.XSD ... XML5.XSD. For our file names we use a special syntax for additional information...
XmlSerializer Does Not Encode Special Characters Like &I have a class named Config that I would like to serialize to XML using XmlSerializer. That class has a couple of string properties that may contain special characters like , &, etc. I am currently...
Xsd.exe Missing A "global::"I need to generate C# classes from some existing .xsd files and one of the resulting classes unfortunately has a member called "System". This breaks things further down in the same class where it...
Repair Excel Filehi, Microsoft is very famous spreadsheet application which provides multiple works at a time like calculation, graphing tools, pivot tables, chart and more arithmetic formulas. But whenever our documents...
Need Advice On Big Projectwell, big for us anyway... 2 developers, 1 year. I am looking for general good approaches for handling this. Given VS 2008, a collection of some old legacy code, and 2 man years we need to build...
Daviantraysigned sres details recent frequency events 103
How To Specify The Url For A Server On Local Network For POST MethHi, I am using MSXML in my device driver for sending XML commands to the device acting as server. This device is connected to my local network. How do I specify the url for POST method in the...
XML, .NET 2.0 Interop DLL And Classic ASP InquiryHi all in ng, If you send the string representation of the outerxml of an xmldocument from a .NET 2.0 COM Interop DLL to a calling classic ASP page, why is it you lose the formatting when you create...
XAML -- Set Defaults For A Form?Hello, Is it possible to set a default property for all controls on a form? I have a Window, on it a Grid, and on the Grid a variety of controls. Using Style, I can set the Font for a control...
Sending XML Over HTTP PortHi, Our device driver is supposed to communicate with the device, connected on network, over HTTP port. The device accepts commands in XML format and sends back XML response. From the driver...
Replace XmlDocument Underlying XPathNavigator ObjectHello, I am trying to dynamically load a document in Infopath 2007. I would like to capture the FormEvents_Loading event and load the data from the database. The aim is to replace the maindatasource...
Load Tree View From XmlAll, New to VB 2008, I'd like to learn how I can load a tree view from an xml file linked to the form load event. simpler the better so I can understand the process. Not positive I generated the...
How Speed Up DTD Loading?Hello! I have a problem with loading several svg files. I use the XmlReader for performance, but in the files there's a !DOCTYPE definintion and when the reader hits that element it seems to stall...
Sort XmlDocument Into A Random OrderHi, Is it possible to sort an xmlDocument into a random order and if so how would one do this? My xmlDocument is stored in cache and is bound to a gridview. I cant take the data and store in...
Icon For XML DataHi; We need a good icon that stands for "XML datasource." Is there anything out there in common use for that? thanks - dave david@at-at-at@windward.dot.dot.net Windward Reports -- http://www...
Effectient Way To Encode CDATA ElementsOk, I'm reading data from a stream using a StreamReader. The data inside the stream is not xml, it could be anything. Based on the input StreamReader I'm writing to an output stream using an XmlTextWriter...
Linq XElement Addhello, I am new to Linq I have: XElement newTables = new XElement("tables",null); I then add new elements to it: newTables.Add(new XElement("table", new XAttribute("Name...
How To Select Nodes Where Text Is Not Empty?Hello , I'm looking in my sample xml for the sample node where both entities (id and name) are set, in the sample output it is possible that name entity can be empty, id is allways given. sample...
CDATA, XmlTextWriter, Read DataHi All, I am using XmlTextWriter to write CDATA section using following code: XmlTextWriter xtw = new XmlTextWriter(Console.Out); xtw.WriteStartElement("data"); xtw.WriteCData("UNSAFE SCRIPT DATA...
SelectNodes ProblemHi All, Need help with this. Here is my xml 5000-1FE1-0015-4660 5000-1FE1-5005-CAE0...
ANN: Liquid Technologies Releases New Freeware XML Studio AndLiquid Technologies Ltd (http://www.liquid-technologies.com) is pleased to announce the latest release of its free graphical XML development environment, Liquid XML Studio 2009. Liquid XML Studio...
Generating An XmlDocument From An XmlWriterhi, I would like to make an XmlWriter write directly into an XmlDocument rather than writing it to a stream and then having to load it into a document. in the documentation for XmlWriter it rather...
Versioning A DataSetHi, I have a DataSet defined in Visual Studio 2008 with an XSD file. The contents are saved to an XML file using DataTable.WriteXml() and read back using DataTable.ReadXml(). Now I am going...
Traversing XML With Linq To XML - Newbie QHi I am struggling to navigate an XElement and I'm not sure what is going wrong. Here's my XML via vb's xml literals Dim l_testSchema = _...
XDocument Exclusive AccessI can successfully do the following: xdocument doc = xdocument.load(... my file); xelement bla = doc.descendants.("it").first(); .... do stuff ... doc.save("myfile"); the above works great....
Xpath QueryI???m trying to pull up a NodeList of all the Grant elements in the AccessControlList element of the xml document displayed below. However I???m not getting the list using the following code:...
Problem With ValidationEventHandlerHi I've got a xml file and xsd with only one namespace - xmlns:media="http://search.yahoo.com/mrss". When I'm getting the rss feed for example from Youtube there're also others namespaces such as...
Troubleshooting XSLT PerformanceHi, I am using .Net 2.0 to run an XSLT process. It basically takes a word XML document at it's input, plus a separate XML file opened using the document() function and applies changes to the word...
Validation Ignores Fixed Attributehi @all, I'm trying to validate a XML against a schema using the example from the MSDN: http://msdn.microsoft.com/en-us/library/system.xml.xmlreadersettings.validationtype.aspx In my case this...
Subclassing XmlReader IssuesI have created a subclass of xmlReader and was passing that in to XPathDocument and using that XPathDocument instance in my xslCompiledTransform transform() method. Something about my reader causes...
Help Needed With .xsd Validationi'm trying to create a .xsd file to validate the XML below(just a small snippet). i've tried a number of things and can come close, but i can't quite get it to do what i want. i'm able to validate...
Using XMLDocument - A Newbie QuestionOK, so I've created and loaded an XMLDocument object. But how do I go about using it? Specifically, how do I: 1) move to the first node (I assume I start on it when I load the XML?) 2) move to the...
XML Reader Not ValidatingI have written folowing code for xml validation but it is not giving any errors for missing fields. Even if the XML is in wrong format no error is thrown. Here is the code... Public Function...
Accessing The PSVI Value Of Xs:token TypesIs there a way to access the PSVI value of xs:token types using C# (.NET Framework 2.0)? This issue has been around for some time (see http://lists.xml.org/archives/xml-dev/200310/msg00382.html...
Trying To Parse OpenDocument Files (sxw)Iam trying to read in sxw files and generate a preview for it. The problem now is that the file "content.xml" seem to contain a DTD. I do not want to process this DTD because this is a separate file...
Questions About Character Entities In XML And PCI Security ComplianceHi all. This is a rather long posting but I have some questions concerning the usage of character entities in XML documents and PCI security compliance. The company I work for is using a third...
Xsi:noNamespaceSchemaLocation ProblemI use the following code to create the XML from a class object Dim serialize As New System.Xml.Serialization.XmlSerializer(GetType(XYZObject)) serialize.Serialize(obWtiter, obObject...
XML Without Carriage Returns After NodesI'm still feeling my way around XML parsing and have an app that uses XML reader and works fine as long as the XML is pretty but doesn't find all the elements when the XML is all on a single line...
New To XML. Need Help Reading XML.Here's my XML: tabs\Justin.tab tabs\Julie.tab *****There could be 1 of these or 100....quantity can change***** All I need to do is load "Network" and "c:\tabs" into variables....
ReadElementContentAs() Throws XmlExceptionmy code is the following: the Read() method positions the cursor on the tag (verified with debugger). XmlReaderSettings s = new XmlReaderSettings(); s.IgnoreComments = true; s.IgnoreWhitespace...
Big Picture Questions - Cleanest Method For Creating An XML FileI am not accustomed to creating xml files programmatically. The big picture is this: This will be in VB/VS 2005/ winforms. I have a DTD, a sample XML, and an outside data source I will use to populate...
How Do I Set The UtfThe following is what I have : XmlWriterSettings xmlSettings = new XmlWriterSettings(); xmlSettings.Indent = true; xmlSettings.IndentChars = " "; xmlSettings.Encoding = System.Text.Encoding.UTF8...
Deserialising Xml Files With No NamespaceI've created some c# classes from Xsds. The classes have namespace attributes in the XmlRootAttributes. Accordingly, they will NOT deserialize with the XmlSerializer unless the same namespace...
XsltCompiledTransform QuestionHere are three things that I thought would be equivalent but are not. Just wondering why: XmlElement foo = doc.CreateElement("foo"); // load it up with a body xslt.Transform (foo, null, new XmlTextWriter...
Stop And Resume Parsing Of Large XML FileCurrently I am using XmlReader (but I am open to other options) to parse an XML file, and I would like to be able to stop/break the current parse (simple enough) and then resume it later (say after...
How To Remove Xmlns:xsd At Root Tag Via XmlSerializationHello, I use Xml serialization to serialize an object into an xml file. My root tag is defined as following: [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] [System....
Custom Error Code When XSD Validation Fails?Hi, Is there any way to tell an XSD Schema that you want custom error codes for particular validation failures in an XML document? To show what I mean, here's an example: XSD excerpt:...
Digitally Signing XML Document With Muliple Signatures.I have this web application project done in .net 3.5. It has an object (Contract) that is going to be serialized into an XmlDocument object, signed by 2 parties and then inserted into the database...
DataSet.ReadXml And AttributesI'm trying to figure out which column an XML attribute belongs to when read into a dataset. Take the following XML fragment: How would I get out the file name? I have the code below...
Schema QuestionI'm validating an XML document against a schema and everything is good except when the value is empty or blank. Here is what the schema item looks like: Is it possible to define that a blank...
|
Latest Tech Bargains
Advertisement
Free Magazine Subscriptions
Today's Pictures
Today's Video
Other Resources
Latest Download
Latest Icons
|