Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
all groups > dotnet xml > july 2005 > threads for july 1 - 7, 2005

Filter by week: 1 2 3 4 5

Question about XSLTransform and extensions
Posted by fawzib.rojas NO[at]SPAM gmail.com at 7/7/2005 1:28:28 PM
I have the following class and function: class MathExtension{ public double max(double a,double b){ Console.WriteLine("math:max("+a.ToString()+","+b.ToString()+")"); return Math.Max(a,b); } } public void Transform(XmlDocument xml,XmlDocument xsl){ XPathDocument xp_doc; X...more >>


XmlTextReader problem with & in element text
Posted by Nathan Alden at 7/7/2005 8:47:37 AM
I have an XSD defined as the following: <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:element name="Application"> <xs:complexType> <xs:sequence> <xs:element name=...more >>

XmlTextReader problem with &amp; in element text
Posted by Nathan Alden at 7/7/2005 8:35:52 AM
I have an XSD defined as the following: <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:element name="Application"> <xs:complexType> <xs:sequence> <xs:element name=...more >>

Using HTTP request to POST XML files?
Posted by Paul M at 7/7/2005 6:18:07 AM
Hi Sorry if this is posted in the wrong group but I'm brand new to this area. Basically I've got to post some XML documents to an external server using HTTP web request (POST, not GET) and be able to receive files back. I've got the XML file generated and checked over, but I just dont know how ...more >>

DTD validation without DOCTYPE in xml
Posted by YewMing at 7/7/2005 2:55:02 AM
Hi, I have some XML files that needs to be validated with a DTD but the xml files does not have the DOCTYPE tag that reference to the dtd file. Is there any way to tell XmlValidatingReader to specifically use that DTD file even when DOCTYPE is not in the xml file? Thanks....more >>

Reading and Writing XML from a Dataset with Binary Data
Posted by Simon at 7/7/2005 12:00:00 AM
Hi all, I have a process, where I take a dataset from an SQL call, and need to write an XML file from that dataset. The data set can contain 10's of tables, each with 100's of rows, and I have no way of knowing what the tables are, or what they contain. I am currently using the Dataset....more >>

XmlDocumentClass and Finding Nodes
Posted by Paul J Lay at 7/6/2005 1:39:54 PM
I am trying to find nodes in an xml document using the XmlDocument class and having some problems. Everything seems to work OK when there are no encoded characters (< = &lt;) but when I try to navigate a document in which the outer nodes are not encoded but the nested nodes are encoded, I can...more >>

XmlDocument.LoadXml and namespaces
Posted by David Thielen at 7/6/2005 12:33:01 PM
Hi; Once I have loaded an xml file into a DOM, is there any way to then get any namespace declarations that were in the xml file? Or are those just discarded as the DOM is populated? And if you can't get it from the DOM, any other way to get the namespace(s)? I'm assuming doing a SAX rea...more >>



XML extension cause file download loop
Posted by Mike at 7/6/2005 10:38:01 AM
All, Suddenly. When I click on an XML file expecting it to open in IE, it begins the file download screen, then attempts to open IE. These 2 screens flash in an endless loop. What's up with that??? Any ideas are welcome! Thanks -- Mike Gasperino Sr. Software Developer office: ...more >>

.net bar programming
Posted by R. Strina at 7/6/2005 7:12:03 AM
To all, Am working as a software tester for a medical company. The software department is programming in the .net bar environment and I have observed the following behaviour in a frame work setting: using docking windows with a PIN and a closing X, at application launch, only the PIN app...more >>

WriteNode consumes too much?
Posted by Andras Belokosztolszki at 7/6/2005 7:07:20 AM
I'm having a problem with XmlTextWriter.WriteNode. I have a document with a specific element repeating. say <root><a></a><a></a></root> I iterate through this with an XmlTextReader, I filter out the ones (<a>) I need, and print it in a formatted way through XmlTextWriter.WriteNode. It works we...more >>

XmlValidatingReader 2nd try
Posted by Bernhard Felkel at 7/6/2005 12:14:02 AM
Hello! I still have the problem with the XmlValidatingReader in combination with key/keyref constraints and namespaces. My schema is quite simple. I have following key/keyref defined: <xsd:key name="LangKey"> <xsd:selector xpath="transNS:Language"/> <xsd:field xpath="@ID"/> </xs...more >>

schemas-microsoft-com:xml-msdata
Posted by Darwin Fisk at 7/5/2005 2:44:15 PM
Where can I find a list of the valid annotations (attributes?) available in this namespace? Thanks, Darwin ...more >>

System.Xml.Xsl.Transform -vs- xhtml???
Posted by Martin Olson at 7/5/2005 1:58:29 PM
I'm trying to output valid xhtml 1.0 transitional with xslt -- my question is when dealing with elements that have self-closing tags such as <img /> and <input />... I'm getting closing tags on these elements that should have a self-closing tag like this: <img src="/images/img.jpg" alt="al...more >>

How can i get the corresponding Schemaelement from a Validationerror
Posted by Willi at 7/5/2005 12:00:00 AM
Hallo, i have to validate many XML's Documents with a XSD. Some XML's throw a Validationerror like "The 'type' attribute has an invalid value according to its data type". To produce automatically a valid XML i would need the corresponding Schemaelement, to get the Defaultvalue for that Attribute...more >>

XmlValidatingReader
Posted by Bernhard Felkel at 7/4/2005 11:25:01 PM
I have troubles validating XML files with key/keyref constraints. Here´s my schema: <?xml version="1.0" encoding="utf-8"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:transNS="http://Festo.Common.Translation" xmlns="http://Festo.Common.Translation" targetNamespace="htt...more >>

Xpath expressions and queries? How do I do this?
Posted by hazz at 7/4/2005 6:28:18 AM
Does anyone have any ideas on how to implement what has been suggested for my 'rules engine'? thx, -hazz the following are rules in the sql server table, one row for each rule. Table Column op value score Buy Budget > 500000 10 Buy Budget ...more >>

How to get comma delimited xml?
Posted by Rouven Hertenstein at 7/4/2005 3:54:01 AM
Hi, the following (simple) vb.net-webservice works inherently very well. But I'm in need to get comma delimited xml and I don't know how to modify?! Could anyone help me, please. Regards, Rouven <WebMethod()> Public Function GetResultsAsAdoXML() As String Dim myAdoRs As ADO...more >>

How to retrieve XML sublevel, using GetElementsByTagName
Posted by Andy at 7/3/2005 4:18:02 AM
Hello, I have the following example XML: <data> <package> <packageid>123</packageid> <package_article> <articleid>article1</articleid> </package_article> </package> <package> <packageid>456</packageid> <package_article> ...more >>

Set xmlelement
Posted by Chris Kennedy at 7/2/2005 12:00:00 AM
I am using the XML Dom to manipulate XML. How do edit an element. I can see a set attribute but I can't see a set element. How do I do the equivilent. ...more >>

XML Parsing errors
Posted by Chris at 7/1/2005 5:09:43 AM
I've added a configuration file similar to Web.config but that does not invoke a restart when changed, just a cache dependency. At various times I'm getting a seeingly random one of the following errors: This is an unexpected token. The expected token is 'NAME'. Line 6, position 3 An une...more >>


DevelopmentNow Blog