xpath x 105
xsl x 429

4,764 Topics

Member Avatar for
Member Avatar for Jarrhed

The program I am working on is having a null reference exception whenever it tries to delete the node. The buggy code: First one is where the variable is declared for getting the name of the node to be deleted, just node htese are bits of the code [code] foreach …

Member Avatar for kvprajapati
0
91
Member Avatar for muchomagic

Hi all, I'm attempting to write an XPath expression that can follow references recursively. I'm doing this for a Schematron rule, so it's not in an XSLT template that I can modify. The setup: [code] <strawberry id="strawberry-1"> <extends ref_id="berry-1"/> </strawberry> <berry id="berry-1"> <extends ref_id="fruit-1"/> <extends ref_id="plant-1"/> </berry> <fruit ref_id="fruit-1"/> <extends …

0
76
Member Avatar for londonstan

If i have some xml in the form [code=xml]<root> <a>hello</a> <b> <bi>hiya</bi> <bii>hey</bii> </b> <c/> <d>hello again</d> </root>[/code] how can I a) count the nodes? i.e. a, b, bi, bii, c, d so 6 b) count the nodes that are non empty a, bi, bii, d so 4 ? i …

0
53
Member Avatar for Shaitan00

I am trying to send an EXCEPTION from a Web Server to a Client using JAX-WS ... When the exception is thrown by the server the client does catch it ... but the contents are not the expected message... [Code] [Server.java] package pck; @WebService() public class Server { @WebMethod() public …

0
102
Member Avatar for erees

I'm sure I missed something simple but I'm getting frustrated with this code simply because I'm so sure it should work. I have created a short program for exporting some XML data was use at the office into .tsv files. I have a thread dedicated to reading the xml data …

Member Avatar for erees
0
208
Member Avatar for ceyesuma

The name of this question is seperatin_view_model Hello and Thank you in advance for any assistance. [B] System info: [/B] Netbeans,MySql,glassfish, [B] The Purpose of this post is: [/B] to have someone look at my exel file where my question concerning packaging,and beans and faces-conf.xml and the concept of seperation …

Member Avatar for ceyesuma
0
101
Member Avatar for whiteyoh

Hi All, Im wanting the following script to output to an XML file, but im getting an error on line 18 and i have hit a brick wall. Help would be appreciated. [code] <?php require_once("connect.inc.php"); $db = getConnectionMySql(); $stmt = $db->query("SELECT email, name, lastlogin FROM subscriber"); while ( $obj = …

Member Avatar for Stefano Mtangoo
0
139
Member Avatar for Apeksha82

I have a web method in a web service (in .Net 2.0) which takes in an XmlSchema object as a parameter. When I add a reference to this web service in my application, it shows the parameter type as "WebServiceNamespace.XmlSchema" instead of "System.Xml.Schema.XmlSchema". and I cannot make a successful call …

Member Avatar for kvprajapati
0
65
Member Avatar for Avenger0A

Hey guys, im new here and i was wondering if some people could help me out? ive recently been employed in an IT company, and although i am quite familiar with c++, i have been asked to work on making a custom Ribbon in Excel (creating a new tab for …

0
81
Member Avatar for dondulla

hi, unfortunately i need a bit of help with a config for a program that an ex-employee of ours wrote. Basically, the program verifies itself on a website and verifys one specific type of bluetooth hardware is connected. we have recently changed hardware suppliers and need to take the requirement …

Member Avatar for NicAx64
0
124
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
170
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
99
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
144
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
113
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
107
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
180
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
74
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
278
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
75
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
108
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
117
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
87
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
122
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
131
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
69
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
106
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
390
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
179
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
142
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
120
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
149
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
84
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
202
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
648
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
138
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
79
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
98
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
95
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
121
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
112
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
63
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
98
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
101
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
97
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
531
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
153
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
81
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
87
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
124

The End.