xpath x 105
xsl x 429

4,764 Topics

Member Avatar for
Member Avatar for TAMU_David

This is the XSLT from a SharePoint Dataview: [CODE]<tr> <td class="ms-vb">Trip Count : <xsl:value-of select="count(/dsQueryResponse/Rows/Row)" /></td> </tr> <tr> <td class="ms-vb">Warning Count : <xsl:value-of select="count(/dsQueryResponse/Rows/Row )" /></td> </tr>[/CODE] Trip Count above counts the total number of forms entered by traveller - the xpath expression works like a charm... How do I …

Member Avatar for TAMU_David
0
367
Member Avatar for Renukavani

Hi All, I have xml file contains dtd decalartion and data with align, bullat etc. how to show xml file content into html page. I used as [CODE] Set objXml = Server.CreateObject("Microsoft.XMLDOM") objXml.async = False objXml.load("D:\" & thing & ".xml") strHTMLconversionTest = "<HTML>" & "<HEAD>" & "<BODY>" For i = …

0
66
Member Avatar for mikesowerbutts

Hi All, Am given a string: %3CNodeName%20att1%3D'%3F'%3C%3E'%3E%40innertext%3B%3A%3C%3E%3C%2FNodeName%3E this is a UrlEncoded version of: <NodeName att1='?'<>'>@innertext;:<></NodeName> if i UrlDecode the entire string there is some invalid characters in the nodes attribute and the nodes innerText property. I have a function to search for the innertexts and encode them which seems to …

0
73
Member Avatar for sri_sssitc

Someone is building an application for me in VB.NET. I want to be able to check out their work. I want a way to fill up the form, by drawing values from a text file that contains sample values, as soon as I click a button (outside the application window). …

0
67
Member Avatar for venkat0904

Hi all, I am thinking of a login system which can retrieve user credentials from: i) DB ii) LDAP iii) XML essentially a configurable one.. Like when u choose to get credentials from DB, u can specify the table name and columns to get the value from... similarly for others.. …

Member Avatar for venkat0904
0
85
Member Avatar for tchaves

Hi everyone, Daniweb has helped me a lot in the past and for once I haven't found the solution in a previous thread. Here is my issue. I simply cannot figure out what to do to send/receive XML using PHP SOAP functions. It sounds simple enough, but I have been …

Member Avatar for pritaeas
0
151
Member Avatar for wahrusakiki

Greetings everyone, My name is Tommy, Based on the tutorial codes written by hol.sten ([url]http://user.services.openoffice.org/en/forum/viewtopic.php?t=3490&f=45[/url]), i've tried to write similar codes for the same purposes, but with an added complexity. I encounter quite a problem when i tried to export the Ooo calc ods file. The problem lies in one …

0
86
Member Avatar for Phaelax

I'm using [I]javax.xml.parsers.DocumentBuilderFactory[/I] to load an XML file. The file contains paired elements like so: <A></A> <B></B> <A></A> <B></B> <A></A> <B></B> So if I did the following: [code] Element element = <root node element> NodeList nodeListA = element.getElementsByTagName("A"); NodeList nodeListB = element.getElementsByTagName("B"); [/code] Can I assume the elements are in …

Member Avatar for Phaelax
0
155
Member Avatar for techza

Hi, I need some help in xslt. I am trying to develop a xslt , I have pasted the short format of all 3 files below, The Input xml file. The xslt and output xml. I will be very great full If anybody can help. I have tried everything but …

0
73
Member Avatar for RichardCrickets

Hello daniweb, I am new to java and am trying to wrap my head around parsing XML with Java. I've decided to try DOM with Xerces to start because it seems pretty simple, however I am getting NoClassDefFound errors. I'm sure it's something really simple that I have overlooked due …

Member Avatar for Ezzaral
0
1K
Member Avatar for P00dle

Hi, In my program, a text file is read in, and certain parts of it are written to a XML file. There are special characters(e.g. &) that need to be escaped, so I need to escape all of them. How can I manage to do this?

Member Avatar for P00dle
0
101
Member Avatar for Rajesh5575

Hi all, I recently moved south to Bangalore and I am working for a large software integrator mainly testing. My project team is working on web service project. We plan to use an open source software like soapUI now. Are you able to point me to online and offline resources/trainings …

Member Avatar for dheeraj0
0
73
Member Avatar for timaquerra

Hello, I made Web Service which connect to database and retrieve data. Web service works file, I can connect to database and get data, here is my code: [CODE] package mypack; import javax.jws.WebService; import javax.jws.WebMethod; import java.util.*; import java.sql.*; import getInfo.*; /** * * @author Aziz */ @WebService() public class …

0
69
Member Avatar for koleraba

I created a CustomSection class by extending the ConfigurationSection. I red quite a few articles on the subject and they all sugest the same approach, but it doesn't work for me, and I dont have a clue what am I doing wrong. So any idea or help will be appreciated. …

0
49
Member Avatar for Roetje

Hello guys, the last few days i've been looking for the solution, but to bad. Nowhere i seem to find it. I've found many posts about it, but none of them works for me. The problem: Last week we've stepped over to windows server 2008. Very nice..bla bla bla. However, …

0
64
Member Avatar for Ranhiru

Im writing a Grease Monkey script to beautify one of the websites i use! It is a bit messy with all the anchor <a> tags underlined! I want to set the text-decoration to none in links with href to the same website. That means all links connecting to external websites …

0
68
Member Avatar for shahab_abbasi

HI All, I am facing one problem that i have to do a vertical span for the table columns. But i am not getting any way to solve this problem. My input xml is as follows:- [CODE] <tabular frame="all" colsep="1" rowsep="1" orient="port" id="ctab1"> <tgroup cols="3" tgroupstyle="tabular" colsep="1" rowsep="1" align="left" charoff="50" …

Member Avatar for witinnovation
1
283
Member Avatar for mr_scooby

Can ignore other post not sure why i closed it, not solved lol, not enough coffee too much looking at php anyway. I have this form I'm working on and found something interesting attempt1 this way works exactly how I want, which is nothing in the input boxes and no …

Member Avatar for cwarn23
0
199
Member Avatar for mr_scooby

I have this form I'm working on and found something interesting attempt1 this way works exactly how I want, which is nothing in the input boxes and no error messages on loading the registration form, once submit is entered the empty fields have a message appear next to them, the …

Member Avatar for muralibobby2015
0
211
Member Avatar for papanyquiL

Hi everyone. I've got this code that I've been following along with a sample. However, whenever I debug it, I get the error 'XML Exception was unhandled: Root element is missing.' Here's the code I have so far. [code=c#] namespace SpiveyPropertyRental { public partial class Tenants : Form { public …

Member Avatar for sknake
0
153
Member Avatar for Carrots

Hi, I would like to display an RSS feed from a website on my website, but I want to hand code a solution rather than use a widget. Basically this is a learning task I have set myself. My question is how can I load the RSS feeds into a …

Member Avatar for pritaeas
0
115
Member Avatar for saurabhjj

hi, I have written my first pom.xml and on making a build it says, u are using java 1.3 you need 5 or above. I only have 1.6 installed in my system, Can anyone please help me, please tell me where do I need to check, I have checked all …

Member Avatar for peter_budo
0
35
Member Avatar for slfisher

Thinking of looking for a flu shot while you're out shopping this weekend but don't know where to look? There's an [URL="http://maps.google.com/maps/mpl?moduleurl=http://maps.google.com/mapfiles/mapplets/flushot/flushot.xml"]app[/URL] (Google Maps) for that. Type in a location and it will show you locations in the area that offer flu shots, as well as their times -- and …

0
98
Member Avatar for Xamas

I'm build a huge xml->mysql data importer ar parser from outer server. And I need a script example, what to do with big [CODE=PHP] $xml = simplexml_load_file('plane.xml'); if($xml) { for($lvl1=0; $lvl1<(count($xml->Trip)); $lvl1++) { for($lvl3=0; $lvl3<(count($xml->Trip[$lvl1]->Hotels->Hotel)); $lvl3++) { // Fill an array with the travel data $element['trip_id'] = (string)$xml->Trip[$lvl1]['id']; $element['description'] = …

Member Avatar for digital-ether
0
450
Member Avatar for Alba Ra

I wonder (as I couldn't find [I]anything[/I] either on DaniWeb or anywhere else) why should one use XML and XSLT rather than plain XHTML? I couldn't find a rationale arguing for the use of XML and XSLT in connection with dynamic web content stored in a database. Zend does provide …

Member Avatar for Alba Ra
0
295
Member Avatar for alsoumhi

Hi all , I am trying to map a user to a jsp page when he tries to enter to a directory of my application using URL. let say my web directory is called school and it has a directory called pages . now I need to map a user …

Member Avatar for ~s.o.s~
0
332
Member Avatar for atuleshchand

How to upload an XML file through JSP web interface and transform that XML using XSLT and return the HTML file for download.

Member Avatar for ejosiah
0
63
Member Avatar for dalip_007

Hi Can anybody please tell me how to edit an xml file with the help of another php file. i am using this xml file in flash Thanks

Member Avatar for Stefano Mtangoo
0
86
Member Avatar for veledrom

Hi, I read a bit about both but I need to see your opinions about this. Are cURL and xmlrpc used for same purposes, are they same thing? Thanks

Member Avatar for kireol
0
38
Member Avatar for genieuk

Hi, I have a sitemap and have decided to create an automated sitemap. I just wanted to ask would the way i am going to do it be ok. I was going to create a table let say called `sitemap` have a column in the table called `url`. Basically i …

Member Avatar for almostbob
0
278
Member Avatar for rudz

how can i set my homepage its index.html i want to change it to home.asp please can someone help urgent

0
72
Member Avatar for kjelle392

Hello all. I try to learn some Ajax, but find it some difficult. The task I'm trying to do, is to use Ajax to register a new user for my application. The problem is that the request don't seem to pass the POST-variables to the php-script on the server side, …

Member Avatar for Thirusha
0
171
Member Avatar for galaxygal

[code=php] exec('java -version', $javaver); print_r($javaver); echo "<br />"; exec('java -jar start.jar', $output); print_r($output); echo "<br />"; exec('java -jar post.jar /home/content/j/a/n/jandtesting/html/solr/example/exampledocs/solr.xml /home/content/j/a/n/jandtesting/html/solr/example/exampledocs/monitor.xml', $output2); print_r($output2); [/code] I've never attempted anything with java before. I'm trying to get started on the solr tutorial -- a java based search engine based on Lucene. I …

Member Avatar for galaxygal
0
917
Member Avatar for longbart

Hai all, I have the following problem to solve: The users of my application can specify an xpath like e.g. format-date(current-date(),'[D]/[M]/[Y]', 'en', (), ()) this xpath is caught in an xslt file as just being a string (the user could also have typed in a string and then I need …

Member Avatar for longbart
0
84
Member Avatar for saurabhjj

hi guys, I am new to fatwire content server, I need to get all the data in a xml file, before displaying it on the jsp. does any one have any sample or clue for the same. I would be greatly obliged if I get one, thanks, saurabh

0
45
Member Avatar for puneet21

Hi, I want to validate an xml which will be in the fol format : [CODE]< Root > <Hierarchy> <!--Optional Tag --> <Subjects> <!--Optional Tag --> <Subject> </Subject> </Subjects> <Hierarchy> </Root>[/CODE] As stated above the Hierarchy and Subject tag are optional. Following are valid xmls : [CODE]<Root><Subject>xyz</Subject></Root> <Root><Subjects><Subject>xyz</Subject></Subjects></Root> <Root><Hierarchy><Subjects><Subject>xyz</Subject> </Subjects></Hierarchy></Root>[/CODE] …

Member Avatar for gusano79
0
144
Member Avatar for brandonmofiki

I have developed an RSS Feed in php. (can be found at [url]http://www.mofikiworldwide.com[/url] by clicking the rss icon in the top right) My reason for using php to develop the feed was so that I wouldn't have to manually update a feed in an xml file everytime I needed to …

Member Avatar for Atli
0
248
Member Avatar for nayakss@in.com

I need to tranform an xml to tsv but I am facing some problem with looping. <Test.xml> [CODE]<Tag1> <Tag2> <subtag1> <subtag2 F=1 Yr=2007/> <subtag2 F=2 Yr=2008/> <subtag2 F=3 Yr=2009/> <subtag2 F=4 Yr=2007/> <subtag2 F=5 Yr=2008/> <subtag2 F=6 Yr=2009/> <subtag2 F=7 Yr=2007/> <subtag2 F=8 Yr=2008/> <subtag2 F=9 Yr=2009/> <subtag2 F=10 Yr=2007/> …

0
77
Member Avatar for ym_chaitu

Hai i am using the curl option to validate the site for the rss feed. my code is [CODE]<?php // create a new cURL resource $ch = curl_init(); $demo='http://chaitu09986025424.blog.co.in/feed/rss/'; // set URL and other appropriate options curl_setopt($ch, CURLOPT_URL, "http://validator.w3.org/feed/check.cgi?url=$demo"); curl_setopt($ch, CURLOPT_HEADER, false); // grab URL and pass it to the …

Member Avatar for cwarn23
0
166
Member Avatar for kiranpvsr

Hello.. Did anyone do the address book application in xml before? It uses a GUI built in Java to add, modify and delete records in the xml file. I have already written the code for GUI. As I'm not so familiar with XML, can anyone post the code for adding, …

0
53
Member Avatar for SKANK!!!!!

[URL="http://beta.feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.socialemo.com%2Frss.php"]http://beta.feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.socialemo.com%2Frss.php[/URL] that is what the error is my basicaly exact code is: [URL="http://www.ibm.com/developerworks/library/x-phprss/"]http://www.ibm.com/developerworks/library/x-phprss/[/URL] how do i get it to work?

Member Avatar for SKANK!!!!!
0
144
Member Avatar for Tales

I built a Visual Studio 2008 VC++ project, dialog based using HTML. In my HTML I have: [CODE] <form name="loadExcel"> Choose the file which contains the information:<br /> <input type="file" name="myFile" value="Search" id="myFileInput" /><br /> <input type="button" class="Upload" name="loadExcel" title="Import" id="loadExcelButton" /> </form> [/CODE] The user is supposed to browse …

Member Avatar for Tales
0
276
Member Avatar for findyaseek

xml POST method using http protocol i got a link from a travel hotel booking people like bellow link Each request needs to be posted (through POST method) using http protocol to [url]http://xmldev.dotwconnect.com/request.dotw[/url] and it receives a response irrespectively the request is successfully processed or not informing about the success …

Member Avatar for digital-ether
0
340
Member Avatar for krokodajl

Hi. I am trying to build simple web application in ASP.NET. I have xml file with data and xsl file to transform xml file into html doc which will be presented in the browser window and everything is working fine. What funcionallity do I want? I want user to enter …

Member Avatar for kvprajapati
0
115
Member Avatar for midix

I was thinking about a scenario which is often seen. Let's start form the user perspective. He/she opens a web page and there is some data table and filters like that: Filter by: equals <input value here> User chooses a field name and enters some value and submits that. Web …

Member Avatar for midix
0
93
Member Avatar for mydevnull

Hello guys! In a toolchain an XML is currently used to generate sourcecode and documentation (by oAW). By introduction of this XML -> source generation, I reduced the complexity of configuration of the corresponding software component (which has been done using pointers, structs and tables). Unfortunately, the XML file itself …

0
42
Member Avatar for veledrom

Hi, Can anyone help me converting this wsdl 1.1 file into 2.0. Thanks [code] <?xml version ="1.0" encoding ="UTF-8" ?> <definitions name="Catalog" targetNamespace="http://localhost/apache/soap6/catalog.wsdl" xmlns:tns="http://localhost/apache/soap6/catalog.wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/"> <message name="getCatalogRequest"> <part name="Symbol" type="xsd:string"/> </message> <message name="getCatalogResponse"> <part name="Result" type="xsd:string"/> </message> <portType name="CatalogPortType"> <operation name="getMyCatalog"> <input message="tns:getCatalogRequest"/> <output message="tns:getCatalogResponse"/> </operation> …

0
69
Member Avatar for shishtawitch

hi, how can i make a link attache ment system with php, culr / ajax one like in facebook..........!! i.e by typing a link fetching meta, title and images from that link...!! thanks in advance.........!!

Member Avatar for digital-ether
0
110
Member Avatar for kievari

Hi, I have a variable of type Object, which is obtained from an xml-rpc call like: [CODE] Object[] params = new Object[]{new Double(4.0), new Double(5.0)}; Object result = client.execute( "foobar.add", params ); [/CODE] and I know that it contains this xml data: [CODE] <methodResponse> <params> <param> <value><struct> <member><name>value1</name> <value><double>4.2</double></value> </member> …

1
90
Member Avatar for mania_comp

Hi experts. I have created a WCF Service using VS 2008. The dll is created successfully and then in New Project I add that dll with Start and Stop methods and add Installer as guided in WCF Tutorial. The exe is created successfully and I have installed that exe as …

0
70

The End.