I have an xsd file which describes a DataSet schema I use to read/write my DataSet to disk as an xml file. I did not write the schema from hand, rather, I wrote the xml file by hand, inferred the schema from the xml file, and then wrote out the xsd schema. (I am pretty new to this...)
Anyway here is the schema (some amazon.com stuff goi...
Hi all,
I have the following code:
protected void Page_Load(object sender, EventArgs e)
{
XElement xml = XElement.Load(Server.MapPath("ArenasMembers.xml"));
var query = from p in xml.Descendants("members")
select new
{
Name = p.Element("name").Value,
Email...
Hi all,
I'm working on a piece of code to split files.
I want to split flat file (that's ok, it is working fine) and xml file.
The idea is to split based of a number of files to split:
I have a file, and I want to split it in x files (x is a parameters).
I'm doing the split by taking the size of the file and spliting the size by the num...
Hi guys,
I want to read XML data using XPath in Java, so for the information I have gathered I am not able to parse XML according to my requirement.
here is what I want to do:
Get XML file from online via its URL, then use XPath to parse it, I want to create two methods in it. One is in which I enter a specific node attribute id, and ...
I use xml to get label for my website.
the xml generated from database file look like this
<xml xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'
xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882'
xmlns:rs='urn:schemas-microsoft-com:rowset'
xmlns:z='#RowsetSchema'>
<s:Schema id='RowsetSchema'>
<s:ElementType name='row' content='elt...
Hi guys,
Following on from my previous question, I am getting another compilation error on my Linq query:
Compiler Error Message: CS1002: ; expected
Source Error:
Line 42: XElement xml = XElement.Load(Server.MapPath("/members/listmembersxmlfeed?gid" + gid));
Line 43:
Line 44: var query = from p in xml.Descendants("member")
Line 4...
Can any one, please tell me is there any open source available for showing database order information into graphical chart using PHP-XML?
...
I have a XSD simple type that should match UUIDs:
<simpleType name="UuidT">
<restriction base="string">
<pattern value="[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}" />
</restriction>
</simpleType>
It correctly matches the following content:
<!-- valid -->
<Uuid>12345678-1234-5678-9012-123456789012</Uu...
i have svg file
<svg
xmlns="http://www.w3.org/2000/svg"
xml:space="preserve" width="200px"
height=""
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
viewBox="0 0 69.1341 93.4405"
xmlns:xlink="http://www.w3.org/...
Does anyone know of a good XML editor library/control to use in a WinForms project?
...
I'm trying to update an empty XML Tag in my Xml string on sql server; it says the row is updated when i run the following script, but when I view the XML; nothing has changed:
Declare @newValue varchar(100)
select @newValue = '01'
update dbo.UploadReport
set XmlTest.insert('replace value of (/CodeFiveReport/Owner/AgencyID/text(...
Hi,
I have this XML file, from which I'd like to count the number of users referenced in it. But they can appear in more than one category, and I'd like these duplicates not to be taken into account.
In the example below, the query should return 3 and not 4. Is there a way in XPath to do so? Users are not sorted at all.
<list>
<group...
I have an XML document with companies listed in it. I want to create a link with XSLT that contains the <link> child of the next node. Sorry if this is confusing..here is some sample XML of what i'm trying to obtain:
<portfolio>
<company>
<name>Dano Industries</name>
<link>dano.xml</link>
</company>
<company>
<name>Mike and Co.</nam...
I want to pull in data using a XML::XPath parser from a XML DB file from the Worldbank site. The problem is that I'm not seeing any results in the output. I must be missing something in the code. Ideally, I would like to extract just the death rate statistics from each country XML DB (year and value). I'm using this as part of my input:
...
Hi,
I would like to find a better way to do this:
XmlNode nodeXML = xmlDoc.AppendChild( xmlDoc.CreateXmlDeclaration( "1.0", "utf-8", String.Empty) );
I do not want to think about "utf-8" vs "UTF-8" vs "UTF8" vs "utf8" as I type code. I would like to make my code less prone to typos. I am sure that some standard library has declatred ...
(First of all, I'm trying to learn how to handle xsd files, I know very little)
I got this xsd, and just copy to Eclipse IDE, and it says there an error on line 26:
<xs:element name="Issuer" type="dkx:IssuerType" />
saying:
cvc-attribute.3: The value
'dkx:IssuerType' of attribute 'type'
on element 'xs:element' is not valid
...
I'm using the Spring WS version 1.5.8. My response looks like this:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
...
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
However, my client (whom I integrate with) requires that I will add more namespace declera...
I have this xml document that is provided as a data feed (right off the bat I can not modify the source of the data feed) and i import it into excel with the xml import. there is no schema that comes with this xml so i get a table that ends up having a whole bunch of duplicates for an identifier, because of the unique values spread throu...
I'm not able to get WSDL to work, it giving me this error:
C:\Program Files\Microsoft.NET\SDK\v2.0\Bin>wsdl.exe /username:NOTGIVINGU/password:THEPASSWORD /v /parsableerrors http://www.stoysnet.com/stn_mfg/link/soap.php?wsdl
WSDL: error WSDL1: Unable to import binding 'Product' from namespace 'http://www.stoysnet.com/stn_mfg/link/soap.p...
I want to import a bunch of xml data in weka. Is there a straightforward solution or a tutorial or I have to maually convert it to a csv or arff file format?
...