hi all,
i want to parse the xml File. xml File structure is following
<?xml version="1.0" encoding="utf-8"?>
<Level>
<p id='327'>
<Item>
<Id>5877</Id>
<Type>0</Type>
<Icon>---</Icon>
<Title>Btn1Item1</Title>
</Item>
<Item>
<Id>5925</Id>
<Type>0</Type>
<Icon>---</Icon>
<Title>Btn1I...
Hello,
I want to save user generated data in an XML file in the iphone. While we have NSXMLParser to parse through any xml from a url, do we have any method to create a xml file which can be stored in the app documents directory, so that i can use the parser to read the file and then display the contents back in the app.
Or using Core ...
My DB schema has matured a lot. The XSD had increased in size and hence using Visual Studio 2008 designer is getting difficult. Is there a way i can automate the XSD generation?
...
This is a bit of a vague notion which I have been running over in my head, and which I am very curious if there is an elegant method of solving. Perhaps it should be taken as a thought experiment.
Imagine you have an XML schema with a corresponding XSL transform, which renders the XML as SVG in the browser. The XSL generates SVG with ...
This is targeted at Technical Leads and Architects, but Anyone can answer this - all thoughts are welcome - have fun with it.
I want to abstract a large database store (relational, OLTP) from the application layer by having the application consider the database as a service. The natural way of doing this is by calling sprocs, but tradit...
I create a MSXML6 DOM document and during serialization I want to control how empty elements are serialized:
<tag></tag>
<tag/>
This answer describes a solution for C#, but I'm looking for something possible with the ActiveX interface of MSXML. (For VB6 or some scripting language)
...
I'm trying to link to a SharePoint page from an HTML document produced using an XSL transformation, but it keeps complaining that the link is invalid:
<a href="site.aspx?List={5r45d0e2-f7eb-4658-a585-3277gr4327ee}&RootFolderUrl=url&Name=name">My Link</a>
Obviously, the link is full of unusual characters, and I'm not too sure h...
We have a local database of our products without the price. To get the price, we need to POST an XML file containing the product ID and the credential of our company to the manufacturer. The manufacturer will send back the same XML file and will add the price in a new tag. I need to parse that file to get the price.
Here is a part of t...
Hi Everyone,
I'm new at Flex and I wanted to know how to read an xml file to pull its data into a chart, using Flex Builder 3.
Even though I've read and done some tutorials, I haven't seen any of them loading the data dynamically. For example, I'd like to have an xml like the following:
<data>
<result month="April-09">
<vi...
Hi I have a xml like this:
<xml><fullname>
<name attrib="true"/>
<lastname1 attrib="false"/>
<lastname2 attrib="false"/></fullname></xml>
I need to create a schema to validate it in such a way that it will allow only 1 attrib with value "true" (and the rest of them must be false [the attrib attribute is defined to be xs:boolean]), so ...
Currently i am using and have looked through this code http://us.php.net/manual/en/function.xml-set-element-handler.php#85970
How do i get the text between tags?
i am using php5 and XML Parser
...
Given the following xml input:
<Sections>
<Section number="1">
<Step number="1">
<SubStep number="1" Pass="True">
<SubSubStep number="1" Pass="True"/>
<SubSubStep number="2" Pass="True"/>
</SubStep>
</Step>
<Step number="2">
<SubStep number="1" Pass="False">
<SubSubStep number="...
Hello,
I'm trying to pass a parameter to an XSLT stylesheet, but all i'm getting is an empty xml document when the document is transformed using XSlCompiledTransform.
This is the C# method used to add the parameters(after adding in people's suggestions)
private static void CreateHierarchy(string manID)
{
string man_ID = m...
I need to take in XML and validate it against a schema file. Afterward i must call a function based on the command (example updateContactList). What is the best way to do this? I am worried about validating the XML (and report errors) and i have no idea what is the best way to put the data into a function to run
-edit- NOTE: By validati...
What's the best way to go about hashing an XML document in C#? I'd like to hash an XML document so that I can tell if it was manually changed from when it was generated. I'm not using this for security--it's OK if someone changes the XML, and changes the hash to match.
For example, I'd hash the child nodes of the root and store the hash...
I was thinking, it might be able to use and process XML data if i can run the XML through a func to validate it (against a schema) then convert the XML to json for easy object access? How can i convert XML to JSON easily?
...
Is it possible to store non-alphanumeric characters (more specifically line break characters) in a XML data type?
The code below illustrates my problem:
declare @a xml
declare @b nvarchar(max)
set @b = '<Entry Attrib="1'+CHAR(13)+'2" />'
print @b
set @a=convert(xml,@b,1)
set @b=convert(nvarchar, @a,1)
print @b
The output is:
<E...
I have an xml document that is constructed pretty poorly-- instead of child nodes, the items have multiple attributes.
For Example:
<makes>
<option make="FORD" year_start="1950" year_end="2009" />
<option make="CHEVROLET" year_start="1965" year_end="2009" />
...
</makes>
I'm trying to use XPath to select the value of the other attri...
I am new to working with XSLT and am trying to create a pivot table using the Muenchian Method (since it appear that IE still doesn't support XSLT 2.0 I think I'm stuck with this). I am able to get the desired grouping however I am trying to get the sum of an attribute for each group. To do the sum of the attribute can I use the aggreg...
I want my dataset to generate xml that looks like this
<Bugs>
<Bug>
<Name></Name>
<Desc></Desc>
<Comments>
<Comment></Comment>
<Comment></Comment>
</Comments>
</Bug>
</Bugs>
I am returning 2 sets of data from a stored proc, one returns the "bug" data and the other "comments".
I then load them i...