6,049 Topics
![]() | |
Hey Im wondering if various users can a web services at the same time and execute the same code to generate something. Does it do it at the same time on difference threads/objects? Is it FIFO (First in, first out)? Questions like those. Thank you. | |
![]() | Im working on applying a schema to an xml document but my editor (exchanger xml) is giving me some errors I can't figure out Ln 35 Col 67 - s4s-elt-invalid-content.1: The content of '#AnonType_inventory' is invalid. Element 'element' is invalid, misplaced, or occurs too often. Ln 16 Col 58 - … |
Hi all, Didn't see a actionscript section so decided to post in webdesign. Ok so I have a flash file using action script 2.0 and dynamically showing fields from an xml of languages and a blurb that goes along with each language. Here is a snippet of the xml. <languages> … | |
[COLOR=DimGray][B]Could someone point me to resources with info on reading and implementing XML into ActionScript (flash) applications. I don't mean you should just make a google search on "Read XML in ActionScript". Also, what is your favourite XML editor and why? I tryied XMLSpy but there are some major limitations … | |
I wrote an XML parser that works great to fit my needs, but I can't retrieve the root attribute nodes no matter what I try! So far I have the following code that works great to retrieve the child tag values: import xml.dom.minidom def parse(filename): xmlDoc = xml.dom.minidom.parse(filename) tag = … | |
So I have been told by various people on numerous occasions that you cannot parse XML by using regular expressions or any means other than a parser. So, here at work, I have LXML and that is what I have to use. At the moment I am trying to remove … | |
Hello, I am using XMLReader to look thru and XML file that I have. While I have been able to play around with it and get it to pull some of the information I want, I am wondering what commands to use to do what I really want. For example, … | |
Hi, I have a PHP file that gets an XML files from a HTML form. The PHP files needs to generate a new HTML file containing a table with the the data retrived from the XML file. I was able to this this properly (using expat). However, before adding the … | |
> Quoted Text Here <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema"> <xsl:output method="html" indent="no"/> <xsl:template match="//xml"> <span style="border:solid 1px black"> -<xsl:value-of select="@query"/>- </span> <xsl:for-each select="//z:row"> <div> <xsl:value-of select="@ows_LinkTitle"/> </div> <div> <xsl:value-of select="@ows_Body"/> </div> </xsl:for-each> </xsl:template> </xsl:stylesheet> Gave me the … | |
Hi, I have a problem with an xml file. I am trying to develop an xml file based on vra core 4.0 but when I check if my code is valid I take the following error. Could not open file: http://www.vraweb.org/projects/vracore4/vra-4.0-restricted.xsd (I use XML COPY EDITOR) A part of my … | |
I am currently testing a desktop application which is sending some data to a web URL in XML format, for some reason this data seems to be not sent in the correct format. I need to know if there are any website or script that I can use to troubleshoot … | |
I have an xml like [CODE] <?xml version='1.0' encoding='UTF-8'?> <feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:docs='http://schemas.google.com/docs/2007' xmlns:batch='http://schemas.google.com/gdata/batch' xmlns:gd='http://schemas.google.com/g/2005' gd:etag='W/"C0EARXY8eit7ImA9WhVREE0."'> <id>https://docs.google.com/feeds/default/private/full</id> <updated>2012-03-17T16:27:24.872Z</updated> <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/docs/2007#item' label='item'/> <title>Available Documents - </title> <link rel='alternate' type='text/html' href='https://docs.google.com'/> <link rel='http://schemas.google.com/g/2005#resumable-create-media' type='application/atom+xml' href='https://docs.google.com/feeds/upload/create-session/default/private/full'/> <link rel='http://schemas.google.com/docs/2007#alt-post' type='application/atom+xml' href='https://docs.google.com/feeds/upload/file/default/private/full'/> <link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://docs.google.com/feeds/default/private/full'/> <link rel='http://schemas.google.com/g/2005#post' type='application/atom+xml' href='https://docs.google.com/feeds/default/private/full'/> <link rel='http://schemas.google.com/g/2005#batch' type='application/atom+xml' href='https://docs.google.com/feeds/default/private/full/batch'/> … | |
I create an xml file on startup in my application which contains the connection string of the database. [CODE] Dim contactDoc As XDocument = <?xml version="1.0"?> <database server=<%= TextBox1.Text %> name=<%= TextBox4.Text %> userid=<%= TextBox2.Text %> password=<%= TextBox3.Text %>> </database> Dim str1 As String str1 = Application.StartupPath contactDoc.Save((str1 + "\data.xml")) … | |
Hi all.. Am doing a website with admin panel using PHP Mysql.In index page it contains flash news container, When admin update news it will shown on Flash content through XMl. Everything is fine. When admin updating news its shown on flash. But i have listed by using LIST in … | |
[U]this is my code in php:[/U] [CODE]<?php echo "Hi!"; ?>[/CODE] [U]this is my code in javascript:[/U] [CODE]alert(xmlhttp.responseText);[/CODE] now, my problem is that the output displays: "1Hi!"; even though i will not display an output in php, still a "1" appends in the beginning of the alert box. What could be … | |
Hi, I have an issue, with not being able to set the the correct header here is the operation from the WSDL: [CODE]- <wsdl:operation name="findRegistrationByID" parameterOrder="registrationID"> <wsdl:input message="impl:findRegistrationByIDRequest" name="findRegistrationByIDRequest" /> <wsdl:output message="impl:findRegistrationByIDResponse" name="findRegistrationByIDResponse" /> </wsdl:operation>[/CODE] This is also from WSDL: [CODE]- <wsdl:operation name="findRegistrationByID"> <wsdlsoap:operation soapAction="urn://url/findRegistrationByID" /> - <wsdl:input name="findRegistrationByIDRequest"> <wsdlsoap:body … | |
I have two tables in my database - Category and Food. Food has idCategory. Category has id and idParentCategory. From them, I need to create a string which will look like this (or xml): <?xml version="1.0"> <tree id="0"> <item text="Category1"> <item text="Food1"/> <item text="Food2"/> </item> <item text="Category2"> <item text="Category1"> <item … | |
Hi I'm new to XML file. I have the following format XML file and I only need to read the value for data name = "A2" in VC++. How to read the value using the XML DOM methods without looping all the nodes? My xml file is as follows: [QUOTE] … | |
Hello there i would like someone to have a peek at this code and does it solve the question correctly ?? Are there any mistakes or any improvements i could add ?? Also If any one could tell me how to save the data entered by person into one file(XML)so … | |
Is there any possible way of echoing PHP from within XML. The reason is because I want to provide an XML feed, and this feed will be dynamic so I will of course need to use PHP to echo out the statements from within the tags. But XML doesn't seem … | |
Hello fellas :) I have a task to do, there are 10 questions and i obviously need 10 answers :) I have done (attempted) some of them /not every yet/ but i wonder if there are any errors or any correction or improvements that could be made :) Thank you … | |
Dear Sir/Madam, I have created some ASP pages in my computer and stored those pages into the web site content directory (in my case C:\PanWeb) and IIS's Virtual Directory alias is "abcweb" created with the IIS V5.1 However, i can browse those pages in my computer by putting the 127.0.0.1/abcweb/ … | |
Hello Does anyone know how to disable the current link in a breadcrumb trail. All that i know in XSLT has failed Please help here is the XSLT code: [code] <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="html" omit-xml-declaration="yes" /> <!-- Variable to determine if the current open page is displayed as a … | |
I have a problem while creating an xml file in php.I am not getting th root element.But all other elements are been outputted in the result.What might be the reason????Any help would be appreciated.The code is depicted below.order is my root element. <?php $url='success.xml'; //$xml = simplexml_load_file($url); $name = htmlentities($_POST['name']); … | |
The following code line is working fine... XmlNode sslNode = appHostNode.SelectSingleNode("sites/site[@name = 'www.wow.com']/ftpServer/security/ssl"); Now I want to pass a variable instead of 'www.wow.com'... please guide how can I do it.... | |
Hey Since I couldnt get my web service to really support multiple users, Ive thought of simply implementing a FIFO kinda of queue like this: (The code is made up on the spot right now. Therefore, ; may be missing, some variable declared wrong, etc. Ignore that. Just concentrate on … | |
hi all, i want to extract data from an xml rss feeds and store them in a database. But the problem is that I can't get to display the appropriate information from the xml. I've tried several different codes found on the web but none which suits the objective that … | |
I have a php/html form where certain inputs will be given in the textboxes. Once the submit button is pressed i want to save these data in a xml file in their respective fields. Also i wish to retrieve this data in furthere pages. | |
I dont know how to write to an XML FILE in php.Can anyone help me to let me know by giving a simple example in xml.Any help would be appreciated..An example in xml is shown below <?xml version="1.0" encoding="UTF-8"?> <table> <order> <id>1</id> <name>john</name> <age>23</age> </order> <order> <id>2</id> <name>patrick</name> <age>22</age> </order> … | |
Hello, (What I hope will be a) quick question regarding SSL and HTTPS- from my understanding, if you want someone to use SSL for a connection, you simply make sure that the URL has "https" instead of "http" in front of your URL, correct? I have a valid SSL cert … | |
I am new in creating XML file using php..I wrote a code but the code doesnot show xml file on running it..Can anybody figure out what the problem is the code is as follows <?php $dom = new DOMDocument('1.0', 'UTF-8'); $root=$dom->createElement("xml"); $dom->appendChild($root); $title=$dom->createElement("title"); $root->appendChild($title); $path=$dom->createElement("path"); $title->appendChild($path); $title=$dom->createTextNode("pepperoni"); $path->appendChild($title); echo $dom->saveXML(); … | |
Hi, i have my FYP now, the title is build a web apps by present restful web services. I have some basic knowledge of Jsp and J2EE, but i have no idea how to present restful into my project, anyone have idea or any references recommend ? i stil have … | |
I use button for by clicking it to delete one row in the DataGridView. This is the code: DataGridView.Rows.RemoveAt(DataGridView.CurrentCell.RowIndex); I use xml file as the source of dataset which is sourcedata of the DataGridView. It makes problems when I [B]delete last row[/B]. What can I do? pls, help | |
I want to create an xml file to disk on button click of a form.it takes in data from within the form and adds it to the respective fields in the xml file. my XML file contains the foll code [CODE]<?xml version="1.0"?> <database server="WELLFLOWGULF;" name="TRA" userid="sa" password="sdsds"> </database>[/CODE] on button … | |
hi guys, how are you? I hope someone can help me with this as its been bugging me all day, and I'm sure there is a very simple explanation. Basically, what I have at the moment is this:- [CODE] $ip = ($_SERVER["REMOTE_ADDR"]); $xml = file_get_contents("http://xxxxxxxxxxxxxx); [/CODE] This returns me the … | |
Hey guys, am a newbie and I searched I didn't see this question somewhere. If it exist, forgive me. I need help in redirecting url. I want to redirect users from [url]www.ammotorllc.com[/url] to [url]www.ammotorsllc.com[/url]. I want it that when people type the first, it will automatically switch them to the … | |
Hey everyone, Trying to configure an apache web server on my home network and had a question about port forwarding. I have my router set to forward everything on port 80 to the webserver, but I wanted to see if there were any ramifications of this that I may not … | |
What is the proper value of the multiple attribute for select tag? [url]http://www.tizag.com/htmlT/htmlselect.php[/url] says "yes" while [url]http://www.w3schools.com/tags/att_select_multiple.asp[/url] says "multiple" I did, however, tried both and worked just fine but I want to be using what's acceptable by w3c to ensure full compatibility in most major browsers. | |
Hi all . I'm living in India. I hosted my web site in awardspace free hosting plan. can i register my domain name. assign it to my web site ? I like to register my domain name at [url]www.bigrock.in[/url] . is it possible to with free hosting plan like awardspace. | |
Hi there, I'm new to this web site and new to xml and xslt. I have the following document that I would like to transform using xml: [CODE]<?xml version="1.0" encoding="iso-8859-1" ?> - <Report Name="Conway"> - <table1> - <table1_JobNumber_Collection> - <table1_JobNumber JobNumber="3401"> - <Detail_Collection> <Detail ItemNumber="10" ItemSorCode="H0101" ItemSorName="Take up 305mm x … | |
Hi there I have been trying to experiment with Parsing XML using Javascript. For some reason nothing happens. I found this example on W3 schools. Any idea why it's not working? This is my HTML page which contains the Javascript [CODE]<html> <head> <script type="text/javascript"> if (window.XMLHttpRequest) {// code for IE7+, … | |
Hi, I'm not exactly sure if this is the correct question to be asked but I will tell you what I am attempting. I have an ASCII txt file with data in it. It does not have headers. I am looking for a way to convert this data into an … | |
I have attached the complete code however I cant find out why am getting error when I run the program. Please help me figure this out. Thanks. :):) | |
This is my xml file [CODE]<CATALOG> <category> <name>Engineering</name> <subject>Civil Works</subject> <subject>Water Supply</subject> <subject>Street Lighting</subject> </category> <category> <name>Public Health</name> <subject>Sanitation</subject> <subject>Dispensaries</subject> <subject>Maternity Services</subject> </category> <category> <name>Town Planing</name> <subject>T.P.S</subject> <subject>T.P.B.O</subject> <subject>Tracer</subject> <subject>Chairmen</subject> </category> <category> <name>Administration</name> <subject>Ministerial Manager</subject> <subject>Revenue R.O.</subject> <subject>Accounts Accountant</subject> </category> </CATALOG>[/CODE] I have to get the all subject names in … | |
Hi all, I'm trying to make a multi-language website that allows the user to change language by clicking on a button (a flag representing the country/language). I have been able to achieve this using locale and a combo box so far but I'm struggling to implement it using buttons. This … | |
I know how to replace any image that cannot be found with a default image with the .htaccess file but I was wondering if it could be done when there is not URL. For example if I have this: [CODE]<img src="" alt="Picture" />[/CODE] It would not show up, I was … | |
Hi I wanted to add some some date comparison functions to some xslt. I thought since I have a custom myjs.js library loaded with a DoDebug function that simply returns a boolean True I could use the following but I get an "Unknown XSLT function Error". Is there a way … | |
I had started a similar thread earlier, but i did not get any explanations. I hope i am not crossing any line by repeating. My problem is this. every form in my application accesses the database through a connection string within the startup(Login) form. the login inturn gets the user … | |
I need to make it so that whenever I have "East" selected under my combobox for example, then only the list of parks with that particular location will show up. I also need to do the same for whichever facilities are selected and if the park falls within the opening … |
The End.