6,049 Topics

Member Avatar for
Member Avatar for scott_rider

I tested /project/pages/page[@completed='n'][not(text())=''] at [url]http://www.mizar.dk/XPath/Default.aspx[/url] with success but the xpath expression below doesn't work in C#. How do I re-write the xpath statement so I can use .Evaluate to return a empty node-set in C#? [code] string xpath = "/project/pages/page[@completed='n'][not(text())='']"; bool not_finished = (bool)xd.CreateNavigator().Evaluate(xpath); [/code] [code=xml] <project> <pages> <page id="1" …

Member Avatar for kvprajapati
0
157
Member Avatar for Nate.Sam

Hello, I'm Nathan, I'm a 3D Animation student and know very basic C++, but haven't touched it in a good 6 years. Here's my problem: I have data from some video footage I shot, and the data is in 3 folders: An Audio Folder, a Video Folder, and a XML …

Member Avatar for Nate.Sam
0
93
Member Avatar for nsr

hi all. I have created a java web project to make a servlet in NetBeans6.7.1, using Tomcat 6.0.16 App Server. The Web Service reference doesnt not show the operations and gives the following error. The web service works fine though. A solution is to add xerces file to the runtime …

0
140
Member Avatar for roon01xpro

Hello i am a musician and not a programmer. i assume this is completely obvious to you by now. do listen to my music if you please. something to do while you read my long enquiry. [URL="http://roon-salzman.com/MP3/tracking/JewellerySpot/Samantha_WIlls.mp3"]samantha.mp3[/URL] I am attempting my first c++ program to create a program for a …

Member Avatar for Ancient Dragon
2
99
Member Avatar for Oceanblue

hello i have started learning action script and ive been trying to create a dynamic nav bar. the xml i have is [CODE]<home> <navLinks> <links>DESIGNER IN FOCUS</links> <links>EMERGING TALENT</links> <links>FASHION MENTOR</links> <links>E-BOUTIQUE</links> <links>FASHION JOBS</links> </navLinks>[/CODE] and i have found that [CODE]mainNavCont_mc.link01.linkTxt.text = "text in here";[/CODE] works to replace one dynamic …

Member Avatar for Oceanblue
0
93
Member Avatar for adah101

Just wondered about what you all do? I am constantly updating our website in my job on a daily basis. * Updating new products * Removing obselete products * Updating pages for SEO I have the Sitemap.xml file configured for Google through the Webmaster Tools, the URLLIST.TXT file for Yahoo, …

Member Avatar for almostbob
1
169
Member Avatar for thanigaics

Hi all, this is mohan started working recently on ajax with struts2 framework. I can able to make a ajax request to an struts2 action class.But in the response I am getting the whole jsp page as a response mentioned in the result tag in struts.xml file.But I need only …

Member Avatar for VaishaliVinay
0
63
Member Avatar for Altairzq

I'm showing in a field the name of the file the user has chosen. I would like to show the whole name as the title when passing the mouse over the field, in case the name is too long. I swear this was working, but it's not anymore (I'm testing …

Member Avatar for Jupiter 2
0
270
Member Avatar for mrjoli021

i am writing a php program to read simplexml file. i get the following error Parse error: syntax error, unexpected T_STRING in /Applications/MAMP/htdocs/TestSite/sqlconnectstring.xml on line 1 here is the php file [code] include ('sqlconnectstring.xml'); class sqlConnection { var $server; var $user; var $pass; function __construct() { $xml = new SimpleXMLElement($xmlstr); …

Member Avatar for pritaeas
0
71
Member Avatar for capitanf

Hi I was wondering... how can I publish a web service but only to few client programs? I thought maybe a solution is simple apache access (for restful service) but maybe it's another way..? thanks in advance

0
106
Member Avatar for carobee

How to parse an xml from javascript from code beside page? i have tried [code] var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.async = false; xmlDoc.onreadystatechange = Readxml; xmlDoc.load("abc.xml"); [/code] but the error is that the xml is not loaded? i am using visual studio 2008.thnks in advance

Member Avatar for sahmed_12
0
112
Member Avatar for Ariel_medel

I want this carousel slideshow to also start automatically if idle after a few secs... I tried adding a set interval but with no success so far, please help!!! YAHOO.example = function() { var $D = YAHOO.util.Dom; var $E = YAHOO.util.Event; var $A = YAHOO.util.Anim; var $M = YAHOO.util.Motion; var …

0
68
Member Avatar for a_arunsankar

I have created a small application to open the Flash File from my VB.Net Windows Application. To open the Flash file - I have used the Shockwave Flash Object. When I run the application directly from the Solution, the flash files are opening perfectly. But, once I created the EXE …

Member Avatar for a_arunsankar
0
140
Member Avatar for veera_kumar

Hi all, I have a one problem in xsl. I dont want to do further execution, when a condition reaches. I need to come out from the style sheet. Could you any one help me out on this. Thanks, Veera

Member Avatar for kvprajapati
0
119
Member Avatar for lifeh2o

I am trying to make a desktop application that can fetch live scores from web and save them to a database for offline view. Also if you know any open source application that is capable of displaying scores by fecthing from web then please tell. I dont know how to …

Member Avatar for kvprajapati
0
126
Member Avatar for jsmunroe

Is there a way to parse HTML within an XML element in an XSLT stylesheet? I am using XSLT to create a template but I want the XML instance to contain HTML markup. I find that the value-of element ignores the HTML markup altogether. There just has to be a …

Member Avatar for jsmunroe
0
65
Member Avatar for dhanya_piit

hey, can any one tell me whether i can write methods other than getxm or put xml in restful web services.If yes then which will be the first function to be called

Member Avatar for klactose
0
96
Member Avatar for daryll1

I am writing a PHP registration form but when i view my page i cannot see the form, any ideas all my code is below. i have noticed that if i remove the [CODE]print '<h1> Please Register To Continue </h1>'; print '<style type="text/" media="screen> .error { color: red; } </style>';[/CODE] …

Member Avatar for daryll1
0
159
Member Avatar for johnyjj2

Hello :-)! There is a problem with building project in NetBeans. I've got two directories sphinx4-1.0beta3-src and sphinx4-1.0beta3-bin, which are part of speech recognition system CMU Sphinx, Sphinx4 is written in Java. In the directory S:\tutorial\sphinx4-1.0beta3-bin\bin I've got some .jar files, e.g. HelloDigits.jar. In S:\tutorial\sphinx4-1.0beta3-src there is no bin directory, …

0
372
Member Avatar for spankboy11

Hi there, I'm assuming the answer to this problem is really easy, but I just can't work out where the problem is. It's driving me insane and I'd really appreciate some help. I'm new to C++. My problem is this: I'm trying to pass a char array to a function, …

Member Avatar for spankboy11
0
165
Member Avatar for scarpacci

Hi Gurus, A colleague and I have a process where we want to look at a file we receive from a vendor (XML) and data that is in our db. In order to bypass loading the xml and comparing it once loaded we are loading the db data and xml …

Member Avatar for Geekitygeek
0
137
Member Avatar for Stefano Mtangoo

Hello all, I have basics for JavaScript (syntax, controls, loops, object etc) and also basics of XML. What else should I know to learn AJAX? What does Ajax 'animal' look like? Thanks guys

Member Avatar for Stefano Mtangoo
0
105
Member Avatar for Namibnat

I am trying to create an RSS feed dynamically with php, and for the most part it seems to work out right. When I try to validate, it gives me an error with this line: [CODE]<link><a href='index.php?tt=Getting it all together&m=1'>Getting it all together</a></link>[/CODE] And it points to the = between …

Member Avatar for Elbudster
0
143
Member Avatar for Alxandr

I get an error trying to parse som XML. The error is [icode]System.Xml.XmlException: Root element is missing..[/icode], and I can't understand why. Here is the code I run: [code=C#] MemoryStream xmlStream = new MemoryStream(); StreamWriter xmlStreamWriter = new StreamWriter(xmlStream); String xml = "<html>\n<body>\n\n<h1>My First Heading</h1>\n\n<p>My first paragraph.</p>\n\n</body>\n</html>"; xmlStreamWriter.Write(xml); xmlStreamWriter.Flush(); XmlReader …

Member Avatar for Alxandr
0
3K
Member Avatar for mrshailesh

Hi everbody, can anybody give me the code for payment integration for hsbc,paypro. also i need code for xml aparing in php5 thanks shailesh

Member Avatar for manojdonga
0
77
Member Avatar for extkml

I have orders.xml like the following [CODE]<?xml version="1.0" encoding="UTF-8" standalone="no"?> <orders> <order orderDate="1/1/2009" orderNo="1"> <customer id="nnghiem" name="nguyen nghiem"/> <item id="item-1" price="25000" quantity="0"/> <item id="item-2" price="22000" quantity="3"/> </order> <order orderDate="2/2/2009" orderNo="2"> <customer id="lp" name="lampard"/> <item id="item-1" price="25000" quantity="2"/> <item id="item-2" price="22000" quantity="8"/> </order> <order orderDate="3/3/2007" orderNo="3"> <customer id="nnghiem" name="nguyen nghiem"/> <item …

Member Avatar for extkml
0
193
Member Avatar for alsoumhi

Hi guys I am trying to prevent user to access directly using URL to my application , so in order to do that I have used security constraint in web.xml file and it works with me . my problem is in my application I am using href and redirect method …

Member Avatar for kvprajapati
0
97
Member Avatar for extkml

I have a xml file like this [CODE] <?xml version="1.0" encoding="UTF-8" standalone="no"?> <orders> <order orderDate="1/1/2009" orderNo="1"> <customer id="nnghiem" name="nguyen nghiem"/> <item id="item-1" price="25000" quantity="0"/> <item id="item-2" price="22000" quantity="3"/> </order> <order orderDate="2/2/2009" orderNo="2"> <customer id="lp" name="lampard"/> <item id="item-1" price="25000" quantity="2"/> <item id="item-2" price="22000" quantity="8"/> </order> <order orderDate="3/3/2007" orderNo="3"> <customer id="nnghiem" name="nguyen …

Member Avatar for kvprajapati
0
640
Member Avatar for sushil.sharma75

I need to convert the following XML file [code=xml]<Para> <PgfTag value="Body" type="str"/> <Pgf> <PgfFont> <FFamily value="Times New Roman" type="str"/> <FWeight value="Regular" type="str"/> </PgfFont> </Pgf> <ParaLine> <String>Underlined charcter</String> </ParaLine> </Para> <Para> <PgfTag value="Body" type="str"/> <Pgf> <PgfFont> <FFamily value="Times New Roman" type="str"/> <FWeight value="Regular" type="str"/> <FAngle value="Italic" type="str"/> </PgfFont> </Pgf> <ParaLine> <String>Italic …

Member Avatar for kvprajapati
0
130
Member Avatar for jd51edwin

Hello.....I had some nasties on this laptop that had no protection....I installed Kaspersky Anti-Virus and cleaned things up a bit....ran ATF Cleaner and Malwarebytes Ani-Malware- see log below....also see my HJT below.....can someone please take a look and see if I am still infected? Thanks very much.....JD Malwarebytes' Anti-Malware 1.41 …

Member Avatar for crunchie
0
215
Member Avatar for P00dle

Hi. First, I'll explain my task: I have 4 text files. 3 of the files contain xml tags and content. The 4th is empty. I need to read the 3 files, and write them to the 4th file. The reason for having 3 files is that the first and the …

Member Avatar for GreenDay2001
0
141
Member Avatar for P00dle

Hi I am ery new to Python. I've only started using it yesterday. Please keep that in mind, as the error might seem simple to you, but I can't understand it. I am trying to run the following piece of code: [code] import re foo = open("PREFIX.txt", "r+") text = …

0
75
Member Avatar for GradStudent

I am a beginner with Hibernates. I added the appropriate files / Jar to my Project in netbeans ide 6.7.1. My Hbm file has multiple <class> </class>.. and i get this error. errororg.hibernate.InvalidMappingException: Could not parse mapping document from resource Customer.hbm.xml Was wondering this issue is associated with multiple <class>tags.

Member Avatar for GradStudent
0
94
Member Avatar for vuyiswamb

Good Day all i have created a Global Variable as depicted in the following Pic [URL="http://www.tiyaneproperties.co.za/SSIS/pic1.JPG"]http://www.tiyaneproperties.co.za/SSIS/pic1.JPG[/URL] The Following Screen-shot shows how i created my Variable and its Properties [URL="http://www.tiyaneproperties.co.za/SSIS/pic2.JPG"]http://www.tiyaneproperties.co.za/SSIS/pic2.JPG [/URL] and the Following Screen-shot shows the Script Editor Properties [URL="http://www.tiyaneproperties.co.za/SSIS/pic3.JPG"] http://www.tiyaneproperties.co.za/SSIS/pic3.JPG[/URL] and the Last pic is the code that write …

0
92
Member Avatar for alsoumhi

Hi guys, I am trying to restrict users to access the sources of my application so I have used tomcat-users.xml file , but later I will be facing a problem which is how if I have a lot of authorized users , so I will add each one to that …

Member Avatar for javaAddict
0
115
Member Avatar for veledrom

Hi, I need an php soap example that should run on my local wampserver. Also, wsdl file should be in my www/mytest folder with server and client php files. Not outsourced. I tried a lot from web but they all outsource wsdl in their servers. Thanks in advance

Member Avatar for network18
0
108
Member Avatar for shankmuchlove

Hello people, I had an idea of storing my website's feedback form data into an xml file rather than using a database table. It works faster using an xml file when retrieving data than using a database table. Please suggest me, what if I use xml files for storing complex …

Member Avatar for network18
0
61
Member Avatar for vuyiswamb

Good Day All I have the Following Query [CODE] DECLARE @CurrentTime DATETIME SET @CurrentTime = CURRENT_TIMESTAMP select tr.Descr [Room], tb.Purpose [Purpose], tb.Description [Description], convert(varchar,datepart(hour,tb.starttime))+':'+convert(varchar,datepart(minute,tb.starttime)) [Start Time], convert(varchar,datepart(hour,tb.endtime))+':'+convert(varchar,datepart(minute,tb.endtime)) [End Time], tu.name [Requested by] from tbl_booking tb inner join tbl_resource tr on tb.resources = tr.id inner join tbl_user tu on tu.id = …

Member Avatar for vuyiswamb
0
97
Member Avatar for GradStudent

I m newbie with Hibernate. I use Netbeans IDE for my Java projects. I wrote the *.hbm file and mapping.xml file. and when i try to create the POJO classes, It apparantly does not show the *.hbm and mappng files associated with the project... Any pointers to where I mite …

Member Avatar for peter_budo
0
90
Member Avatar for jyotidagia

i hav this code for autosuggest.. it retrieves the desired values from the datbase.. and produces a list..like in google.. however the values in the list cannot be selected using the arrow keys.. could anybody familiar with google suggest help me out with this.. am using this for an textbox …

Member Avatar for sam023
0
96
Member Avatar for mr_scooby

hi guys, I would like to be able to take all the output of a order form and the database output of the selected items and return it to a xml document. I tried the file_get_contents and that just took the actual code from the php page. My website is …

Member Avatar for mr_scooby
0
85
Member Avatar for markyjj

I would like ask for some advice please, I am trying to create a program in C# but have the following problem. I am currently trying to loop through a batch of XML files that are stored in a folder. However, I just don't want to loop through the XML …

Member Avatar for thines01
0
506
Member Avatar for shaan07

Hei..i am novice to programming. How to generate beautiful html pages from a text file. My idea is to generate XML first and then generate it to html. Generated html page should contain all the information that the text file contains..like tables,pics,body,headings. I dont have a clue what to do …

Member Avatar for pythopian
0
132
Member Avatar for Madhavi R

can anybody please help me in mt major project.... my topics is document to xml converter using .net technology... i am not getting how to do it ???

Member Avatar for thines01
-2
80
Member Avatar for meli7a

Hi all, I have 2 unrelated questions. I need to do a grouping of data using XSLT. I need this to function like how a nested IF within an IF would function. After which, I need to group the data so that I can split it into multiple files according …

0
83
Member Avatar for hangon

I have an xml like below <PO> <ITEM> <ID>1000</ID> <PRICE>10</PRICE> </ITEM> <ITEM> <ID>1000</ID> <PRICE>10</PRICE> </ITEM> <ITEM> <ID>1001</ID> <PRICE>10</PRICE> </ITEM> <ITEM> <ID>1001</ID> <PRICE>10</PRICE> </ITEM> </PO> I want an xpath that will get only ID = 1000 and the output should be like below <PO> <ITEM> <ID>1000</ID> <PRICE>10</PRICE> </ITEM> <ITEM> <ID>1000</ID> <PRICE>10</PRICE> …

Member Avatar for fpmurphy
0
121
Member Avatar for Tales

Hello, I wanted to ask about a new small program that ihave to do. I am supposed to take some information from an excel (the structure of this excel is fixed) and save it as an XML. I am still deciding if I should do it with Visual C++ (which …

0
65
Member Avatar for daniyalnawaz

I want integrate following apis in my website, 1. Yahoo BBAuth 2. Google OAuth 3. Live ID Delegated Authentication 4. Facebook Connect Does these facilities enable me to get their email addresses as i cant find any mention of email address of the logged user in the API documentations.

Member Avatar for pritaeas
0
153
Member Avatar for Hirez

Hi, I'm new to c# although have written in a few other langues in the past. I'm trying to get a list of services and their status and create an xml file from this info. I use the ServiceController. [CODE]ServiceController[] services = ServiceController.GetServices();[/CODE] If I send the info to the …

Member Avatar for Hirez
0
83
Member Avatar for selvasmartmccan

I want to use XML file to insert some data and want to upload that data into my JSP page. That is "XML parsing in JSP" but i tried using JDOM parser but i cant able to get ... any one know dis???????

Member Avatar for peter_budo
0
37

The End.