I can not assign a xml scripts in to a php variable.
My xml text:
<?xml version="1.0" encoding="UTF-8" ?><rss version="2.0"><channel>
<title>coolajax.net</title>
<link>http://www.hotscripts.com/listings/feed</link>
<description>Coolajax Scripts Listings Description</description>
and I want to assign this text in to ...
Hello, I have a very strange problem which I will be very thankful if someone would help me with.
I have a form that has a textarea whose content is later transferred to a page that has a line like this (using DOM with php to change data on an XML file):
$dom->getElementsByTagName("page")->item($itemNum)->getElementsByTagName("lang...
Hi,
I have a tricky XSL problem at the moment.
I need to copy the existing XML, copy a certain element (plus its child elements) and modify the value of two child-elements.
The modifications are: divide value of the 'value' element by 110 and edit the value of the 'type' element from 'normal' to 'discount'.
This is currently what I hav...
Hello! I have a problem with the validation of this piece of XML:
<?xml version="1.0" encoding="UTF-8"?>
<i-ching xmlns="http://www.oracolo.it/i-ching">
<predizione>
<esagramma nome="Pace">
<trigramma>
<yang/><yang/><yang/>
</trigramma>
<trigramma>
<yin/>...
I have a table that contains some meta data in an XML field.
For example
<Meta>
<From>[email protected]</From>
<To>
<Address>[email protected]</Address>
<Address>[email protected]</Address>
</To>
<Subject>ESubject Goes Here</Subject>
</Meta>
I want to then be able to query this field to return the following results
F...
Hi,
I need to extract the detail content of a website while preserve all formatting of the division. The section I wish to extract is:
...
<div class="detailContent"><p>
<P dir=ltr><STRONG>Hinweis</strong>: Auf ... </p>
</div>
...
My current solution is to use HTMLParser from libxml2 and xpath to find the nodes and walk through all ...
All,
Sorry in advance for the ambiguous title.
Here's what I'm trying to do...
I'm working on an application that needs to query a database to get a list of items. That list of items will get formatted into an XML document that gets returned to the querying front-end.
To simplify, let's say that the items are books. Each book has the...
I feel like this should be simple, however everywhere I look online someone does something different. I am doing a small charting application to track download statistics, and want to put the data into a pie chart. I am new to Flex, so if my code is horrible I apologize.
<s:HTTPService id="service"
url="admin/stats/totalstats.php"
...
I have written an application that basically gathers up a bunch of text and numerical data from the client PC and stores it as an object. Right now I'm implementing XML serialization so that the file can be saved.
The issue is now, how do I get this data to the server? I have a server running IIS 7 setup but I don't quite understand the...
how can i call varible from my resource file from a xml document
like
<items>
<item rating="R">
<title>The Matrix</title>
<format>"$resources:Format,Dvd"</format>
</item>
</items>
...
I need a function that will convert € or chr(0x20AC) or chr(8364) to € without having a static map.
I tried using htmlentities(), but it only seems to work for the symbol itself and it converts to €.
...
I have to load many XML files from internet. But for testing with better speed i downloaded all of them (more than 500 files) of the following format.
<player-profile>
<personal-information>
<id>36</id>
<fullname>Adam Gilchrist</fullname>
<majorteam>Australia</majorteam>
<nickname>Gilchrist</nickname>
<shortName>A ...
I'm trying to find something like this: http://coffeescripter.com/code/ad-gallery/ that is controlled by an xml file that can simply contain the image location, thumbnail location and the text for title/description. Has to be pure jquery or javascript though - no flash based stuff.
I've found loads of great components but can't find one...
I have some content being pulled in from an external xml with xsl. in the xml the title is merged with the author with a backslash seperating them.
How do I seperate the title and author in xsl so I can have them with differnt tags
<product>
<title>The Maze / Jane Evans</title>
</product>
to be
<h2>The Maze</h2>
<p>Jane Evans</...
My regex skills are not very good and recently a new data element has thrown my parser into a loop
Take the following string
"+USER=Bob Smith-GROUP=Admin+FUNCTION=Read/FUNCTION=Write"
Previously I had the following for my regex : [+\\-/]
Which would turn the result into
USER=Bob Smith
GROUP=Admin
FUNCTION=Read
FUNCTION=Write
FUNCT...
I want to save my DOM Document as an XML file.
I follow this tutorial: http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JAXPXSLT4.html
So, this is my code:
...
TransformerFactory tFactory = TransformerFactory.newInstance();
Transformer transformer = tFactory.newTransformer();
DOMSource source = new DOMSource(doc);
StreamResult result = ...
I would like to add some test annotations (xml file) into an avi file as food for a later program that will process it. Is this done/doable ... ideally like a c# library to help me access and read/write the avis.
?
...
I've create an EJB in Eclipse with a method that returns String.
The String is an XML fragment made from a DOM Document.
When I invoke the EJB as a web service, the String is correct, but it gets CDATA tags added around it. How can I avoid this and get the raw XML in there, directly, instead?
Thank you
@WebService(serviceName = "XSe...
Basically, I want to do the reverse of this question.
I'm getting XML from Microsoft's Bing batch Geocode service, and some of the elements look like this (poached from here):
<DataflowJob>
<Id>5bf10c37df944083b1879fbb0556e67e</Id>
<Link role="self">https://spatial.virtualearth.net /REST/v1/dataflows/Geocode/5bf10c37df944083b18...
Is it possible to use regex to turn this
<site-ui:header title="error" backURL="javascript:history.go(-1);" />
into this
<site-ui:header
backURL="javascript:history.go(-1);"
title="error"
/>
Basically, my goal is to format this xml so that the fields are in alphabetical order (e.g. backURL comes before title), and each field...