I've used OpenOffice 3.2 to convert a word doc into Microsoft Word 2003 XML. I am looking for and XSD or XSL that I can append to the document to show it in my browser. Can anyone point me in the right direction>
...
how can I add to each node I add to xml a unique index value
for example I have
<events>
<event><id>0</id>
</event>
<event><id>1</id></event>
</events>
I want to add another event "node" that the id will be 6
/edited/
i have created xsd an added to the id elment autoincrease =true
but idont really know wha...
Among the elements that consist my xml, I have got element let's call it 'X' that can contain many different kind of inner elements. Therefore I'd like to define the DTD parser to avoid parsing its content during its XMl validation.
I tried to define this elemtn by:
<!ELEMENT X ANY>
and got error message that the inner element inside ...
From the following XML, I must extract the value of the uid attribute (557103888) on the fb:profile-pic element:
<li class="ui-widget-content ui-corner-tr ui-draggable">
<fb:profile-pic height="32" width="32" linked="false" uid="557103888" style="width: 32px; height: 32px;" class=" fb_profile_pic_rendered">
<img class=""...
I'm attempting to use the XML::Simple CPAN module to convert output from our database into a simple XML structure. The problem is that the output being returned isn't what I was hoping for no matter what options I attempt to pass to XML::Simple.
The database table we're trying to output is just a bunch of items with the definition:
CRE...
Looking at w3schools for xPath (feel free to give me other references), you can select all the children of bookstore, but what if I wanted to only select the second book element? How can I do that?
<?xml version="1.0" encoding="ISO-8859-1"?>
<bookstore>
<book>
<title lang="eng">Harry Potter</title>
<price>29.99</price>
</book>
<b...
I'm trying the find a xml node with xpath query. but i cannot make it working. In firefox result is always "undefined" and chrome throws a error code.
<script type="text/javascript">
var xmlString = '<form><name>test</name></form>';
var doc = new DOMParser().parseFromString(xmlString,'text/xml');
var result = doc.evaluate('/form/name'...
I like to make an app that reads articles from a website ad RSS or JSON. What method do I use to grab the XML or JSON to my app? How do I tell when the data is available locally?
Thanks.
Edit:
I'm using Objective-c for iOS. I need code for iOS please.
...
We are studying how to parse through the DOM tree in Java. Quick question, in the below partial code my prof gave us, he creates an ArrayList and adds the Document object to it. I've only used the ArrayList to add items to the list like String, int, etc. In this case, when he adds the Document object to it, does Java automatically put...
Hi all,
I'm a somewhat experienced PHP scripter, however I just dove into parsing XML and all that good stuff.
I just can't seem to wrap my head around why one would use a separate XML parser instead of just using the explode function, which seems to be just as simple. Here's what I've been doing (assuming there is a valid XML file at ...
Hey,
I am trying to parse some XML in AS3 that I recieve thru a WebService call to C#. C# is serializing using a DataContract so the namespace is non standard.
Here is what the xml looks like:
<User xmlns="http://schemas.datacontract.org/2004/07/UserDatabaseManipulation.POCO" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
...
Sample XML:
<MenuDataResult>
<Items>
<Item>
<ItemType>Submenu</ItemType>
<ItemTitle>Level22</ItemTitle>
<Menu>
<MenuSelected>false</MenuSelected>
<ChildMenuSelected>false</ChildMenuSelected>
</Menu>
</Item>
<Item>
<ItemType>Submenu</ItemType>
<ItemTitle>Level21</ItemTitle...
I have a xml file
<events date="30/08/2010">
<event>
<title>here</title>
<description>
This is first Event This is first Event This is first Event This is first Event This is first Event This is first Event This is first Event This is first Event This is first Event This is first Event
</description>
</event>
</events>
<events date="31...
I have an XML file of the following structure
<Root>
<Child Name="First">
<Data Name="a" val="0"/>
<Data Name="b" val="1"/>
<Data Name="c" val="20"/>
<Data Name="d" val="10"/>
<Data Name="e" val="2"/>
<Data Name="f" val="0"/>
<Data Name="g" val="0"/>
<Data Name="h"...
I've got a 2-part question...
I have some XML that looks like:
<trans-unit id="70" restype="x-text:p">
<source xml:lang="en-en">option 4</source>
<target xml:lang="fr-fr">option 4</target>
</trans-unit>
<trans-unit id="71" restype="x-text:p">
<source xml:lang="en-en">option 5</source>
<target xml:lang="fr-fr">option 5</target>
</trans...
Is there any approach to generate editor of an XML file basing on an XSD scheme? (It should be a Java or Python web based editor).
...
I want to pass xml document to sql server stored procedure such as this:
CREATE PROCEDURE BookDetails_Insert (@xml xml)
I want compare some field data with other table data and if it is matching that records has to inserted in to the table.
Requirements:
How do I pass XML to the stored procedure? I tried this, but it doesn’t work:[...
HI All,
I am trying to bind some XML into a combobox using the below code:
<UserControl
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Name="myComboBoxControl">
<UserControl.Resources>
<DataTemplate x:Key="dataTempla...
Hi
I have the following simple xml:
<root>
<item>
<d>2002-05-30T09:00:00</d>
</item>
<item>
<d>2005-05-30T09:00:00</d>
</item>
<item>
<d>2003-05-30T09:00:00</d>
</item>
</root>
Now I want to find the minimum or maximum dateTime node using XPath.
My solution at the moment is:
/root/item[not(number(translate(./d, 'TZ:-', ...
Can anyone provide me with the info to parse an XML file in an Android application...
any link on this will b helpful...
...