xpath x 105
xsl x 429

4,764 Topics

Member Avatar for
Member Avatar for amadaeliseo

I i have a table in excel with some movies and i want to extract it to XML using XSLT. How can i do that. movie 1 | actor 1| 2009 | ... movie 2 | actor 2 | 2010 | ...

0
51
Member Avatar for mahendra dubey

Hi there I am using XSLT to process an XML file.I want to copy all whole XML and want to modify some attribute node.I using follwing code [code] <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl" xmlns:db="http://tempuri.org/DatabaseXMLSchema.xsd"> <xsl:output method="xml" indent="yes"/> <xsl:template match="@* | node()"> <xsl:copy> <xsl:apply-templates select="@* | node()"/> </xsl:copy> …

0
61
Member Avatar for P00dle

I made a program that edits the contents of a XML file. It works fine, but when there are newline characters between the nodes, the program doesn't handle them correctly. It looks like it's handling the newline as if it's a node as well. The problem is that put all …

0
77
Member Avatar for P00dle

The code I'm using to change XML content isn't working... Does anyone have any idea what I'm doig wrong: [CODE]package domtest; /* public class Main { public static void main(String args[]) throws Exception { DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); DOMBuilder domBuilder = new DOMBuilder(); Document jdomDoc = domBuilder.build(builder.parse(new File("src/home/projects/misc/Test.xml"))); Iterator iter …

Member Avatar for P00dle
0
193
Member Avatar for adhsys

I have the VS2008 Installed, but cann't find the wsdl.EXE prg. I need to create a proxy for a wsdl file to consume the ws. Where can I locate it? Thanks.

0
81
Member Avatar for P00dle

I had a couple of posts on getting this thing to work. I finally got a small test program working, but now this, the actuall program, doesn't. I don't understand the error either(Will include it at the end of this post). Here is my code, with the line throwing an …

Member Avatar for parry_kulk
0
208
Member Avatar for sbutt

Hi All, I have a following xml: [code] <?xml version="1.0" encoding="UTF-8"?> <ForwardRequestResponse xmlns:m="http://webservices.kuoni.ch"> <ForwardRequestResult><![CDATA[<?xml version="1.0" encoding="windows-1252"?><Response Version="2.5" From="KUONEKA0" To="CETS" TermId="XXXXXX" Date="18062009" Time="163523" Type="ERROR" Confirm="X" Agent="XXXXXX" Lang="EN" UserCode="X" UserType="X" UserName="X" UserFirstName="X" Mode="X"><Err><ErrorNr>9999</ErrorNr><ErrorText>Fehlerhafter Request</ErrorText><ErrorText>element &lt;Request&gt; attribute: TermId is too long</ErrorText></Err></Response>]]></ForwardRequestResult> </ForwardRequestResponse> [/code] And I want to extract a CDATA out of it …

Member Avatar for vivek4075
0
144
Member Avatar for eggman89

Hi I'm doing my Fourth Year B.E. project under the internship of MindTree! Now they have only told us what to do , but haven't guide much! Now, we have been told to develop an search application similar to Google Desktop one, only lighter version of it! This is how …

0
109
Member Avatar for sandra21

problem in short - when the flash file reads text from a xml file, the font display is unclear. when the text is embedded in the flash, it appears clearly problem in detail - i would appreciate your help because i am unable to resolve this problem despite my best …

Member Avatar for krisov
0
192
Member Avatar for himit

Hi, Can we declare a variable at one place and assign it a value at another in XSLT? I know that we can assign a value to a variable only once (please correct me if I am wrong), however i am not sure whether we can do it in 2 …

0
93
Member Avatar for 2abani

sample of my xml [CODE]<?xml version = "1.0" encoding="UTF-8"?> <?xml-stylesheet type = "text/xsl" href = "input.xsl"?> <products> <laptop> <name>hp </name> <details> 15.6-Inch Espresso Laptop - Up to 4 Hours of Battery Life (Windows 7 Home Premium) </details> <price>600$</price> </laptop> <laptop> <name>dell vostro</name> <details> 17-Inch </details> <price>600$</price> </laptop> <laptop> <name>acer aspire …

Member Avatar for SoftwareDev
0
159
Member Avatar for farooq82

Hello, Everyone. I have receive the above mention error. I don't why this error is occurring. [CODE]using System; using System.Data; using System.Configuration; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; namespace TurnkeySolutions.App_Code.DAL { [Serializable] public class DBBridge { public DBBridge() { // …

Member Avatar for farooq82
0
268
Member Avatar for jjohnson0819

I wrote a custom web service to submit a form from sharepoint to sql. The form works properly and says the form submitted sucessfully but no data is stored in sql. I am pulling my hair out. Any help would be appreciated. Code is below. [CODE]<%@ WebService language="VB" class="Submit" %> …

Member Avatar for Elehas
0
162
Member Avatar for judge6

Hi, what I am trying to achieve is to extract a certain word from a .txt file, eg. "word". I am also running an XML file into a dataset. Within this dataset I want to locate the column which has the name "word" (same string from txt file). Once I …

Member Avatar for judge6
0
100
Member Avatar for isuruj

I need to checkout from svn repository using cruise control. Without using ANT target for checkout I need to do it by the config.xml file. So can somebody send me the code for that.

0
54
Member Avatar for hangon

Hi, I have an xml I want to make an exact copy of it. Here is my input/xsl but in the output I get all the elements but namespace prefix is not coming for all the elements. See the red highlighted section [code] <?xml version="1.0" encoding="UTF-8"?> <env:Envelope xmlns:env = "http://schemas.xmlsoap.org/soap/envelope/" …

0
70
Member Avatar for psha85

Hi everyone- I really need help with an XML Stylesheet ASAP. I am stuck on this one part and I really need to finish it off. I have attached a ZIP folder of the files. The instructions for what I'm supposed to be doing are in the file titled 'assignment.doc' …

0
50
Member Avatar for skyyforever

Hello everyone, I'm trying to implement windows form with data grid (or anything you say is better) which should represent a hierarchical data. This data are stored in a xml file which structure is as follows: [code] <elements> <element> <term>name of element</term> <subelements> <caption> <term>caption name</term> <subelements> <caption> <term>caption 2 …

Member Avatar for gusano79
0
187
Member Avatar for qavo

Asynchronous data fetch from server is mainly reliable in my project which currently uses a "localhost" server. At times though the [inlinecode]XMLHttpRequest onreadystate event[/inlinecode] does not fire and I am suspecting this is due to javascript code still executing when the fetched data becomes available. Summary of process: [B]user click[/B] …

Member Avatar for ShawnCplus
0
97
Member Avatar for Vodlink

hi i am building an asp app that a user logs in then is given textboxes to put a numbers in and when they click submit button the app should search an xml document for the computers with the matching input and display in gridview. The problem is i don't …

0
64
Member Avatar for DIPY

Hi I have a treeview created from a "a.xml" file. Now from a different "b.xml" file i want to pick few nodes and inset them in the treeview. Is there a way in which i can directly load the selected few nodes from "b.xml" file ?

Member Avatar for VIeditorlover
0
125
Member Avatar for rajad2010

Hi guys, I've got a data scraping script that is not picking few html elements/fields that I need. I can't get the following elements: product title price and specification It could be that the xpath is not correct since the website has a lots of div/tables without any id or …

Member Avatar for rajad2010
0
1K
Member Avatar for siddhithakkar

Hi guys, I am new to this list and really hope to gain a lot from all the experienced professionals out there. Here is what I need to do this time around: I have an input code which is a complete flat structure- grouping of elements is desired out of …

0
58
Member Avatar for Krstevski

Hello... I want to display rss feed from another site in html, but I don't know how can I get the images of the rss items... In the rss have only "Title", "Link" and "Description"... So, can someone tell me how to get the images from rss items ? P.S. …

0
64
Member Avatar for hangon

Hi, I have an xml input (wsse) and I want to change the value of one of the attribute "mustUnderstand" while copying. Input.xml [code] <?xml version="1.0" encoding="UTF-8"?> <env:Envelope xmlns:env = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd = "http://www.w3.org/2001/XMLSchema" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"> <env:Header> <wsse:Security env:mustUnderstand = "1" xmlns:wsse = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsse:UsernameToken xmlns:wsse = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsse:Username …

0
76
Member Avatar for billybobc

Hello, I've a newbie to JSP so I apologize if this is an obvious error on my part. I've been banging my head against this problem for a while and I can't seem to figure it out, though. Any help appreciated. I'm trying to create a web app that so …

Member Avatar for billybobc
0
3K
Member Avatar for veerasek

Hi All, I am trying to convert HTML file into XML using java. If anyone of you have sample coding please share with me. Your suggestions greatly appreciated. Thanks, Veera

Member Avatar for ~s.o.s~
0
6K
Member Avatar for rooboy69

Hi guys, new to site - and fairly new to C#. So be gently. I have an xml file containing the following: [CODE] <?xml version="1.0" encoding="utf-8" ?> <Arm> <Arm1> <Name> Flies </Name> <Weight> 18 </Weight> <Reps> 12 </Reps> </Arm1> </Arm> [/CODE] The xml contains more that just the one Arm …

Member Avatar for sknake
0
477
Member Avatar for borntowin_786

Hello I am pasting my code.this code is used for data collection purpose.But i m getting an error in this.Can anybody help me? [CODE]<?php ini_set('max_execution_time','510000'); ini_set('memory_limit','2056M'); require_once 'Classes/PHPExcel.php'; require_once 'Classes/PHPExcel/IOFactory.php'; //$zipcode=35212; //$sleep_time=1; //Generating sleep time random-wise $sleep_time = rand(1,15); $result_array=array(); $number=2; $objReader = PHPExcel_IOFactory::createReader('Excel2007'); $objReader->setReadDataOnly(true); $objPHPExcel = $objReader->load("C:\Documents and Settings\Tushar.Chavan.DC\Desktop\sunlight\US_ZIP_CODES.xlsx"); …

Member Avatar for chrishea
0
141
Member Avatar for bluem1

There has to be an easy answer for this, I hope! I basically need the grandchildren of the below xml tree to show up in a vb.net gridview. I have the data getting pulled but all values are getting put into a single cell. Here is the xml tree. [CODE]<?xml …

Member Avatar for sinnerFA
0
273
Member Avatar for sb20642

I have a web service which has the soap authentication. But when i view the HTTP Request format in the soap envelope i dont find the xmlns:type attribute and also in the soap:body i dont find soap:encodingStyles attribute. How to add these attributes from the web service side. I need …

0
63
Member Avatar for rodrigodsp

Hi all, I'm using XSL-FO and Apache FOP to generate PDF documents from XML documents. I managed to transform the XML into PDF with 1 page per sheet, but I also would like to get PDFs with 2 and 4 pages per sheet. Does anyone have any idea how I …

Member Avatar for sinnerFA
0
521
Member Avatar for P00dle

Ok, so I have this XML file that I'm reading: [CODE]<?xml version="1.0"?> <APOLLERSETTINGS> <SYSTEM> <VERSION>3.1</VERSION> <SMTPSRV>blue</SMTPSRV> <SMTPPORT>29</SMTPPORT> <SMTPUSR>Me</SMTPUSR> <SMTPPSW>Password</SMTPPSW> <EMAILFROM>[email protected]</EMAILFROM> <EMAILTO>[email protected]</EMAILTO> <ALTEMAILTO>[email protected]</ALTEMAILTO> </SYSTEM> <JOB> <JOBNAME>The Name</JOBNAME> <INPUTFOLDER>C:\</INPUTFOLDER> <FILEMASK>*.txt</FILEMASK> <PROCESSORDER></PROCESSORDER> <RETAINFOLDER>C:\</RETAINFOLDER> <OVERRIDEFOLDER>C:\</OVERRIDEFOLDER> <ERRORFOLDER>C:\</ERRORFOLDER> <POLLINTERVAL>6000</POLLINTERVAL> <JOBBATCHFILEPATH>C:\</JOBBATCHFILEPATH> <JOBBATCHPARAMS>three</JOBBATCHPARAMS> <JOBLOGPATH>C:\</JOBLOGPATH> <JOBEMAILTO>[email protected]</JOBEMAILTO> <JOBALTEMAILTO>[email protected]</JOBALTEMAILTO> </JOB> </APOLLERSETTINGS> [/CODE] This is the code that is reading the file: …

Member Avatar for P00dle
0
122
Member Avatar for Radiodave

Hi there I'm hoping there's an easy answer to a (hopefully) not too long-winded issue... I'm building a C# web client using a proxy wsdl.exe'd from a wsdl file and six schemas, each in a different namespace. Some schemas extend complex types in others. When i get a soap:Fault from …

Member Avatar for sb20642
0
591
Member Avatar for srinandini

hiiiiii everyone. I am btech final year student.And I'm creating a website and I need to create a rss feed to my website to update news to the subscribers.So, can anyone give me idea of creating dat. Thanks in advance.

Member Avatar for Duleee
0
85
Member Avatar for dwisely

I am useing the OpenFileDialog component with a Button Sub to use the text file that the user selects (it can change everyday) in the next part of my program that will read that file and then covert it into an xml format. How do I get the second part …

Member Avatar for wasyazwan
0
131
Member Avatar for P00dle

Hi everyone. I need help. I'm supposed to have my program edit an XML field. The user has the option to change the values in certain nodes. After the node values have been filled in, and a certain button has been clicked, the program should write the changes to the …

Member Avatar for P00dle
0
113
Member Avatar for kkk_f17

while i'm running the below code, I'm getting : "There are several Java methods that match equally well". Can any one solve this problem. Please i need u r help. Thanks in Advance My XML:-- [code] <?xml version="1.0" encoding="UTF-8"?> <article1> <title>kiran Java May Be a Fad</title> <author>J. Burke</author> <startdate>25/12/2009</startdate> <enddate>30/10/2010</enddate> …

0
70
Member Avatar for 7akimz

this is my html code [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <?php $xml = simplexml_load_file('../order1.xml'); $products = $xml->xpath('/products/laptop'); foreach($products as $laptop) { if($_POST['list'] == $laptop->name) { global $lname,$detail,$price; $lname = $laptop->name; $detail = $laptop->details; $price = $laptop->price; } } ?> <meta name="delete" content="deleting products" /> …

Member Avatar for 7akimz
0
176
Member Avatar for sonia sardana

hi frnds ,I started a new project in .Net 3.5 version.I add a New Ajax Web Form Default2.aspx. [code] using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; public partial class Default2 : System.Web.UI.Page { …

Member Avatar for reach_yousuf
0
233
Member Avatar for matthewl

Lets say I have two functions that I want to run simultaneously for different purposes as example a function handles an XML RPC requests and the other function handles an IRC connection to an IRCD. what my goal would be to avoid program hang ups on user requests. Is pthreads …

Member Avatar for gerard4143
0
119
Member Avatar for 7akimz

this is my php code [CODE]extract($_POST); $doc = new DOMDocument; $doc->load('../order1.xml'); $laptops = $doc->documentElement; foreach($laptops as $laptop){ if($list==$laptop->name) { $name1 = $laptop->name; $oldnam = $laptop->removeChild($name1); $olddetails=$laptop->removeChild($laptop->details); $oldprice=$laptops->removeChild($laptop->price); $name1 = $laptops->getElementsByTagName('name')->item(0); $oldname = $laptops->removeChild($name1); }} $doc->save("../order2.xml");[/CODE] this is my xml [CODE]<?xml version="1.0"?> <?xml-stylesheet type = "text/xsl" href = "input.xsl"?> <products> <laptop> …

Member Avatar for Atli
0
160
Member Avatar for Techwriter10

Yesterday, the [URL="http://www.businessweek.com/technology/content/dec2009/tc20091222_416170.htm"]Federal Appeals Court ruled[/URL] in what appears at first blush to be a shocking decision, that Microsoft must stop selling Word 2007 by January 11, 2010. But a closer look at the decision suggests that this isn't as big a deal as it first seems. Sure, Microsoft has …

0
591
Member Avatar for TheMightySpud

Hi all, I hope someone can help me with this because it's driving me insane. I've spent almost two solid days trying to figure this out without much success. What I need to do is load in an XML file (which I have working fine) but then I need to …

Member Avatar for TheMightySpud
0
143
Member Avatar for padhu_cbe

Hi, [B][U]Requirements:[/U] Need to find the DAY-NAME from the date.[/B] I used the XSL function in my XSL file. [CODE] <xsl:function name="functx:day-of-week-name-en" as="xs:string" xmlns:functx="http://www.functx.com"> <xsl:param name="date" as="xs:anyAtomicType?" /> <xsl:sequence select="('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday')[functx:day-of-week($date) + 1]" /> </xsl:function> [/CODE] and I use this piece of code to call the function: Declare a variable 'sDate' …

0
53
Member Avatar for maheshks

[B]Hi[/B] can any one suggest me how to data recieve from xml & modification xml file using php .i attached one thumbnail.i want that type of program in php...Don't mis understand wrongly.. Thanks S.mahesh

Member Avatar for Member #585571
0
146
Member Avatar for sdmcnitt

Hope I chose the correct forum. I have a dataset object with one table that comes to me from a common custom component's GetDS method. I need to pass XML to another process (chunked as byte array). I have it all working but the XML is missing some attributes that …

0
132
Member Avatar for Mitja Bonca

How can I put a progress bar inside this code: (I was trying to use PerformStep method for counting rows in data table, and put this code, but no luck: [URL="How can I put a progress bar inside this code: (I was trying to use PerformStep method for counting rows …

Member Avatar for DdoubleD
0
210
Member Avatar for himit

I am trying to transform 1 XML document to another using XSLT. I want to call the value from my source XML to the element in my result XML as the value of an attribute. Source code- <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="test.xsl"?> <catalog> <cd> <title>Empire Burlesque</title> <artist>Bob Dylan</artist> <country>USA</country> …

Member Avatar for himit
0
175
Member Avatar for krish13

Hello, I need to just replace the XML namespace using XSLT. My input XML looks like as follows. I just want to replace "oldNameSpace" with "newNameSpace" and rest of XML want as it is.. [CODE] <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:impl="oldNameSpace" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soapenv:Body> <impl:requestData xmlns:impl="oldNameSpace"> <xmlString ChangeDate="2008-12-18T14:47:11.773+01:00" IdentificationNumber="WDDKJ5GBXAF000229" OrderNumber="08 295 …

Member Avatar for fpmurphy
0
609

The End.