3,634 Topics

Member Avatar for
Member Avatar for lonestar23

I am trying to merge two different RSS sources with the same structure into a single list concurrently. I have two foreach statements but would like to combine them. Problem I can not turn a DOM Method into an array... Thanks in Advance. ###### CODE BELOW Using DOM METHOD ##### …

Member Avatar for lonestar23
0
124
Member Avatar for sbutt

Hi Folks, I have an xml response, which I want to store into the database (mysql) through XSLT script. For basic data types, I can just prepare a simple insert statement through xslt script which further passed to java for further execution. <xsl:template match="ota:OTA_TT_HotelResRS">insert into booking (createdBy, bookingNumber, created, modified, …

0
65
Member Avatar for fastoy

I use an old program favoritesync.exe to manage Windows Favorites across multiple PCs. It creates an xml with the Favorites data and an xsl file to render it. It has been working successfully through IE7. Now I've begun using Firefox (3.5 beta 4) and I get the message "Error loading …

Member Avatar for fpmurphy
0
241
Member Avatar for wyahaw

I have a web site and am trying to produce an RSS feed for it for when things are changed. The following code is the RSS generated (from dreamweaver). Google Reader acknowledges it as a valid feed, but some other RSS feeders, such as Bloglines, do not recognise it as …

Member Avatar for shree2006
0
226
Member Avatar for phoenix.zhp

hi, I need select a node like "//element[@attr='value']", but the "attr" in document can be "Attr", "ATtr" and so on, as well as the "value". I know I can select element with case insensitive using translate function like "//*[translate(name(), 'abc','ABC')='ABC']" But how can I let it work with attribute and …

Member Avatar for phoenix.zhp
0
1K
Member Avatar for kranthi_543

Dear All, Passing condition as string to XSLT using Javascript as a parameter is not giving any results. Below is the code snippet:- [ICODE]script: var processor = new XSLTProcessor(); processor.importStylesheet(xslt); processor.setParameter(null, "query","not($projectId = 9820) and not($projectId = 9164)"); xsl code: <xsl:if test="$query"> I verified by priting xsl:value-of and string is …

Member Avatar for kranthi_543
0
127
Member Avatar for guruward

I have a questions table and it has a couple of columns startTag and closeTag which contain html which tells the page how I want to render the question [code] <xsl:value-of select='Questions/startTag' /><xsl:attribute name="name"><xsl:value-of select='practiceResponseId' /></xsl:attribute><xsl:attribute name="Value"> <xsl:value-of select='response' /></xsl:attribute><xsl:value-of select='Questions/closeTag' /></td> [/code] this way I can render the question …

Member Avatar for guruward
0
97
Member Avatar for m_hustle

hi, i have the attached xml file and i wish to perform some xpath expressions in java which i have declared as follows. [CODE]final String xPathexp1 = "sbml_ns:sbml/sbml_ns:model/sbml_ns:annotation/rdf_ns:RDF/rdf_ns:Description/bqmodel_ns:is/rdf_ns:Bag/rdf_ns:li/@rdf_ns:resource"; final String xPathexp2 = "/sbml_ns:sbml/sbml_ns:model/sbml_ns:listOfSpecies/sbml_ns:species/sbml_ns:annotation/rdf_ns:RDF/rdf_ns:Description/bqmodel_ns:is/rdf_ns:Bag/rdf_ns:li/@rdf_ns:resource[starts-with(.,"urn:miriam:uniprot:")]";[/CODE] I have set the namespaces as follows: [ICODE]try { NamespaceContext ctx = new NamespaceContext() { @Override public …

0
63
Member Avatar for ashoo

Today is my first venture into Xpath.. I have a table that looks like this Date Level 1 Level 2 05/20/2009 Value1 05/21/2009 05/27/2009 Value2 Whenever date for value1 in level 1 changes date for value 2 in level 2 must change consistently by a week. that is if date …

Member Avatar for fpmurphy
0
89
Member Avatar for FOR Offshore

Hi, In regard to .xml sheets and style sheets and .xsl; On my site [url]www.foroffshore.com[/url] can I use xml on my index page and if I would google crawl the content of the star sheet or would it just look at the xml? Cheers, Chris

Member Avatar for alicebstn9
0
43
Member Avatar for sonia sardana

hi frnds, i want to get the safari history in VB.Net..Safari maintains its history in history.plist file.....I want to know that how to convert this file to XML format??Plz help me out from where to start,,,cz i have no idea..

Member Avatar for Teme64
0
196
Member Avatar for ned69

Hi All I'm a newbie at XSLT and I need help to do the following. I am trying to transform the attached XML so it inserts a blank row whenever the current account number(curACCTNO) does not equal the previous account (preACCTNO) number i.e. group similar rows with the same accno …

Member Avatar for ned69
0
208
Member Avatar for pythonian4000

Hey everyone! I have been teaching myself Python, and so as an exercise, I have tried writing an image grabber for OneManga.com. You put in the path to the comic page you want to start the grab from, and it grabs every page from there to the end of the …

Member Avatar for pythonian4000
0
218
Member Avatar for bovlb

I'm trying to use XPath/XQuery to identify HTML elements. In particular, I want to be able to match elements where the "class" attribute contains a specific token. As I understand it, "class" is now defined as NMTOKENS, which means it should be treated as list-valued. So does that mean that …

0
55
Member Avatar for anusumesh

Hi, I want to read the text property of XML file. My xml file is as follows: [code] <?xml version="1.0"?> <Domain_Credentials> <User> anu </User> <Password> admin </Password> <SearchBaseDN> dc=def,dc=com </SerachBaseDN> <Host> abc.def.com</Host> </Domain_Credentials> [/code] I want to read the values of <user>,<password> etc. For reading these values, my code is …

0
62
Member Avatar for BzzBee

I want to fetch records from database and want to show listing in xml form. e.g [CODE] <url> <loc>http://www.test.com/about-us/</loc> <priority>0.64</priority> <lastmod>2009-05-04T10:10:21+00:00</lastmod> <changefreq>daily</changefreq> </url> <url> <loc>http://www.test.com/about-us/about-factory/</loc> <priority>0.64</priority> <lastmod>2009-05-04T10:10:21+00:00</lastmod> <changefreq>daily</changefreq> </url> <url> <loc>http://www.test.com/about-us/chairman-massage/</loc> <priority>0.64</priority> <lastmod>2009-05-04T10:10:21+00:00</lastmod> <changefreq>daily</changefreq> </url> [/CODE] the urls are dynamic. I am using statically now but want to use dynamically. …

Member Avatar for somedude3488
0
78
Member Avatar for luiso

I´m new in this great xml world and I need to develop an application for perform transformations of xml into pdf format. I have a way to do this using Ibex library, but this is not free and I can´t affort it. Do anybody know how to do it ??? …

Member Avatar for BinodSuman
0
54
Member Avatar for sommer_queen

hey guys , I have 4 orders and the following code iterates and prints out the each of the values. At the end it has reached the last order. My problem : i would like to come back to the first order. ie. i would like to set the ni …

Member Avatar for Ramy Mahrous
0
96
Member Avatar for billymcguffin

Hi guys, im not sure if this is where to post this, or if you can do anything about it, but whenever i update my rss, it doesn't show the changes in google reader. im not sure if this is a problem with: a) google reader, b) my rss or …

Member Avatar for billymcguffin
0
39
Member Avatar for kanodi

Hi guys, wonder if you could help me with a problem I am having. I am working on a app that parses an XML file, and when executed from my IDE(Netbeans) all works flawlessly, however when I deploy and execute my app via Webstart I get a NullPointerException on the …

Member Avatar for kanodi
0
215
Member Avatar for T.Cavanagh

Hi i am new to AJAX but i havejust managed to write one of my first basic scripts. What it does is takes all the news items out of a database and lists them as links. When you click a link i want all of the data that is linked …

Member Avatar for essential
0
1K
Member Avatar for reisende

Hi everyone, I've been combing the message boards for the last few days trying to find something that will work for me, but to no success. I had 0 experience with XSLT before this which definitely doesn't help out in the search but I am determined to learn. What I've …

Member Avatar for reisende
0
149
Member Avatar for sivak

can anyone expain with coding the use of xml,xslt in c# .net

0
50
Member Avatar for HunterFish

How to sort an xml file or a text file using gtkmm? This is the sample of the file that I want to sort. <LIST> <name> Example </name> <country> <name> Country </name> <pop> <desc> Japan </desc> <uri> 100 </uri> </pop> <pop> <desc> China </desc> <uri> 108 </uri> </pop> <pop> <desc> …

Member Avatar for HunterFish
0
179
Member Avatar for DotnetRaji

Hi, I have a wsdl of rpc/encoded type to be used in my .NET application. The wsdl has array objects with minoccurs and maxoccurs elements. I am unable to used the array in my application. Everytime it shows Nothing in the array. I am using Visual Studio .NET 2003. Can …

Member Avatar for DotnetRaji
0
99
Member Avatar for jeffc418

Hi all! So I've been reading about the "FOR XML AUTO" function which sounds great, but it hasn't been working when I try it in phpmyadmin. I get an error in the area of "FOR XML AUTO", I know SimpleXML is disabled on my package but would that be why …

Member Avatar for jeffc418
0
241
Member Avatar for ganesh0106

Hi All, I heartly appreciate I have 3 question: 1. following-sibling function not working in the “si – docid” attribute 2. starts-with function not working in “laid” element 3. choose method want correct (I need single dates element) in my xsl repeated the <dates> This is my XSL: <xsl:template match="div[@class='DocContainer']"> …

0
55
Member Avatar for ganesh0106

Hi All, Many thanks for your response, Actually you were given the coding looking good, what I gave the input, but I want to change the input structure the xslt not working properly. Here I place one more sample input and output (please read command instruction in output file) for …

0
61
Member Avatar for vijju23

Can someone help me understand what exactly is the diffrence between SQL/XML and XPath? Are they same?

Member Avatar for bigtiny
0
147
Member Avatar for bigtiny

Hi all, I have a pretty specialized problem/question I think. Let me start by saying that I'm dealing with a bunch of new stuff and trying to learn as I go. I just heard of XPATH the other day, and I'm using it in a pretty restricted context (more about …

0
65

The End.