Hi,
i have a rss source:
http://feedity.com/rss.aspx/mr1-kossuth-hu/VVdXUlY
<item>
<title>2008. november 23.</title>
<link>http://www.mr1-kossuth.hu/m3u/0039c36f_3003051.m3u</link>
<description>........</description>
<pubDate>Wed, 26 Nov 2008 00:00:00 GMT</pubDate>
</item>
from this, i want to creat...
I have a lot of XML files which have something of the form:
...
Hello, I'm serializing to XML my class where one of properties has type List<string>.
public class MyClass {
...
public List<string> Properties { get; set; }
...
}
XML created by serializing this class looks like this:
<MyClass>
...
<Properties>
<string>somethinghere</string>
<string>somethinghere<...
I need to validate an XML agaist a schema.
I tried XML::SAX::ParserFactory; XML::Validator::Schema and related modules but looks like they are limited.
Limited in the sense that it didn't recognize schema elements such as xsd:unique, xsd:group, xsd:keyref, xsd:union and xsd:key.
Are these xsd:unique, etc. new additions?
Appreciate...
With ASP.NET 3.5 I can easily bind to an xml file by using an XmlDataSource. How do I bind to an xml string instead of a file?
...
When editing an XML file in IntelliJ IDEA, if the document references a schema, IDEA will fetch the schema and use the information for auto-complete. It knows which tags are valid in which contexts, so when you hit CTRL-space, it suggests only those tags. It also highlights any tags that are invalid according to the schema.
Does anybo...
Short version:
Could anyone suggest or provide a sample in LINQ to XML for VB, or in an XSLT of how to change one XML element into another (without hardcoding an element-by-element copy of all the unchanged elements)?
Background:
I have an XML file, that I think is properly formed, that contains a root entry that is <collection> and ...
Hello. I'm using Parsley IoC in my current Flex project. So I'd like to embed the container configuration XML onto the result SWF.
How could I load embedded XML file into action script XML object?
...
I've written an XML Schema file by hand (not using the DataSet Designer in VS) and a corresponding XML file containing structured data to be read in.
I ran the xsd.exe program to generate a Typed DataSet class; on the whole it looks fine to begin with (ignoring how it uses lowercase for public class members), but when it comes to using ...
I want to parse this XML Document http://www.google.de/ig/api?weather=Braunschweig,%20Deutschland I want to be able to read out condition, temp_c and humidity. All this I want to do inside of JavaScript without using any server sided scripts such as PHP and I want it to work on modern browsers as well as IE7 and if without many problems ...
what is the easiest way to remove the "T" from the result?
I want the result to be "YYYY/MM/DD HH/MM/SS"
the vb.net code is really straight forward
xmlDoc = New Xml.XmlDataDocument(data_set)
xslTran = New Xml.Xsl.XslCompiledTransform
xslTran.Load(strXslFile)
writer = New Xml.XmlTextWriter(strHtmlFile, S...
I am currently the following code based on Chapter 12.5 of the Python Cookbook:
from xml.parsers import expat
class Element(object):
def __init__(self, name, attributes):
self.name = name
self.attributes = attributes
self.cdata = ''
self.children = []
def addChild(self, element):
self.chi...
Greetings!
If I have XML such as this:
<Root>
<AlphaSection>
.
.
.
</AlphaSection>
<BetaSection>
<Choices>
<SetA>
<Choice id="choice1">Choice One</Choice>
<Choice id="choice2">Choice Two</Choice>
</SetA>
<SetB>
<Choice ...
Is there a way to use XMLHttpRequest in combination with other domains?
I would like to parse some xml from Google without having to use a server so it is minimalistically complex to run.
var req = getXmlHttpRequestObject();
...
req.open('GET', 'http://www.google.de/ig/api?weather=Braunschweig', true);
req.setRequestHeader("Con...
My requirement is just to display a set of values retrieved from database on a spread. I am using jquery.
...
I'm opening an xml file in Microsoft Word 2007 using C#. I'm using an xsl file to define the layout which worked up to the point that I needed to include an image. I used the typical src html tag and the image displays when the xml is viewed in ie but not when it's opened in Word. I get the image place holder so I can only assume Word si...
Basically I have a small template that looks like:
<xsl:template name="templt">
<xsl:param name="filter" />
<xsl:variable name="numOrders" select="count(ORDERS/ORDER[$filter])" />
</xsl:template>
And I'm trying to call it using
<xsl:call-template name="templt">
<xsl:with-param name="filter" select="PRICE < 15" />
</xsl...
I have an XML document with several <person> elements, each of which contains the <name> of the person, and several <preferred-number> elements inside a grouping <preferred-numbers> element.
I already found that to obtain the greatest <preferred-number> I have to do an <xsl:apply-template> with a <xsl:sort> inside it and then take the ...
I'm writing a function that fishes out the src from the first image tag it finds in an html file. Following the instructions in this thread on here, I got something that seemed to be working:
preg_match_all('#<img[^>]*>#i', $content, $match);
foreach ($match as $value) {
$img = $value[0];
}
$stuff = s...
Is there a way in Python to handle XML files similar to the way PHP's SimpleXML extension does them?
Ideally I just want to be able to access certain xml datas from a list object.
...