xml

How do I save xml in a webbrowser control?

I have a webbrowser control that displays some xml, when I access the document propertie I get the HTML that the control generated and not the xml. How do I save the "source" of the document? (can't use the webclient) ...

XML signature verification library in C ...

Are there any available libraries in C language to verify XML signatures ? , I could only find one library for C++ from http://santuario.apache.org/c/index.html. ...

size limit for XML datatype in SQL 2005

Is there a size limit on the XML data type in SQL 2005? When I try to return anything more than 44kb size of the XML string from my stored proc, it just returns an empty string. I am using FOR XML PATH to return hierarchical data sets in XML format from my stored procs. ...

How do I get a NameTable from an XDocument?

How do I get a NameTable from an XDocument? It doesn't seem to have the NameTable property that XmlDocument has. EDIT: Judging by the lack of an answer I'm guessing that I may be missing the point. I am doing XPath queries against an XDocument like this... document.XPathSelectElements("//xx:Name", namespaceManager); It works fine bu...

Hibernate second-level cache ehcache.xml, the cache setting for entities can't be read to HIbernate

To make it clear and easy, I have two projects: 1. An Entity project where there are all the entity classes in this project. 2. An project that contains a main() function to run the application, My ehcache.xml is placed in the class path of this project. My problem is: I can change the defaultCache element of ehcache.xml and I can see c...

serializing generic XML data across WCF web service requests

I've got a web app that sends a request to a WCF service. The WCF service gets a LINQ resultset (anon. ilist) and sends that in reply, back to the web app. In order to get it working quickly, inside the WCF app, i'm using copytodatatable and sending it to my web app in a DataSet. My web app then takes the DataSet and writes it to xml, ...

PHP: Get array of text from perticular XML node type?

I am not totally new to PHP or XML but I am 100% new to paring XML with PHP. I have an XML string that has several nodes but the only ones I am insterested in are the < keyword > nodes which there are an uncertain number of each containing a phrase like so: < keyword >blue diamond jewelry< /keyword > for example say the string looked lik...

How to Sort In-Memory XML with Microsoft XMLDOM?

Besides using XSLT... How to Sort In-Memory XML with Microsoft XMLDOM? ...

LINQ to XML: Defer selection of children in Silverlight C#?

I have the following XML Document being loaded into C# Silverlight: <parent> <son name="Jim"> <grandson>Billy</grandson> <granddaughter>Sue</granddaughter> </son> <daughter name="Sally"> </daughter> </parent> I'd like to do a LINQ query so that I query parent and get a list of "son" and "daughter" nod...

How to set up Schema-aware XQuery

I'm trying to look at using types to select elements that are subtypes, so I have a test document with subtypes of xs:integer and xs:float. How do I tell XQuery to use the types defined in my schema? (It might be relevant that I'm using oXygen and Saxon-SA) Input document: <?xml version="1.0" encoding="UTF-8"?> <root xmlns:xsi="http:...

PHP XML Simple Load

I have a light box currently working www.idgc.ca/web-design-samples.php but when I converted the whole page in a Simple XML www.idgc.ca/web-design-samples-testing.php it stopped working.... ...

Is there an Oracle wrapper for Python that supports xmltype columns?

It seems cx_Oracle doesn't. Any other suggestion for handling xml with Oracle and Python is appreciated. Thanks. ...

Populate C++ POD structures from SAX Parser events

I am trying to use the StructSerlialiser code given under What’s the best use you’ve had with pointer to members and member functions? After populating the FieldBinderList, how do I access the pointer to member with the base class list? I need to do this if I want to set that field with a value read off an XML file. ...

CFXML code to produce hexBinary on one of my xpaths

I need to produce the following xml packet to post to hudson. The log xml item will essentially have lines of console output. Can anyone help with the ColdFusion/Java to correctly encode that item <run> <log encoding='hexBinary'>...hex binary encoded console output...</log> <result>... integer indicating the error code. 0 is succe...

XML question in SQL Server

In one of my sql scripts, I need to execute a stored procedure with the following xml string <Collection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt; <Field> <Attributes> <Attribute Name="CODE1" IsRequired="true" Order="1" IsVisible="true"/> <Attribute Name="...

How to access xml text node in Jquery

Suppose I get the following XML structure: <root> <item> <item1>text1</item1> <item2>text2</item2> more text here </item> </root> "more text here" is a text node that is at the same level as the other data nodes in the hierarchy but it does not seem to be accessible. Is there a way of extracting the text node shown above using jQu...

How to preserve html when parsing xml using Jquery

Suppose I have the following XML structure: <root> <item> <item1>some text is <b>here</b></item1> <item2>more text is here</item2> </item> </root> I can parse the xml using something like: $(responseXML).find('item').each(function(){ var first_text = $(this).find('item1').text(); var second_text = $(th...

C#: Store byte array in XML

What would be a simple way to store a Byte[] array in XML (using C#) ? ...

How to read each XML lines into specified strings?

Hi, I'm trying to create a VB.net application which reads each line from an XML-file (or ini file, doesn't matter) which dictates what the name of a string should be. E.g "string1 = xml.line1" "string2 = xml.line2" etc What would be the best approach of doing this? I've already pluckered a bit with Xml.XmlTextReader and it seems t...

Nested LiNQ to XML

I am looking for a nice way to save / load the following. I want to save as XML and ideally looking to use LiNQ (namely to help me learn LINQ) I don't know how to do nested linq writes though. Can anyone help? /// <summary> /// /// </summary> public class ErrorType { List<ErrorType> _childErrors; public String Name { get...