Hi there
The Challenge:
i d like to collect all nodes with the attribute "id".
The Problem:
The code doenst work with nested nodes.
<?xml version="1.0" encoding="utf-8"?><contentmap><fonts id="fonts">
fonts/Arial.swf
swf/library_main.swf
private function onXMLLoader(event : Event) : void {
_xml = _loader.getXML(event.targ...
I have this flash code - I need to add getURL(this.mainurl, "_self"); so that this.mainurl is a dynamic value from an XML file.
Can anybody maybe show me how to make the getURL value dynamic
myPhoto = new XML();
myPhoto.ignoreWhite = true;
myPhoto.onLoad = function(success) {
//portfolioTag = this.firstChild;
numimages = this.first...
I’m curious if there is standard or guideline for determining what types of things should be attributes vs elements within the xml file.
I’m also curious about creating xmlarray and xmlarrayitem lists using XMLSerializer. For example if I have the following:
<SomeBaseTag>
<Item1 Attr11=”one” Attr12=”two” />
<Item1 Attr11=”one” A...
Guys, I'm stuck, banging my head off the desk for the past few hours.
I am trying to consume a service, and I have 8 other functions that I call that are almost IDENTICAL in nature to this one, but this one, results in a 'SOAP-ERROR: Encoding: Violation of encoding rules' error.
Heres the function call (wsdl omitted for security):
...
I'm using jqGrid 3.5.2 and having issue with loading xml file from server side.
BTW I have found a similar post arround, but didn't help much though.
Here is my client Side code:
$(”#list4″).jqGrid({ url:'http://localhost/cgi-bin2/test.pl', datatype: 'xml',
mtype: 'GET', height: 400, colNames:['No','Date'],
colModel:...
I have an XSLT function which checks whether the sent parameter is in YYYYMMDD format or not, in some conditions i am not getting any value to the function, during these conditions SAXON throwing below error
**"An empty sequence is not allowed as the first argument of cda:isValidDate()"**
any suggestions how to handle this sit...
Hello,
I use OpenXML SDK 2.0 to generate Excel file with large amount of data, appox. 1000000 rows, and I need to optimize memory usage because my machine slow down very fast.
I want to solve this issue by flushing part of generated DOM tree into file in runtime. I make my own buffering for data. E.g I have 100000 records to write an...
Hey. I am quite new to the whole web development/programming. I am trying to create an RSS feed which gets info from a separate XML file.
I know basics about XML and RSS, but I don't know how to make it updade. Lets say I update the XML then how would the RSS update automatically? Can someone maybe put me on the right track? Thanks in ...
According to Google trends, XSLT is declining fast: http://www.google.com/trends?q=xslt
If we extrapolate it as straight line, it will reach zero in 3 years (though it's probably curving, so it will asymptote to zero).
XML itself is also declining, at a similar rate, but seems to have leveled off a lot already: http://www.google.com/tr...
I am currently working on a XML-based CMS that saves data in chunks called "items". These can be used on the website to display content.
Now, at the moment I have one separate XML file for every item. Since most pages on that website use about three to four of these items, a rather small website with e.g. 20 pages has about 100 differe...
I've been using the Integration Events web service, for not that much, and i was wondering if there is an elegant way to manage the queue.
I changed the integration event wsdl, to fit my needs, but i don't know what value i need to set in the xml for the EventCount to make it not required.
Thanxs in advance.
...
say I have an xmllist like this (but with many other attributes not shown for brevity):
<node metal="white gold"/>
<node metal="yellow gold"/>
<node metal="silver"/>
and I access the metal attributes via xmllist.@metal which will give me a new xmllist like this:
white gold
yellow gold
silver
I want to convert that to an xmllist tha...
Could anybody be so kind to give me a simple example of reification in RDF-XML ? I want to see if I understood it correctly.
For example, I propose the following case
Tolkien -> wrote -> Lord of the rings
/|\
|
Wikipedia said that
How would you write it with and without reification (i.e. as a simple RDF...
Hi everyone,
I thought I would find a solution to this problem relatively easily, but here I am calling upon the help from ye gods to pull me out of this conundrum.
So, I've got an image and I want to store it in an XML document using Java. I have previously achieved this in VisualBasic by saving the image to a stream, converting the s...
Hi, I'm searching for a free EDI to XML converter in Java.
I need to convert EDI 940 to xml and convert XML to EDI 945. The catch is that this will be used for a commercial project, I've found some projects on sourceforge but they are under GNU General Public License which if I read it correctly means I would need to pay to use it for ...
index.php has this jquery code which loads notifications.inc.php into a div on the page every X amount of seconds
<script type='text/javascript'>
$(document).ready(function(){
var updatenotification = function(){
$('#notificationcontainer')
.load('notifications.inc.php')
.fadeIn("slow"...
I am trying to parse a bit of data from an HTML file, but my Linq statement is not working. Here is the XML/HTML. Below, how can I extract the string "41.8;12.23" from the geo.position meta tag? Thx!!
Here is my Linq
String longLat = (String)
from el in xdoc.Descendants()
where
(string)el.Name...
Is there a simple way to compare two XML structures to determine if they have the same structure and data?
I have a function that returns an XmlNode and I am trying to write unit tests for it. I store the correct XML result in a file. Durring the test I load the file into an XmlDocument, locate the proper XmlNode and compare against t...
Hello,
From my VB application I am generating XML document based on data fetched from Oracle db.
I have a XML schema element of type dateTime
When I try to validate I am getting the following error
cvc-datatype-valid.1.2.1: '8/20/2009 1:30:00 PM' is not a valid value for 'dateTime'
How do I handle this in my vb.net application. How ...
Similar to other interview question threads, we're preparing to interview candidates for a Biztalk/.NET Webservices/XML/general mid-tier developer position, and I'm looking for some good input from the community. We'd like to pre-screen the applicants (since they'll come from a tech agency) with a written test that covers basic knowledge...