3,634 Topics

Member Avatar for
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
34
Member Avatar for veboit

Hi All, I am new to Xpath so this is a very basic question. I have a date variable I want compare that variable to current date. example: my_date > current_date then print "previous date" how to write this in xpath? thanks

Member Avatar for veboit
0
109
Member Avatar for SuntechWebsites

I am trying to set up an RSS feed but am getting an error in IE that says "Explorer does not support feeds with DTDs" Firefox starts a download. any ideas?

Member Avatar for SuntechWebsites
0
118
Member Avatar for TeckniX

So I created a template for a simple link builder function. Problem is, when I use it, I don't get the link, I get just the text. Could anyone help me understand what I'm doing wrong? Thanks! [CODE] <xsl:variable name="ReadMore"> <xsl:call-template name="linkBuilder" > <xsl:with-param name="linkID" select="format-number(@ID, '#,##0.#;-#,##0.#')" /> </xsl:call-template> </xsl:variable> …

0
139
Member Avatar for sanket002

I have to check value of a variable in XSLT if it is null then i have to set it to default "$" so for that i have written following XSLT code: <XSL:variable name dummy select= "ArrayOfBookMark/BookMark[ShortName='Asp-7041-EndVar1]/Value"> <XSL:choose> <XSL:when test="($dummy!='')"> <XSL:variable name="dummy1" select="$dummy"/> </when> <XSL:otherwise> <XSL:variable name="dummy1" select="'$'"/> </XSL:variable> <XSL:otherwise> …

Member Avatar for fpmurphy
0
115
Member Avatar for julseypart

hi, i am trying to retreive data from a sharepoint list but its returns all columns such as ows_MetaInfo, ows__ModerationStatus ,ows__Level ows_ID ,ows_owshiddenversion, ows_UniqueId ,ows_FSObjType rather than just the fields i want from the list. I thought the "<IncludeMandatoryColumns>FALSE</IncludeMandatoryColumns> tag would filter these colums out Can any1 help? heres my …

0
97
Member Avatar for julseypart

hi, i am trying to retreive data from a sharepoint list but its returns all columns such as ows_MetaInfo, ows__ModerationStatus ,ows__Level ows_ID ,ows_owshiddenversion, ows_UniqueId ,ows_FSObjType rather than just the fields i want from the list. I thought the "<IncludeMandatoryColumns>FALSE</IncludeMandatoryColumns> tag would filter these colums out Can any1 help? heres my …

0
87
Member Avatar for dhanya_piit

[code=java]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Programs; import java.util.ArrayList; import javax.ws.rs.core.Context; import javax.ws.rs.core.UriInfo; import javax.ws.rs.Consumes; import javax.ws.rs.PUT; import javax.ws.rs.Path; import javax.ws.rs.GET; import javax.ws.rs.Produces; import java.util.List; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import …

Member Avatar for peter_budo
-1
92
Member Avatar for dhanya_piit

hi, am using netbeans to write restful web services. I want to pass an input and the again retrieve it and display the out put in XML form. i am giving the path as @Path("book\{name}\{author}") and using it as an argument [code]public Book getxml(@PathParam("zip") String zip,@PathParam("div") String div) { }[/code] …

0
75
Member Avatar for moin123

i jus want to submit Rss feed to google... i am not sure how to do it.plz help me <FAKE SIGNATURE>

Member Avatar for sylstain
0
147
Member Avatar for InsightsDigital

I read on a blog about how RSS may be out. I dont know about you but I actually subscribe to many blogs and I look forward to reading or at least glancing my Google Reader's headlines. Yes, I dont have time for all the feeds but I do scan …

Member Avatar for MktgRob
0
183
Member Avatar for Facte

Hi there everyone. Does anyone have any idea how to stop my xml feed displaying # instead of £ and companys instead of company's. I've tried everything I can think of. In UTF-8 it won't show hardly anything in ASCII it works but still spits out thhe errors above. [CODE] …

0
58
Member Avatar for MJUGRAN

Hi, How I could fetch first three character from a string variable. Say for I fetched a variable message="ABCtest" .... now I want to test that the first three character matches ABD or not .. How I could code to achieve in xslt? Cheers Manish

Member Avatar for m.asfak
-2
158
Member Avatar for Psybear

Hi all I need to detect all image tags in a HTML document that are siblings: [code=html]<p> <img ../> <img ../> <img ../> </p> <p> <img ../> </p>[/code] In the example above I need to detect the first three img tags, but not the fourth. In contrary, I also need …

Member Avatar for m.asfak
0
89
Member Avatar for CssQueen

Hello, I am trying to populate data from an xml file when a certain catergory from the dropdown menu is selected. The dropdown menu is also populated from a xml source different from the one where the data is stored that needs to be pulled. so when a category is …

Member Avatar for CssQueen
0
107
Member Avatar for samarudge

Hi, I am trying to retrieve the contents of my XML file and use the variables later on in the script; I have the following actionscript code [CODE=actionscript3]// Get XML Vars var xml:XML; var urlLoader = new URLLoader(); var songdataurl:String = '0'; urlLoader.addEventListener(Event.COMPLETE,onXMLLoaded); urlLoader.load(new URLRequest("data.xml")); function onXMLLoaded(e:Event):void{ xml = new …

Member Avatar for samarudge
0
153
Member Avatar for xfrolox

Ok in my Dialog3 i have Sound on / off Windows in top on / off Transparency Forms and a button2 to Save How i make it to save ? in the .ini i have this in it [CODE]<?xml version="1.0" encoding="UTF-8"?> <settings> [Audio Settings] Sound=1 [Windows Settings] WindowsinTop=0 [Transparency Settings] …

Member Avatar for xfrolox
0
97
Member Avatar for john2029

Hi All, I want to retrive element values from Xml Document which contains the string which i am passing. For example : I want to retrive all the element values which has word 'Sales' . How should i write XPath expression ? Any example will be appriciated. Thanks John

Member Avatar for fpmurphy
0
75
Member Avatar for loukiachr

hello, can you please tell me what code must i write in my xslt file so i can convert it with xml to a windows word 2003 file (using c#)?please... Thanks

Member Avatar for fpmurphy
0
79
Member Avatar for vishugs

Hi, iam new to webservices.I have to develop JAX-WS Webservices on JBoss 4.2.3GA AServer JBossWS -native 3.x.I have downloaded net beans and JBoss 4.x Aserver.I want to clarify .. 1. Do i need to configure or do something with JBossWS-native 3.x,bcoz in netbeans i selected the path for JBoss server …

0
71
Member Avatar for wewehalim

Hi, this is my final project. I have generated an xml string, this is my code: [code]import java.io.StringReader; import java.io.IOException; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.w3c.dom.CharacterData; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.xml.sax.InputSource; <%@ page import="javax.xml.parsers.*" %> <%@ page import="org.w3c.dom.*" %> <%@ page import="java.io.*" %> <%@page import="recipe.*" …

Member Avatar for vishugs
0
400
Member Avatar for sbutt

Hi Folks, I have this following xslt script: [CODE]<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.2" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ibn="http://ibn.traveltainment.de/2009/001" xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:ota="http://www.opentravel.org/OTA/2003/05" xmlns:ota1="http://www.opentravel.org/OTA/2002/11" xmlns:ns3="http://www.opentravel.org/OTA/2002/11" xmlns:fo="http://www.w3.org/1999/XSL/Format" exclude-result-prefixes="SOAP-ENV ota ns3"> <xsl:output method="text" encoding="UTF-8"/> <xsl:variable name="soap" select="name(/SOAP-ENV:Envelope/SOAP-ENV:Body/ota:*)"/> <xsl:variable name="soap2" select="name(/soap:Envelope/soap:Body/ns3:*)"/> <xsl:variable name="base" select="name(/*)"/> <xsl:template match="/"> <xsl:choose> <xsl:when test="count(soap:Envelope/soap:Body) > 0"> <xsl:value-of select="$soap2"/> <xsl:value-of select="$soap"/> </xsl:when> <xsl:when …

0
77
Member Avatar for nschessnerd

Hi, I have the following redirect: /lb/v/fast -> viewboard.php?c=fast by doing RewriteRule ^v/([^?].*)?(.*)$ viewboard.php?c=$1&$2 [L] as you can see i try to also add the GET data... but its not working ie if i go to /lb/v/fast?view=1 it only copies the fast part over does anyone know how to fix …

0
89
Member Avatar for leviathan185

Hi All, i am trying to write an application that will take an XML file that has been saved from an XLS spreadsheet and display the data. I will be ok with how to display the data i just dont know how to get the data from the XML. I …

Member Avatar for leviathan185
0
116
Member Avatar for dhanya_piit

Can anyone please post a link where i can get some codes/demos for restful web services.plz reply asap

Member Avatar for pritaeas
0
103
Member Avatar for araldi

Hello, Firstly I would like to say sorry for my low level english. Well, my problem is I am trying to do a program wich read from a xml file. I am programing in delphi 6. This is a part of code where you can see the commands that I …

0
49
Member Avatar for culebrin

Hi, I've tried to get the geolocation of the clients IP, with this code: [CODE=vb] Dim rssReq As System.Net.WebRequest = _ System.Net.WebRequest.Create("http://freegeoip.appspot.com/xml/" _ & vl_bContadorVisitasBE.vcConVisIP) 'Crear el Proxy Dim px As New System.Net.WebProxy("http://freegeoip.appspot.com/xml/" _ & vl_bContadorVisitasBE.vcConVisIP, True) 'Asignar el Proxy al objeto WebRequest rssReq.Proxy = px 'Establecer el tiempo de …

0
92
Member Avatar for suryasasidhar
Member Avatar for sbutt

I have this basic transformation script: [CODE]<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.2" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ibn="http://ibn.traveltainment.de/2009/001" xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:ota="http://www.opentravel.org/OTA/2003/05" xmlns:ota1="http://www.opentravel.org/OTA/2002/11" exclude-result-prefixes="SOAP-ENV ota"> <xsl:output method="text" encoding="UTF-8"/> <xsl:variable name="outermostElementName" select="name(/SOAP-ENV:Envelope/SOAP-ENV:Body/ota:*)"/> <xsl:template match="/"> <xsl:choose> <xsl:when test="count(SOAP-ENV:Envelope/SOAP-ENV:Body) > 0"> <xsl:value-of select="$outermostElementName"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="/*"/> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>[/CODE] in which I'm trying to extract a particular …

0
70
Member Avatar for prince23

hi, i am trying to develop an flash application. where they have designed the entire front end by flash. now i need to doing the functionality part like taking the data from flash and save in database(sqlserver r mysql) using ( asp.net 3.5 frame work) . now as flash is …

0
125

The End.