are
<parent>
<first_child>1111111</first_child>
<second_child>2222222</second_child>
</parent>
and
<parent>
<second_child>2222222</second_child>
<first_child>1111111</first_child>
</parent>
should be considered as xmls with the same structure or not?
...
This is one of the entries I have in a huge XML file of over 200 such entries.
<TradeFills>
<TradeFill>
<Broker>xxx</Broker>
<CustomerAccount/>
<qwFillTransID>xxxxxxxxxxxxxxxxxxx</qwFillTransID>
<qwPrevTransID>xxx</qwPrevTransID>
<qwGroupTransID>xxxxxxxxxxxxxxxxx</qwGroupTransID>
<GroupTransID>xxxxxxxx</GroupTransID>
<Tra...
I'm working on a tree component using a XMLLIST as a data provider.
<list>
<menuItem label="Home" menuItemId="1" >
<menuItem label="Info 1" menuItemId ="4"></menuItem>
</menuItem>
<menuItem label="Services" menuItemId="2" >
</menuItem>
<menuItem label="About" menuItemId="3" >
</menuItem>
</list>
...
I am parsing a weather data feed and it works with certain locations but errors out with this message on some locations:
09-22 10:40:33.364: WARN/System.err(3347): org.apache.harmony.xml.ExpatParser$ParseException: At line 465, column 29: not well-formed (invalid token)
Any ideas what might be happening?
Here is a snippet of the x...
This is a sample of the XML file I am attempting to deserialize
<TradeFills>
<TradeFill>
<Broker>xxx</Broker>
<CustomerAccount/>
<qwFillTransID>xxxxxxxxxxxxxxxxxxx</qwFillTransID>
<qwPrevTransID>xxx</qwPrevTransID>
<qwGroupTransID>xxxxxxxxxxxxxxxxx</qwGroupTransID>
<GroupTransID>xxxxxxxx</GroupTransID>
<TransID>x</TransID...
All,
I am inserting as xml datatype in a table, an XSLT document.
Somewhere in my XSLT document I am using the character
<
for a reason.
However when inserting to the table, the SQL Server replaces the
<
with
<
Any ideas how to store it without having SQL Server to change it?
Thanks,
M
...
Hello,
I'm new to sharepoint and I'm trying to figure out how to use and implement custom templates. I have figured out how to load them into the collection list but I'm trying to find out all the information I can about the:
and xml tags. What are the attributes and such? Any sources that someone can recommend?
...
Considering that XML::Simple is the only module which can be used, I am stuck in retrieving the values from an XML. The structure goes below:
<testxml>
<dev>
<A>
<tables>
<datatables>
<table>a1</table>
<table>a2</table>
<table>a3</table>
...
I can't remember of find, but I know there were a way using something like <[CODE to write code inside the xml without have problems with the xml reserved symbols.. Does anyone knows?
...
I have the following fragment in XSLT. Is there a way to rewrite it without escaping the characters < and > with the ASCII equivalent?
<coord>
...
<xsl:with-param name="substringIn" select="'' ''"/>
<xsl:with-param
name="substringOut"
select="'</coord><coord>'"
/>
...
</coord>
I have a string of space delimited...
Can the Xpath of XSD schema text() elements be retrieved in vb.net? For example, how can you get this Xpath from the following schema;
parent/child/grandchild
<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified"
elementFormDefault="qualified"
xmlns:xs="http://www.w3.org/2001/XMLSche...
I am using the following methods to download an xml file
private void LoadXMLFile()
{
WebClient xmlClient = new WebClient();
xmlClient.DownloadStringCompleted += new DownloadStringCompletedEventHandler(XMLFileLoaded);
xmlClient.DownloadStringAsync(new Uri("chart.xml", UriKind.RelativeOrAbsolute));
}
void XMLFileLoaded(object sen...
I've been looking into Android development, and while I understand the concepts, all of the Java stuff goes right over my head. XML is easy to pick up on, but I quickly found out that advanced Android development is simply not possible without a good understanding of Java. I looked at this book and it seems pretty good: http://www.amazon...
I am using JAXB to marshall some groovy objects. I am getting output like this:
<desiredskillslist>
<employeeDesiredSkills xsi:type="employeeDesiredSkill" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<name>C Development</name>
</employeeDesiredSkills>
<employeeDesiredSkills xsi:type="employeeDesiredSkill" xmlns:xsi=...
Hi All,
I'm using the DataContractSerializer to convert and object returned from a WCF call to xml. The client would like to see that xml string in a webpage. If I output the string directly to a label, the browser strips out the angle brackets obviously. My question is how can I do something similar to StackOverflow? Are they doing a ...
Hi,
Can anyone point me to a good tutorial on xpath or give me a quick lesson here? Also if xpath is for querying xml, what would I need to use to modify the xml? I guess it would need to be something that works hand in hand with xpath?
Cheers,
Franky
...
Hi All,
I need to post some xml to a webservice and I'm trying to use HTTParty. Can someone provide an example as to how I go about doing so?
Here is the format of the XML I need to post:
<Candidate xmlns="com.mysite/2010/10/10" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<FirstName></FirstName>
<LastName></LastName>
<Emai...
I have this code:
$reader = new DOMDocument();
$reader->loadHTML($shell);
$xpath = new DomXPath($reader);
$xpath->registerNamespace('html','http://www.w3.org/1999/xhtml');
$res = $xpath->query('descendant-or-self::*[contains(@class,"content")]');
print_r($res);
$shell is just a variable containing the following html code:
<html xmln...
Is there any read/write benchmarks comparing JSON and XML for C#?
...
Hi guys,
does anybody here know how to generate a XML file or string in the IPhone?
Regards,
Claudio
...