Hi!
How to specify a file path of a server to access it's directory in xml file.
This I can specify in Local Server.
<file value="C:\\Log\LogFile.txt"/>
How to specify the same in another server which I'm accessing it through ftp..
...
Hi there,
I am currently working on a little application:
The structure follows in some way the MVC pattern.
For short it has the basic things, Models, Controllers etc.
Now I am sitting here and do not know whether :
1.
The SQL database is only managed by a model through methods the programmer gives him like: "Hey we have name reco...
can any one tell how one can send the xml files to be executed at the web server using Java? can we send it using xmlhttprequest object available in javascript?
Is there any alternate for this?
...
hello,
i want to make that type of xsl file which remove the namespace value as well as adding parameter value in xml file. here is my latest xsl file, which removed the namespace but didn't add param value into "t0019/ifta_account" template. so when data transfer from xml to database at that time file name not set into (xml_ifta_accou...
Hi, I'm using the following code to get something through XML
var myLoader:URLLoader;
var myXML:XML;
var myXMLURL:URLRequest = new URLRequest("http://testapp.varheroes.com/yofacebook/canvas/calcammo/");
myXMLURL.method = URLRequestMethod.POST;
myLoader= new URLLoader(myXMLURL);
myLoader.dataFormat=URLLoaderDataFormat.TEXT;
myLoader.add...
I want to be able to send an image from HTML page to a XML file using C#.
The image should be sent along with some text, the problem is how do I store the image in the XML file efficiently, so it can be sent over the wire and how do I store the position of the image on the HTML page, so it can be restored later in the original positio...
I'm in a situation where I have a xml document which is going to be updated in the following way: The deepest child within the document which surrounds a certain x,y position (depending on it's x, y, width and height attributes) is going to get a new child element. If multiple childs exist with the same depth, the bottom one is updated.
...
Hi, I'm looking for a kind of XSD Inheritance that I'm not quite sure it is possible , So I want to make sure of it :)
The thing is I have a complex type A and another complex type B that only differs from A that its attribute has a fixed value.
example:
<xs:complexType name="A">
<xs:attribute name="AAtrr" type="xs:string"/>
</x...
Hi,
I am trying to display xml data in html via XSLT.
I am building a simple html table that displays a Name, Address, & Phone Number.
The XSL template pulls the Name & Phone Number, but for some reason, it won't grab the Address.
Please help, thanks in advance.
XML Doc
<?xml-stylesheet type="text/xsl" href="testreport.xsl"?>
<BpsR...
I wrote a small web server using wsgiref.simple_server in python. It get and parse request via URL (environ.get('PATH_INFO')). Data return in xml format. I've test it, everything ok before return to client, xml string no problem (using print xml to view before return). With Firefox, IE, sometimes xml string show in FF, IE has error:
XML...
How can one access NS attributes through using ElementTree?
With the following:
<data xmlns="http://www.foo.net/a" xmlns:a="http://www.foo.net/a" book="1" category="ABS" date="2009-12-22">
When I try to root.get('xmlns') I get back None, Category and Date are fine, Any help appreciated..
...
Hi,
in xsl what code do you type to make the data in ascending or descending order?
I'm making an xml document for music that shows the title, genre and price. I wanted to show the data in ascending order by price.
How can I do it? I don't have a clue
Just so yo know the data is in a table
...
Using the DataContractSerializer to serialize my object I get an output similar to
<?xml version="1.0" encoding="utf-8" ?>
<AgentNotification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/The.name.space.Notifications">
<_x003C_Created_x003E_k__BackingField i:nil="true" xmlns="...
I need to read a large xml result (using For XML) from a stored proc and write it to a file in a .Net app. My first shot is to read the xml from the proc using XmlReader. I then need to write it to a file. Is this best way to handle this scenario, or is there a "better" method?
...
I've written a small utility that allows me to change a simple AppSetting for another application's App.config file, and then save the changes:
//save a backup copy first.
var cfg = ConfigurationManager.OpenExeConfiguration(pathToExeFile);
cfg.SaveAs(cfg.FilePath + "." + DateTime.Now.ToFileTime() + ".bak");
//reopen the original c...
Hello,
I have a xml file on my server. I have the following two questions.
How to send this xml file using php to the clients browser ?
The client would be making an ajax get request to the php script that sends the xml as a response. On the server side i use php simplexml functions to parse xml data. But, on the client end what would...
I am trying to process an rss url, but is giving me an error as
"'--' is an unexpected token. The expected token is '>'. Line 81, position 5."
when i look at the source it has a value "Knowledge@Wharton -- Innovation and Entrepreneurship" in the middle of the xml node.
How can i process this url and ignore that error.
Public Shared Fu...
I am using SAX to parse an XML file I'm pulling from the web. I've extended DefaultHandler with code similar to:
public class ArrivalHandler extends DefaultHandler {
@Override
public void startElement(String namespaceUri, String localName, String qualifiedName, Attributes attributes) throws SAXException {
if (qualifi...
Hi, I'm trying to merge two file that have the same structure, and some data in common. So if a node has the same name in both files, a new node should be created with the children of both original nodes. The original files are the following:
file1.xml
<?xml version='1.0' encoding='UTF-8'?>
<BROADRIDGE>
<SECURITY CUSIP='CUSIP1' DES...
How can I make sure that my Python script, which will be doing some XML parsing, will Just Work with Python 2.4, 2.5 and 2.6?
Specifically, which (if any) XML parsing library is present in, and compatible between, all those versions?
Edit: the working-out-of-the-box requirement is in place because the XML parsing I'm going to need to d...