Tagged Questions
Extensible Markup Language (XML) is a flexible structured document format that defines human- and machine-readable encoding rules.
0
votes
0answers
5 views
Powershell not displaying every node in xml
I trying to display every child node in an XML file but some nodes are not getting displayed. Below is my powershell script.
$dst_web_config = "C:\Users\vel\web.config"
$src_web_config = ...
0
votes
0answers
11 views
Error while trying to play video on android
I have used a videoview on my main xml (with a relative layout) and tried to play an MP4 video (via instantiating a MediaPlayer and ...), but the program says: this video can't be played.
When I ...
0
votes
0answers
8 views
How to deal with slashes in xml node values?
I'm using libxml2 to parse XML files. My problem is that when slashes"/" are present in a node value like :
<Chunk>
...
-3
votes
0answers
8 views
Pie Chart Using Achartengine
I want to draw the Pie chart even the following elements of array is zero.
at least pie chart will appear with some default background color. and if the array consisting any non zero value then ...
1
vote
2answers
10 views
Splitting out xml result into dropdownlist
Hope someone can help - I'm new to js/jQuery so I'm hoping it's something really simple I'm missing here.
I'm trying to populate a dropdownlist with the xml result from below. The parseXML function ...
0
votes
0answers
5 views
Parse this XML data
Looking to parse car data returned in XML format but need some help.
So far:
$xmldata = $standard;
$xmlobj = simplexml_load_string($xmldata);
echo $xmlobj->Success;
Which shows 'true' ...
-1
votes
3answers
16 views
Extracting xml values using perl
I have my xml file which has below data
<User text="HHd5">
<max string="0"/>
<min string="pick up"/>
<valat string="0"/>
<valon ...
1
vote
0answers
16 views
Populate xml data into SQL Server table
I'm trying to read data from xml file and populate into SQL server table. My xml file structure is :
<?xml version="1.0" encoding="utf-8"?>
<Methods>
<Method>
...
0
votes
0answers
9 views
Getting XML from official site from JQUERY code
I'm trying to get currencies rate from the URL:
CURRENCY
It works perfect from browser and also from Android java using REST API.
Now I'm trying to get it from JS using JQUERY AJAX.
I use this code:
...
0
votes
0answers
15 views
Is there an English dictionary available online in XML or JSON format? [on hold]
I'm looking for an English dictionary in JSON and XML formats that I can download. I referred back to this thread, but the links posted there are either APIs or outdated dictionaries. Has anything ...
0
votes
1answer
13 views
Return only one element from XQuery FLWOR sequence
I'm using XQuery to select a list of nodes from an XML according to some conditions. The result is a list of a couple of nodes, but I only want to return one (first or last) of them.
First I use ...
0
votes
2answers
4 views
xslt Conditional Transformation
I am trying to come up with a xslt that either copies everything from the source xml to target or produce an empty file based on certain value in the source file.
Suppose I have source1.xml, like ...
0
votes
0answers
13 views
Add script tag to magento layout.xml
I'm currently developing a eCommerce system with Magento. I have my footer called as
<?php echo $this->getChildHtml('footer') ?>
and my layout.xml has following tags to define the 'footer'
...
0
votes
1answer
7 views
Creating an XML string from php string
Looking to parse some XML data that is saved in a DB. In the DB its saved in raw XML:
<?xml version="1.0" encoding="utf-8"?>
<RESPONSE>
<SUCCESS>true</SUCCESS>
...
0
votes
1answer
4 views
Failed to read schema document on remote
I have got a XML file as follows:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xml>
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
...
0
votes
1answer
27 views
Convert from csv to xml in sql
My SQL Server database has entire csv file's data saved in varchar field like in following sample:
StudentName,Field1,Field2,...,Fieldn
Homer,somevalue,somevalue,...,somevalue
...
0
votes
0answers
7 views
Does VPAID have an XML format?
From what I understand, VPAID doesn't inherently have tags of its own or XML of its own. It is an interface that you write(or is written) which translates information from the video player to the ad ...
0
votes
2answers
28 views
Why does my EditText box allow usage of plus sign
This is actually part of my homework and my friends did similar thing but the problem occurs only for me. this is my xml code:
<EditText
android:layout_width="fill_parent"
...
0
votes
1answer
27 views
How to deserialize the following XML response in C#
I received the following response from a java web service. When try to deserialize it using DataContractSerializer, I received the following error
<ns:redeemVoucherResponse ...
0
votes
0answers
5 views
MXXMLWriter60 ignores encoding property
I'm using a MXXMLWriter60 in combination with a SAXXMLReader60 to indent the output and add the correct encoding tag.
The output content is indented but it seems like the encoding property is always ...
0
votes
2answers
24 views
For XML Path - SQL Server [duplicate]
I have data in SQL Server table as shown below.
**Name Date AA BB CC**
Customer1 3-Mar-15 234 56 4567
Customer2 4-Mar-15 55 66 77
Now I want this data to be formatted ...
0
votes
0answers
4 views
Zend SOAP xml generation
I need to have:
<lam:delete_categories>
<!--1 or more repetitions:-->
<lam:ids>?</lam:ids>
</lam:delete_categories>
My method is:
/**
* @param ...
0
votes
1answer
5 views
Retrieve the element node from attribute node
For a node
<a:cs id='x'>
If current node is id (the attribute), how to retrieve Element node; i.e; a:cs?
0
votes
2answers
41 views
Create array as single node c#
I want to create object that after serialize to xml should looks like:
<List>
<Map>
<Entry Key="1" Value="ASD" />
</Map>
<Map>
...
0
votes
1answer
14 views
Generate remote XML, and consume from web page, using javascript
I am looking at a scenario where I want to "consume" an xml/json document and build some visual elements from said date.
Per example, List of bookings for a time period. Lets say data will contain
...
0
votes
1answer
18 views
Error when trying to split XML file using XML::LibXML module
I have been trying to split XML data using the XML::LibXML module, but it throws an error like this
Can't call method "findnodes" without a package or object reference
My input
<xml>
...
1
vote
1answer
11 views
Jaxb marshalling - getting all fields in xml from java object
I am using JAXB for marshalling java object to XML. I have generated the required java objects from xsd. I am able to marshall and get the xml as described below.
<Disk>
<Details>
...
-1
votes
0answers
9 views
Data from xml to cumulative drop down in html [on hold]
I have xml file which has different tags with different values. If I select value 1 for first drop down, then it should retrieve only those related tags and display in second drop down filteration.. ...
0
votes
0answers
3 views
twilio voice mail handle calls
Hi everyone.
i was working for a system that want to use twilio voice mail but i'm having a hard time to understand the documentation https://www.twilio.com/docs/howto/voicemail on how i use it to do ...
0
votes
0answers
13 views
Reading SPAN files in R
There are these plaintext files, called SPAN files, located here. Looks like these have XML tags. After extraction I wanted to load these files to R. Not sure how to do for these files. I tried using ...
0
votes
2answers
21 views
How Parse Xml Without serialization and store each node Xpath
I have following xml file. I want to parse it without Serilization in C#.
<StudentList>
<StudentCount>5</StudentCount>
<Student>
<Id>1</Id>
...
0
votes
0answers
19 views
How can I use TinyXML for Visual C++?
i'm beginning in c++ and i try to use xml in my code, this is my source code :
cv::FileStorage fs("facedata.xml", cv::FileStorage::WRITE);
cv::Mat mask = cv::Mat::zeros(8, 8, CV_32FC1); // all 0
...
0
votes
2answers
29 views
What are the different screensizes we should concentrate while developing app?
I received a project where there are many screensizes.
So everytime i make changes in the xml's in the layout folder,i have to change the xml code in different layout-screensize folder.Is there any ...
0
votes
1answer
18 views
Solve non-hex digit Error while using XSL Transformation With MobileFirst Adapter
My XML data contains "\" characters in the xml.
It works fine when I didn't use Transformation in Mobilefirst Adapter.
But when I use Transformation via xsl in MobielFirst it throws error like below ...
0
votes
0answers
9 views
Availablity of APIs for sport, event and live concert's schedules and tickets?
Are there any APIs related to sports and live concerts (schedules and buying tickets) in US region are available to implement a website like below.
"http://www.tickpick.com/"
...
0
votes
0answers
6 views
Why does xml.dom.minidom walk to remove empty text nodes work unexpectedly?
The Code: (usual depth-first)
import xml.dom.minidom as xdom
def _walk_n_apply(func, cond, parent): ...
0
votes
0answers
10 views
Parsing XML file list elements with Simple XML in Android, I am waiting online
I need to parse a large xml file with SImple XML, (I really want to use Simple XML). I created objects with XSD, converted them from JAXB specific to SimpleXML specific adnotated objects.
The XML ...
2
votes
2answers
19 views
Parsing XML data into string objects using JAXB
I have to parse a xml into string objects in JAXB. But how to creates objects for this xml
Country.xml
<?xml version="1.0" encoding="UTF-8"?>
<Country>
...
0
votes
0answers
13 views
ASP.NET 4 Web Service XML and MessagePack
I have ASP.NET 4 WebService. It uses XML protocol. iPhone and Android clients use this service. In the future I want use MessagePack protocol: old clients use XML protocol and new clients will use ...
-1
votes
1answer
21 views
Persistence.xml settings for hibernate and mysql says “No Persistence provider for EntityManager”
I am trying to implement a simple ORM program, using JPA and hibernate. I want to write it as portable as possible, so that when I provide a different persistence provider, only the persistence.xml ...
0
votes
0answers
7 views
XML error parsing SOAP payload on line 1: No memory
I know this has been asked before but I cannot seem to find my exact issue, or a solution that works for me.
I have a SOAP server that can accept documents pushed from one client to another. This ...
0
votes
1answer
15 views
Need to Validate xml - Help Needed
I have an xml file whose data needs to be validated with 250+ rules, the size of the xml can range from 4MB to 50 MB. Have the following questions.
Where the Rules should be defined, as i would like ...
1
vote
0answers
8 views
PHP XML Soap Request - [env:Server ] Invalid Credentials
I am trying to create an XML SOAP request to a WSDK service via PHP - my code is as follows:
<?php
//WSSE Authentication Header Object
class WsseAuthHeader extends SoapHeader {
...
1
vote
1answer
21 views
Update SQL table from XML
I have two different XML files, from which I have to update two SQL tables via a stored procedure. one is in the format <InvoiceNumber>17-I-36528</InvoiceNumber>, and works fine.
The ...
0
votes
1answer
10 views
How type superscript text in OpenERP textbox & Save into DB
let me know the way to handle this: I need to type Superscript text in OpenERP text box & Need to save into postgresDB.
0
votes
0answers
8 views
How to find possible values for xml-configuration-file attributes?
Lets take for example the following tag in the persistence.xml:
<property name="javax.persistence.schema-generation.database.action"
value="drop-and-create"/>
I know that ...
0
votes
1answer
19 views
XQuery on string with substrings
Here's an example of code from the database I'm using:
<mondial>
<mountain id="mount-Sajama" country="BOL" type="volcano">
<name>Sajama</name>
...
-2
votes
0answers
17 views
Android Studio - My scrollView will not fill up the entire screen. How do I do this?
I have a bunch of buttons within a LinearLayout which is within a ScrollView. It will not fill the entire screen but instead will leave small gaps at the edges of the screen. (Picture)
I'd like the ...
0
votes
0answers
8 views
JAXP XPath expression for element in another namespace
I have been banging my head against this for over a day and although I have a solution it is ugly and I can't help thinking there is something more elegant.
I am parsing an XML document with JAXP (it ...
0
votes
2answers
35 views
How to add a colon inside xml element? Linq to xml C#
I am generating an XML file from linq query. The xml elements are generated, however I want to add a prefix in each element so it result some thing like the following:-
XDocument xDoc =null;
xDoc = ...