Hey. I'm taking a course titled Principles of Programming Languages, and I need to decide on a project to do this summer. Here is a short version of what the project needs to accomplish:
"The nature of the project is language processing. Writing a Scheme/Lisp processor is a project of this type. A compiler for a language like C or Pasca...
Hi,
I am using Beyond Compare 3.0 and using the XML tidy and XML tidied with sorted attributes plugins. Its great and while I would like it to show me the "tidied" XML, Once I resolve me merge, I would like to save it back with the original formatting (not the tidied format). Is there anyway of doing this?
For example, if I have these t...
Can I embed an XML file in HTML without using iFrames?
I want to show XSL-transformed XML(which, is HTML as a result of transformation) as a part of my HTML document. Hope this makes it clearer.
If my description of problem is unclear, please tell me and I will try to explain it more.
...
Replacing the Special Character using Perl while i am doing this . I got this error . I just try to merging the 2 xml file using XML::Lib.
parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xA3 0x32 0x33 0x6B
�23 to c�27 .
What is the issue and how to resolve this this
I thought before going to XML Parser , I...
Hey,
chaning xml attributes through jquery is easy-peasy, just:
$(this).attr('name', 'hello');
but how can I add another tag into the file? I tried using append the JS dies silently.
Is there any way to do this?
Clarifications: this code is part of an extension to firefox, so don't worry about saving into the user file system. Stil...
I am having an XML file
<?xml version="1.0" encoding="ISO-8859-1"?>
<Results>
<Row>
<COL1></COL1>
<COL2>25.00</COL2>
<COL3>2009-07-06 15:49:34.984</COL3>
<COL4>00001720</COL4>
</Row>
<Row>
<COL1>RJ</COL1>
<COL2>26.00</COL2>
<COL3>2009-07-06 16:04:16.156</COL3>
<COL4>00001729</COL4>
...
Lets say I have an xsd schema and I have several <annotation/> elements with <documentation/> elements in them. If I wanted to place example xml in the <documentation/> elements, should I escape the example xml?
e.g.:
<annotation>
<documentation>Example Xml: <element>some text</element></documentation>
</annotation>
o...
I am developing a plugin which its command will be displayed only at certain packages which are under a specific package foo.com.network.svc . I found visibleWhen keyword. But I could not use it very well. Thanks in advance.
...
Hey everyone,
Given SQL as an input, I have to query a PostgreSQL database and return the results as XML. I have done this with the following code:
<?php
$link = "host=localhost dbname=company user=pgsql password=password";
$connect = pg_connect($link);
$query = "SELECT * FROM customer";
$result = pg_query($connect, $query);
$doc =...
I'm loading a XML file via Ajax using jQuery.
For my tests, I use a file on my file system. It seems all is fine in other browsers but the response headers got by IE has no content-type header. So I get a parsererror. (The XML is valid, I checked it (twice).)
How can I bypass this problem ?
...
Hi there,
I'm having issues getting the customer.xml layout file to work properly for the customer's "my account" pages.
The navigation links and the previously ordered items that are usually on the left hand side of the page won't show up on the page, but if I change the reference name to "content" in the xml file, it shows up (except...
I have an xml file:
<Database>
<Stat>
<Date>06/07/2009 00:00:00</Date>
<DayOfWeek>Monday</DayOfWeek>
<SentNumber>3248</SentNumber>
<ReceivedNumber>50</ReceivedNumber>
</Stat>
<Stat>
<Date>07/07/2009 00:00:00</Date>
<DayOfWeek>Tuesday</DayOfWeek>
<SentNumber>1000</SentNumber>
<ReceivedNumber>500</ReceivedNumber>
</Stat>
...
I get this error:
The error description is 'Only one top level element is allowed in an XML document.'.
Could not find prepared statement with handle 0.
The XML parse error 0xc00ce555 occurred on line number 1, near the XML text "<value1>34</value1><value1>33</value1><value1>32</value1>".
The statement has been terminated.
This is Sto...
Hi all! I am using ElementTree to parse a XML file. In some fields, there will be HTML data. For example, consider a declaration as follows:
<Course>
<Description>Line 1<br />Line 2</Description>
</Course>
Now, supposing _course is an Element variable which hold this Couse element. I want to access this course's description, so I ...
I'm looking through possible representations for what can be considered a finite depth graph in XML format for data exchange purposes. The problematic point is how to reference nodes in edge tags. Two strategies I see are a) using unique identifiers or b) using paths.
Unique IDs:
<graph id="g0">
<node id="n0"/>
<node id="n1"/>
<...
I need to determine if a Xml-File is a FlatOPC file for Word. How can I achive this?
...
Hi all.
For some time I've been making a 2d tile based sim game, and it's going well! Thanks to this site and its kind people (You!), I have just finished the path-finding part of the game, which is fantastic! THANK YOU!... Anyway, to the question.
At present, the test level is hard-coded into the game. Clearly I need to re-work this. M...
Consider this simple XML document. The serialized XML shown here is the result of an XmlSerializer from a complex POCO object whose schema I have no control over.
<My_RootNode xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="">
<id root="2.16.840.1.113883.3.51.1.1.1" extension="...
Hello:
I have a function in C# that fetches the status of Internet by retrieving a 64b XML from the router page
public bool isOn()
{
HttpWebRequest hwebRequest = (HttpWebRequest)WebRequest.Create("http://" + this.routerIp + "/top_conn.xml");
hwebRequest.Timeout = 500;
HttpWebResponse hWebResp...
I'm writing a web interface to MySQL that executes a couple queries and returns some XML data with the results of the queries. Right now, the table the query is running on has three LONGBLOB columns (for storing image data and the like).
However, when I try to parse the XML, I run into trouble with certain characters in the BLOB columns...