I sending this request to make a recurring paypent (SOAP request to SandBox),
but in response I get error message about missing token and other fields invalid (Missing Token or payment source).
What could be wrong with this CreateRecurringPaymentsProfile request?
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:xsi="ht...
Hello everyone.
I'm parsing a fairly complicated XML file of the following structure:
<root> ... ... <item> <subitem id="1"/> <text> text1 </text> </item> <item> <subitem id="2"/> <text> text2 </text> </item> ... <item> ... </item> ...</root>
It's pretty c...
I have the following XSL template (I omitted the template for Organization, let me know if it's necessary):
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<xsl:output method="html" indent="yes" omit-xml-declaration="yes"/>
<xsl:tem...
Hi all! Interesting question for you here.
I'm working in Flex/AS3 on (for simplicity) an XML editor. I need to provide undo/redo functionality.
Of course, one solution is to store the entire source text with each edit. However, to conserve memory, I'd like to store the diffs instead (these diffs will also be used to transmit update...
A search for "python" and "xml" returns a variety of libraries for combining the two.
This list probably faulty:
xml.dom
xml.etree
xml.sax
xml.parsers.expat
PyXML
beautifulsoup?
HTMLParser
htmllib
sgmllib
Be nice if someone can offer a quick summary of when to use which, and why.
...
OK So, I'm learning/using xpath for a basic application that's effectively ripping data off another website.
I need to gain the knowledge of each persons Country/Suburb/area.
In some instances you can get Australia/Victoria/Melbourne for instance.
Others may just be Australia/Melbourne.
Or even just Melbourne OR just Australia.
So I'...
I'm new to the world of XML. I'm not sure which way to build the XML so I provided 2 examples below.
My question is: Given the XML, how do I transform either Example#1 / #2 to the WordML Result? What technologies do I need to accomplish this?
Example#1:
<NumberedList1>
<Paragraph>Paragraph one.</Paragraph>
</NumberedList1>
Example...
While navigating through a site, I'm dynamically loading pages via Ajax and then only updating the elements of the page that are changed, such as the navigation state and main content area. This is similar to Lala. I am serving the site as XHTML in order to be able to have access to xhr.responseXML which I then traverse in parallel with ...
Hi
I am looking to return a PDF from a webservice call. (ATM, a custom proxy is required at the client-side)
AFAICS, there are 2 ways of doing it
a) Return the link to a web-accessible location
b) Encode the PDF and include it in the XML
In my circumstance, a) will require 2 trips from the client, the first to get the path and the se...
Hi I am using the class
public class SerializableDictionary
: Dictionary, IXmlSerializable in order to serialize a dictionary. However it doesnt work when as values I have collelctions (eg List) or tyes other than the primitive types (eg. int, double, string....).
My question is which types the TKey, TValue imply or can hold, and if ther...
Recently at last we have switched our projects to Java 1.6. When executing the tests I found out that using 1.6 a SAXParseException is not thrown which has been thrown using 1.5.
Below is my test code to demonstrate the problem.
import java.io.StringReader;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBui...
I have a vertically orientated LinearLayout with some Buttons in it:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical">
<Button android:layout_height="wrap_content" android:layout_width="fill_parent" android...
Are there any scripts out there, or have any of you built a tool, to convert YAML to XML using Nokogiri? If not, any suggestions or samples?
...
I have some class definitions which are somewhat subject to change and which are generated by a third-party tool (xsd, supplied with Visual Studio). For example, suppose it's something like this:
public class THIRD_PARTY_Fruit {
public string Name { get; set; }
}
public class THIRD_PARTY_Apple : THIRD_PARTY_Fruit {
public int Calor...
I will post two examples, one that validates and one that doesn't. I am interested in learning why the second one doesn't work since they are very similar.
Example 1 (validates)
xsd:
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
<xsd:element name="root" type="BBB"/>
<xsd:complexType name="AAA">
<xsd:choice ma...
I'm parsing (a lot of) XML files that contain entity references which i dont know in advance (can't change that fact).
For example:
xml = "<tag>I'm content with &funny; &entity; &references;.</tag>"
when i try to parse this using the following code:
final DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
final Docu...
I am trying to sort by date for XML output. Here is my XSL:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Example by Phil 'iwonder' Guerra -->
<!-- Edited by Lee Sykes DNN Creative Magazine http://www.dnncreative.com -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" inden...
I have a program that uses a lot of xml serialization for storage purposes, because at this point in time a database is inaccessible for the specific project.
Is there any inherit way to lace 'Ids' in foreign collections similar to how they would work as foreign keys in a database? For example...
<Client>
<Name>Client A</Name>
<Addr...
I'm using NetBeans to develop a PHP app, and it works just fine for any PHP pages which output HTML.
However, some of my PHP scripts output XML and (more specifically) KML. NetBeans doesn't seem to understand this, and I get a load of "invalid content" errors in the IDE, as it expects me to be outputting proper HTML code.
Is there som...
Is there anyway to have javascript run when a XSL sheet has been applied to an XML file by Javascript?
I am using a JQuery plugin to apply the sheet to the xml but the javascript that is located inside of the XSL file will not run.
I put the Javascript at the bottom of the file and it still does not run.. I can't seem to get an alert t...