I've got an SQL script that fetches results based on the colour passed to it, but unless I set the size of the variable defined as a varchar to (50) no results are returned.
If I use: like ''+@Colour+'%' then it works but I don't really want to use it in case it brings back results I don't need or want.
The column FieldValue has a type...
I have a XML structure in a XML column on a SQL Server table as follows:
<Customizations>
<Customization name="OtherValue">
<value>Test</value>
</Customization>
. . . .
<Customization name="Year">
<value>2009</value>
</Customization>
</Customizations>
and I'm looking to update the value of Customization with the element with ...
i have one independent form where i am checking read only access of an xml file ,
if the file is read only then i have to display message in the status bar of MDI form.
since i am using independent form to valid xml file, status bar of the MDI form is not displaying the error message.
now how to display message?
thanx in advance
...
Hi guys, I've built a web application which basically logs work that has been done upon projects plus maintain resources used etc. What I need now is to set it up so that projects can be billed. Billed such that - each task that has been undertaken in a project is regarded as a billable service.
Instead of building my own invoicing syst...
Hi,
I have a xml document which has only one element in the document. This is the whole document.
<?xml version="1.0" encoding="UTF-8"?>
<error>key ! is invalid</error>
But when i try to parse it, it says this document has no element at all. In other words when i try to access the rootElement it says "null"
Here is the code i am usi...
Hello,
I am using Python Suds to connect to a webservice and I am wanting to use MTOM encrpytion to send an XML message. I have looked around the web and seen libraries for PHP etc. but not for Python. Can anyone recommend a good MTOM library to use preferably for use with SUDS.
Thanks for any suggestions.
...
Hi,
I'm developing a REST Web Service using a XML format response and I have some problems (Really, one problem).
One of my resources has some final fields so once they're created, they can't be modified. According to that, I need different representations for this resource depending on what I'm doing: Creating or modifiying it.
W...
I've loaded an XML file as NSData into memory and parse over the elements using NSXMLParser. Although it works, it's a very ugly and hard to maintain code since there are about 150 different elements to parse.
I know there are nice third-party solutions, but I want to keep it with the iPhone SDK for purpose of practice and fun.
So I th...
I am trying to select from SQL Server 2005 XML datatype some values based on the max data that is located in a child node.
I have multiple rows with XML similar to the following stored in a field in SQL Server:
<user>
<name>Joe</name>
<token>
<id>ABC123</id>
<endDate>2013-06-16 18:48:50.111</endDate>
</...
Hey everyone,
I am trying to use <xsl:for-each select="@*"> to grab all the attributes of a given element but when i do that my <xsl:choose> statement doesn't execute.
Here is the element that I'm working with:
<textBox id="Airfare" value="" label="text 1"/>
Here is the XSLT template I'm using:
<xsl:template match="textBox">
<div>
...
I need read in and parse data from a third party website which sends XML data. All of this needs to be done server side.
What is the best way to do this using PHP?
...
Is there a method in the .NET Framework or a free Open Source library to pretty print XML?
...
I am trying to send a byte[] from a client to a web service. The array is composed of a serialized XML file.
My test scenario works (with a very small byte[]). Here is the code:
FormsService.FormsServiceClient client = new FormsService.FormsServiceClient();
XmlDocument doc = new XmlDocument();
XmlElement root = doc.Crea...
Hi everybody,
I need to define a XML schema. The result should looks like this:
<option value="priority">4</option>
<option value="values">
<value name="x86-32" lang="en-GB" group="root">x86 32-Bit</value>
<value name="x86-64" lang="en-GB" group="root">x86 64-Bit</value>
<value name="ARM" lang="en-GB" group="root">ARM</valu...
Sorry about the title — wasn’t sure how to word it.
Basically I have some XML like this:
<countries>
<country handle="bangladesh"/>
<country handle="india"/>
<country handle="pakistan"/>
</countries>
And some XSLT like this (which doesn’t work):
<xsl:template match="/countries">
<xsl:param name="popular"/>
...
Is it possible in C#/ASPNET to generate the XML SOAP request from the local web method reference without actually posting a request to the web service server? I'm trying to create a class which will generate this SOAP request XML without actually invoking the service. I've looked at the SOAP Extension classes and other methods but they...
In my project,I will get the coordinates of some points from an XML file,and create some visual components using this information ? I am planning to give these components to a Java swing frame or panel. However,The users are supposed to click on the figure(which I will construct using Graphics 2d libraries) and select two points and give...
import urllib
import xml.etree.ElementTree as ET
def getWeather(city):
#create google weather api url
url = "http://www.google.com/ig/api?weather=" + urllib.quote(city)
try:
# open google weather api url
f = urllib.urlopen(url)
except:
# if there was an error opening the url, return
retur...
Hi all,
I am working on a project that pulls data out of an xml files and also uses a tree-grid combination in order to display the data. For example depending on the selected treeview node, the datagridview will display only the records related to that node.
What do you think it would be the appropriate approach in dealing with this?
...
Hi Everyone!
I've spent ages on this, all I'm trying to do is extract the "title" contents from an rss feed, everything else can be ignored. I've looked into simplepie, magpie and all that stuff, but I feel its kind of overkill for what I need to do. I realise there are google gadgets that are made that can do this, but I didn't want al...