Hello guys.
I am trying to output xml by using domxml_new_doc.
However, I just got the call to undefined function domxml_new_doc() error.
I tried google it but still not luck. Do I have to install any extension or
library? Thanks for the help.
$doc=domxml_new_doc("1.0"); //error on this line....
$node=$doc->create_element("marker...
I am trying to retrieve the XML data for Google Calendar. Authentication and retrieval all works. However, when I retrieve the events, gd: data isn't included as the protocol reference documents it would be (http://code.google.com/apis/calendar/data/2.0/developers_guide_protocol.html#RetrievingWithoutQuery)
Some error messages I'm runni...
I have been messing with xslt off and on since I became a sharepoint administrator, it uses xslt alot for displaying list data. I have recently started using it to transform database results that I have converted to xml using an extension method. I am trying to produce clean html.
My first attempt, worked fine. However I used for-eac...
Hi.
This has been bugging me for days, i'm trying to send a SOAP post via curl but i just keep getting a 'couldn't connect to host' error but i really cant see how.
I have an asp version which works fine with the same url and data, i think it's just a php/curl thing...?
I currently have the following code (the CURLOPT_POSTFIELDS data is ...
I'm writing a program in C# that will go through a bunch of config.xml files and update certain elements, or add them if they don't exist. I have the portion down that updates an element if it exists with this code:
XDocument xdoc = XDocument.Parse(ReadFile(_file));
XElement element = xdoc.Elements("project").Elements("logRotator")
...
How can I send/post an xml file to a local server http://localhost:8080 using curl from the command line? what command should I give?
...
Building on another SO question, how can one check whether two well-formed XML snippets are semantically equal. All I need is "equal" or not, since I'm using this for unit tests.
In the system I want, these would be equal (note the order of 'start'
and 'end'):
<?xml version='1.0' encoding='utf-8' standalone='yes'?>
<Stats start="12759...
I have an XML snippet, so:
<STATES>
<STATE>
<NAME>Alabama</NAME>
<ABBREVIATION>AL</ABBREVIATION>
<CAPITAL>Montgomery</CAPITAL>
<POPULATION>4661900</POPULATION>
<AREA>52419</AREA>
<DATEOFSTATEHOOD>14 December 1819</DATEOFSTATEHOOD>
</STATE>
<STATE>
<NAME>Alaska</NAME>
<ABBREVIATION>AK</ABBREVIATION>
...
How do I change the Castor mapping
<?xml version="1.0"?>
<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN"
"http://castor.org/mapping.dtd">
<mapping>
<class name="java.util.ArrayList" auto-complete="true">
<map-to xml="ArrayList" />
</class>
<class name="com.db.spgit...
I am generating XML using Apache Velocity. What is the best (most straight-forward) way to XML-escape the output?
(I saw there is an escape tool, but could not figure out it's dev state. I also think that XML escaping is something that is very likely supported by Velocity directly.)
...
Let's say I have an application that processes messages. Messages are just objects in this case that implements IMessage interface which is just a marker.
In this app, if a message fails to process, then I want to log it, first of all for auditing and troubleshooting purposes. Secondly I might want to use it for re-processing.
Ideall...
Hello!
Im trying to make an rss-app, with the feed in a table, each row with a title and an (thumbnail) image. I have everything working fine with just text, but i can’t seem to get the images to show up... Can somebody please help me with this? It would mean a lot to me!!!
My xml data looks like this:
Henin slumps to defeat by Stosu...
Given this XML...
<?xml version="1.0" encoding="UTF-8"?>
<root>
<item>
<this>
<that>one</that>
</this>
</item>
<item>
<this>
<that>two</that>
</this>
</item>
<item>
<this>
<that>three</that>
</this>
</item>
</root>
I want to make copies of the items into a new for...
In a (Java) code that I'm working on, I sometimes deal with a non well-formed XML (represented as a Java String), such as:
<root>
<foo>
bar & baz < quux
</foo>
</root>
Since this XML will eventually need to be unmarshalled (using JAXB), obviously this XML as is will throw exception upon unmarshalling.
What's the best way to r...
Hi,
I've got a Flex 3 project that uses xml. It works great in Safari or Firefox. But it blows up in IE. I access the xml using the lines below:
_clickURL = [email protected]();
_mediaSource = [email protected]();
If I hard code it like this:
_clickURL = "http://www.mywebsite.com/openx/www/delivery/ck.php?oaparams=2__...
I'd like to organize my XML data to be collapsable and expandable using a preprocessor command like the #region/#endregion command in C#/.NET. I'm editing this file Visual Studio 2008.
Does any such ability exist? I've googled to no avail. The closest I can come to so far is to expand and collapse the tags themselves, so I can collaps...
Hi!
I am wanting to concatenate two nodeset values using XPath in XForms.
I know that XPath has a concat(string, string) function, but how would I go about concatenating two nodeset values?
BEGIN EDIT:
I tried concat function.. I tried this.. and variations of it to make it work, but it doesn't
<xf:value ref="concat(instance('para...
I am building an application using Action script 3 I am retrieving some XML from the web however the node names are mms:Image mms:Results etc my action script compiler is throwing an error becuase it is not expecting to see the semi colon in the node name. How to I access the nodes?
thanks
...
I have a webservice that gives me the live stock quotes. I need to hit the webservice and update the page every 10 seconds or so.
what is the best way to implement this using .NET and AJAX?
I am looking for tips in the following lines:
How to implement the end ASPX page to refresh the content on a timeout event?
Should i just implem...
Let me explain the setup that is being used.
Right now I have an authorware program which loads an ocx control. This control receives data in the form on an XML string. This part is working properly. However I need parse this XML string in authorware and have not been successful. I have been trying to use the XMLParser Xtra. The documen...