Contents

Posts in microsoft.public.dotnet.xml

 

back referencing?  Replies (1) 6 December 2007
Is it possible for a single xpath expression, perhaps using back- referencing, to return the only the "item" elements having a "result" that matches the parent "foo result"? In othe...

 

XmlDocument XmlDSig schema validation  Replies (1) 6 December 2007
Hi! I must to validate xml document with XmlDSig and Xades Schema. Why this code (with !obsolete! XmlValidatingReader) work and validate xmldocument: private bool schemaValidationStatus = true; ...

 

IXsltContextFunction args seemingly passed wrong d ...  Replies (2) 5 December 2007
I have a user-defined XPath function implemented using a custom context and the IXsltContextFunction interface. For its arguments, it accepts 3: { XPathResultType.Any, XPathResultType.Any, XPathRe...

 

Newbie question  Replies (1) 4 December 2007
I have this XML 12345 =================== END ===== Then my C# code is: xmlDoc.LoadXml(xmlMsg); XmlNamespaceManager nsmgr = new XmlNamespaceManager(xmlDoc.NameTable); ...

 

XmlReaderSettings.ProhibitDtd and select='document ...  Replies (1) 3 December 2007
I'm a relative newcomer to xml but I'm delighted in what I've been able to achieve so far. I have a transform that merges two documents that provides a simple, elegant solution to a business pr...

 

Serialze only base informatio of derived class  Replies (1) 3 December 2007
I have two classes: public class BaseClass { ... } public class DerivedClass : BaseClass { ... } Suppose I have the following code: DerivedClass dc = new DerivedClass(); BaseClass bc = (Bas...

 

changing the xml file  Replies (1) 3 December 2007
I have this xml file below, I want to change the value of debug to false. How can I do this in C# or VB.net. if possible in this case I want use SelectSingleNode ...

 

XMLSerializer and List  Replies (1) 30 November 2007
can anyone help with this problem, it seems to fail when I try to initialise the XMLSerializer. I'm getting a "There was an error reflecting type ... " innerexception: "Cannot serialize member ...

 

Problems with XmlSchema name mangling XmlSchemaSet ...  Replies (1) 30 November 2007
Hello Xml Gurus, I'm trying to build an XML schema in memory using the System.Xml.XmlSchema namespace objects, validate it, and then write it to a file. The problem I'm facing is that XmlSchem...

 

Feeding XML to SQL2000 database  Replies (1) 29 November 2007
I'm starting research on how I could best approach feeding XML files to a relational database. Here's the scenario: - we receive several hundred XML files per week, all of which adhere to the same...

 

Fail to install .Net 1.1 SP1  Replies (1) 29 November 2007
Dear All, My laptop is a Toshiba Tecra w/ Pentium M at GHz with 1GB RAM Hard drive 60GB - Free 30GB I have Windows XP Professional SP2 Antivirus/antispyware, etc: Norton 360 Suite I run automa...

 

xml binding parameters  Replies (1) 28 November 2007
Hi to everybody ! I have this query: select * from registereddatabases a where exists(select rights.exist('declare namespace x="urn:Repository:UserRights"; /x:Rights/x:Year[@YearId={sql:colu...

 

unique attribute  Replies (1) 28 November 2007
Is it possible in sql server 2005 to have a schema with unique elements? I tried an example and sql said : The XML Schema syntax 'unique' is not supported. Regards, Mihai...

 

help - Convert XmlDocument to string  Replies (7) 28 November 2007
hello, what is the best way to convert an XmlDocument object to a string of its XML content? it appears there are a few ways, and im curious what the best one would be. thanks, sm...

 

Databindings and XML - Binding Text between XML Ta ...  Replies (1) 27 November 2007
Dear Group I wonder if I do something wrong and whether this is possible at all. Any hint is greatly appreciated. I have a XML file bound to a Treeview. The treenodes Text/Value properties...

 

Appending to XML file instead of overwriting  Replies (1) 27 November 2007
Hello All. There is an automatic way to save just the changes of a xml file? For example, if add several nodes, delete some and change the value or attribute of another. Actually, on saving it...

 

SOFTWARE for SALE!!!                               ...  Replies (1) 23 November 2007
Software for sale. Huge Selection. 10 Euros/CD. Worldwide shipping. Windows, Mac, and Linux. The very latest software, stock video/photo, games, etc. Contact David for details: david007@wor...

 

with XmlAttribute.InnerText  Replies (1) 22 November 2007
Hi, I'm trying to generate XML attribute text that contains the string " ". I need that exact as shown. Unfortunately '&' is expandet to '&'. Any idea how to generate the required content? (BT...

 

Using " " (Ampersand#10) with XmlAttribute.Inne ...  Replies (1) 22 November 2007
Hi, I'm trying to generate XML attribute text that contains the string 'Ampersand#10;'. Because my newsreader strips that expression away, I have replaced with the word 'Ampersand', but please note th...

 

Converting Font style string into Font  Replies (1) 22 November 2007
Hello, I want to convert styles from a String to a Form object. So ifound that i can use FontConverter that will do just that... as in the help: // Create the FontConverter. TypeCo...

 

Querying with schema  Replies (2) 21 November 2007
Hi, I have the following XML, which has an associated schema but I can't get any results from an XPath query because I think I'm using the namespace prefix incorrectly. Can anyone tell me what I'...

 

Xpath and Sorting  Replies (5) 20 November 2007
How do I create an xpath expression to return a sorted nodelist? I need the sort to be by the attribute value. Example, If I have an xml list of names with "lastName" as an attribute i want t...

 

schema and Rest and proxy  Replies (1) 20 November 2007
I want to consume a Rest web service using vb.net. The service provides a schema. Using add web reference to add the schema doesn't do what I want. I get a blank namespace. I'd like a proxy cr...

 

csv with parent-child columns to xml  Replies (1) 20 November 2007
Can any of the commercial conversion tools convert csv files containing "relational" data to xml in an automated fashion? I looked at the websites for stylussudio and altova, but it looks like I wou...

 

XML/XSL output to multiple HTML files  Replies (2) 19 November 2007
I've manually prototyped a mechanism that generates multiple HTML files from a single XML file, using an XSL template. However, now I need to automate this mechanism (simple .NET console app). Bein...

 

hi  Replies (1) 18 November 2007
This is a multi-part message in MIME format. ------=_NextPart_000_002E_01C82A0D.59D609C0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_002F_01C82A0D.59D609C0" ------=_Ne...

 

output xml from xslt inC#  Replies (1) 18 November 2007
Hello, Thanks for taking the time to read. I'm begining Visual C# and trying to convert an HTML/Javascript application into a Windows application. I was using and XML database, transform...

 

!Help..... Generating xml from xml schema  Replies (1) 18 November 2007
Hi, I want to validate my xml file using xml schema and produce new xml file which confirms to that schema. I tried this using serializer() method. But this doesn't give me the complete solution....

 

Xpath syntax to get to element  Replies (2) 17 November 2007
Hi I am trying to figure out the xpath syntax to get to all the element of name ie Patient Name Any help is appreciated Thanks false false true ...

 

XSLT for viewing XML as Tree  Replies (3) 16 November 2007
I have some XML I want to display in a section of a web page. I want the XML displayed as a tree. The way you see XML if you load the file in the browser. It shows the tree and you can expand/co...

 

Streaming web service response as byte array..dtd ...  Replies (1) 15 November 2007
Hi, the following calls a webservice and returns the XML as a byte array which I convert to a stream first. The 'xml' variable has XML, however, when I try to load the XML into the XmlDocument, i...

 

Can't access a System object in xaml  Replies (6) 15 November 2007
Hi, I have this xaml code that I'm trying to use in a Window... Click for a surprise Details 1/1/2007 2/1/2007 3/1/2007 ...

 

Trying to evaluate xpath myself sort-of  Replies (4) 15 November 2007
Hi; In our program we will get an XPath statement such as: ${data}/SalesProject[customer/CUSTCAT=${series}/customer/CUSTCAT] Where ${data} and ${series} both stand for a XPathNavigator so each ...

 

Newbie:Want to validate an xml using xsd and produ ...  Replies (1) 13 November 2007
Hi, I want to validate my xml file using xml schema and produce new xml file which confirms to that schema. I tried this using serializer() method. But this doesn't give me the complete solution....

 

WSE 2.0 encoding error  Replies (2) 13 November 2007
I have a client application ( web service ) write in vs2005 consuming an external web service with WSE 2.0 (x509). The response is in hebrew ( windows-1255 ). In the Trace files I see the hebrew f...

 

=?Utf-8?Q?How_to_create_xml_file_from_xsd_?= =?U ...  Replies (3) 13 November 2007
Hi, I want to create a .NET webservice which creates a xml file. I have the .xsd schema file and a document mapping xpath's to my db fields. I suppose I do something like first create the xml fi...

 

dataset from .xsd problem  Replies (1) 13 November 2007
Trying to create a dataset out of an XML schema (.xsd), I get the following error message: DataSet doesn't support 'union' or 'list' as simpleType Using .NET2/VS2005. Is there a workaround? I...

 

XML Validation against XSD  Replies (1) 13 November 2007
Hi, I already broke my head searching for a solution to this error with no luck. That's why I'm requesting you guys help. I have one xml that I want to validate against a xsd: XSD: ...

 

Getting an error in my xml schema editor code.  Replies (1) 13 November 2007
Hi, I have an xsd file like this. ...

 

Newbie Question  Replies (2) 12 November 2007
Hi I am doing a very simple test of using web services, I added a Web Reference to a site that provides the latest exchange rates. I got a string that contains XML Document that contains the r...

 

Strongly Typing XML String/Document Argument  Replies (2) 12 November 2007
Hello All, I have the following abstract function: public abstract BookList LoadBooks(string ListBookXml); public abstract BookList LoadBooks(XmlDocument ListBooks); Is there any way to type...

 

Supressing default namespace attributes?  Replies (2) 11 November 2007
I am creating an XML document, using XmlDocument and its related classes. The root element declares a default namespace and an XSI namespace. Here is my problem: The serializer is assigning a def...

 

How to create an xml schema editor  Replies (1) 11 November 2007
Hi, Could anyone give me any idea as to how to create an xml schema editor in c#. Thanks....

 

Error Creating SAX Reader  Replies (1) 10 November 2007
Hi, I've created an appplication using the SQL XML Bulk Load COM object. When i run the application in debug it works as expected and also when i run the setup project the application is in on ...

 

Female Professional Web Designer Required  Replies (1) 10 November 2007
Any Pakistani (Region: Khi) Female Professional Web Designer who use Asp.Net using C#, Plz! contact me 03452884141. thanks & best regards smifti - khi...

 

XSLT Plain Text is Indented  Replies (1) 9 November 2007
Hi All, I'm having some trouble getting my XSLT to transform correctly. VS.NET addeds Indentations: Hello , We have received your e-mail, and your question is in th...

 

How to get rid of serialized nil attribute  Replies (2) 9 November 2007
Hello there, I've got following serializable property: [XmlElementAttribute("f", IsNullable = true)] public string[] Field { get { return _fields; } ...

 

XmlSerialzer error when multiple nillable elements ...  Replies (1) 9 November 2007
Hi i am getting the following error while using XMLSerializer XmlSerializer ser = new XmlSerializer(typeof(Person)); ERROR: Unable to generate a temporary class (result=1). error CS0266: Cannot ...

 

Adding a second namespace declaration?  Replies (1) 9 November 2007
How do I add a second namespace declaration to the root element of a XmlDocument? I need to write a GPX document--GPX is a standard XML language for GPS data. I need to create a root element th...

 

XPath Query Help  Replies (1) 8 November 2007
I'm trying to write a query to pull all the specific fields from a xml file. The XML is structured in such a way that nested child elements in a section will determine if a field exists in a form. ...