Hi. Thanks for reading.
I'm trying to parse an xml response from YouTube but I'm completely blocked, hehe.
Well, What I've got until now is this:
<%
Option Explicit
Response.Buffer = True
Dim videoVimeo, videoYoutube
videoVimeo = "http://vimeo.com/5866977"
videoYoutube = "http://www.youtube.com/watch?v=d8nxjUlb...
Rails has a nice idiom that makes it easy for you to have a single action method return properly formated data (json, xml, just the data) based on the format specified by the client (or else deduced from the request. It looks something like this ...
respond_to do |format|
format.html #edit.html.erb
format.json {render :text=> <your...
Hi, I am new in LINQ world.
I need an urgent help in reading the xml elements using LINQ with specific where condition.
I need to find the max air_temp for a county
i.e where county name = "Boone" and hour id = "06/03/2009 09:00CDT"
i tried something like below, but no luck :
Dim custs As IEnumerable = From c In Element.Load("C:\me...
Hello guys I'm working on a social network like Friendfeed. so when user add his feeds links I use the cron job to parse each user feeds.Is this possible with big number of users ? like parssing 10.000 links each 1h or can make problems? if isn't possible what the technicals are used on Friendfeed or RSS readers to do that ?
...
I am processing a soap response file and our requirement is add certain data captured during request to the response. I have this xml reponse here and like a add certain data to the header part of it using a XSLT file. Please advice.
Actual reponse
<soap:Envelope xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wsse...
Hi,
I am writing the data of the application to xml. At times when i reopen the application the xml file is not access able, its owner property is changed to administrator. how the owner of the file is changing to administrator.
Thanks,
...
Take this XML.
Is there a way for me to transform the contents of the CDATA section with XSLT?
...
We are looking to run a large amount of data through some unit tests. We would like to define this in some sort of excel spreadsheet or XML document.
Is there away to get the unit testing framework to load this data as input and expectations.
I can foresee this having issues with exception catching. Any comments on this are appreciat...
Hi. How can I validate an XML document against a DTD file which only my application knows about. So that the XML document which should be validated does not contain the DOCTYPE declaration which specifies the .dtd file. I need this in Java.
Here is an example:
The xml file to be validated:
<?xml version = "1.0" ?>
<Employee>
<Emp_Id> ...
I am trying to convert some XML with XSL, to make the output look better and more readable for other users. I have some XML along the lines of:
<G>
<OE>
<example1>Sample 1</example1>
<example2>Sample 2</example2>
<var name="name1">
<integer>1</integer>
</var>
</OE>
</G>
I want to get all the details from it a...
Hi i have a function that should return me a string but what is is doing is bringing me back the sql expression that i am using on the database
what have i done wrong
public static IQueryable XMLtoProcess(string strConnection)
{
Datalayer.HameserveDataContext db = new HameserveDataContext(strConnection);
var xml = ...
Hi, I have 2 xml file formats (the old schema and a new schema for an upcoming release). My question is; what’s the easiest way to migrate the data? Can I used XSLT some how? I am using C# but the BCL XslCompiledTransform Load method only seems to accept 1 file as an argument. Can anyone post an example to do this?
Any suggestions are g...
How do i compare 2 instances of XMLGregorianCalendar to find which one is greater?
One of the date variables have a value
date1 = 2009-02-23T05:54:17+05:30
and the other,
date2 = 2009-02-23T05:54:17.000
...
In a previous question I asked about how to group XML elements logically, and I got the answer, which was to nest the Linq query.
Problem is, this has the effect of left-joining the nested queries. For example, let's say I want to list all the cities in the USA that begin with the letter "Y", grouped by State and County:
XElement xml ...
Hi,
I have a list of figure names and width and height informations in separate xml file,
I need to match the figure name in the source xml file and need to insert the width and height information as a attribute in the source xml file.
here the source xml file..
<graphic name="sample.jpg" align="center"/>
expected output xml file
...
Hi all,
I am a beginner and I want to select an XML file and load it's elements (i.e., a file with tags such as <item>, <title>, etc.) into a DropDownList.
In a separate TextBox it should count and show how many times a particular tag or element is present.
When a particular element is selected from the DropDownList, the contents, de...
INTRODUCTION
I'm using excel downloads as a way of users downloading a score sheet,
filling out scores and then re-uploading this score sheet into the
system.
Part of this requires the data in the database to be put into a CSV.
Then its opened on the client computer.
PROBLEM
The problem I'm having is that the CSV does not allow me to...
I need to strip all xml tags from an xml document, but keep the space the tags occupy, so that the textual content stays at the same offsets as in the xml. This needs to be done in Java, and I thought RegExp would be the way to go, but I have found no simple way to get the length of the tags that match my regular expression.
Basically w...
The subject sums my question up. Is there a standard? I tried researching W3C consortium and couldnt find anything on the character limit, just some notes on speacial characters needs to be escaped
...
I've been seeing some conflicting information that an XHTML document must also declare itself as XML.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
However, in other places I'm seeing (including w3.org) that the DOCTY...