1,599 Topics

Member Avatar for
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
500
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
50
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
116
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
165
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
584
Member Avatar for ericwshoemaker

Hey everyone, I'm using Flash AS3.0 and I am struggling to load an Image from an XML file to a movieclip in my flash project. I have the XML loaded fine, here is my XML content: [CODE]<GALLERY> <IMAGE TITLE="school" image="image1.jpg">pic 1</IMAGE> </GALLERY>[/CODE] It loads with this code: [CODE]var myXML:XML; var …

Member Avatar for me655321
0
112
Member Avatar for soapyillusion

I know there wasn't a fourm for this but everyone here seems to know so much. I got a project due tommorow and the requirement of it is that we need an XSLT style sheet with computational ability. I really don't get this whole thing and find the use of …

Member Avatar for Ezzaral
0
121
Member Avatar for zachattack05

Hi! I'm new to the site! I've been searching for help on Google for a while and keep getting results that point to this site, so I figured I should jump on. I'm new to C#. I've been programming in VBA in MS Access for a while now and have …

Member Avatar for drifai
1
854
Member Avatar for bluem1

Team - Please forgive my ignorance here, I am very new to xml coding. Basic situation is if I run the following code: [CODE] Dim feedXML As XDocument = XDocument.Load("c:\Feeds.xml") Dim bubba = From Feedmain In feedXML.Descendants("Feed") _ Where (Feedmain.Attribute("status") Is Nothing) OrElse (Feedmain.Attribute("status").Value <> "disabled") _ Select Name = …

Member Avatar for bluem1
0
87
Member Avatar for thandarucsy

Hello, I want to know how to write java code to retrieve content and position of an xml element using sax parser.

Member Avatar for servicecycle09
0
126
Member Avatar for Yikes

I'm using the Altova engine and have the following code [CODE] <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:pfp="http://www.mystuff.com/pfp"> <xsl:output method="xml" omit-xml-declaration="yes"/> <msxsl:script language="C#" implements-prefix="pfp"> <msxsl:using name="clitype:System.Text"/> <msxsl:using name="clitype:System.Xml"/> <msxsl:using name="clitype:System.Xml.XPath"/> <msxsl:using name="clitype:System.Collections.Generic"/> <msxsl:using name="clitype:System.IO"/> <![CDATA[ public string Next3() { return "<test1><test2>success!</test2></test1>"; } ]]> </msxsl:script> <xsl:template match="/"> …

0
58
Member Avatar for geek.shrek

Hi, I have a multiple xslt process. I would like to divide a group, for example the party that start between 00:00:00 - 10:00:00 called as "Group A" 10:00:00 - 14:00:00 will call as "Group B" or 14:00:00 - 20:00:00 will call as "Group C" and I would like to …

Member Avatar for yuvanbala
0
95
Member Avatar for manowar83

Hi, everybody! I want to know if there is a way to resolve my problem. So I want with xpath to get only nodes without their child nodes. My xml is: [code] <ts> <uc> <Questions> <q /> <q /> </Questions> </uc> <uc> <Questions> <q /> <q /> <q /> </Questions> …

Member Avatar for yuvanbala
0
287
Member Avatar for dbratshpis

I want my xpath query to return something like: customerName=... id=... customField=.... regardless whether those nodes exist in my xml: [CODE]<Begin> <CustomerRet> <customerName>Jack</customerName> <customerId>1</customerId> <customField>A</customField> </CustomerRet> <CustomerRet> <customerName>Jack</customerName> <customerId>1</customerId> </CustomerRet> </Begin>[/CODE] How do I go about writing my expression? I tried using concat but it's not working for me. /Begin/CustomRet/concat('customerName=',customerName) …

Member Avatar for xml_looser
0
87
Member Avatar for chupinette

Hello all! :) I dont know if this is the right forum..Here's part of my code: im using php to generate a wml page. It works fine. I want to populate a checkbox using data from mysql db. rand_keys() : store the ids in random order $row(): stores the ids …

0
69
Member Avatar for huZzaa

Hi all, I current have in place some XSL to strip html tags out. It had worked untill stuff started comming in with internal styling. I tried to introduce something to strip out the <style> tags, but it doesn't work. Here is where I have gotten so far: [CODE] <xsl:if …

0
53
Member Avatar for RichardCrickets

Hello Daniweb, I have a list of words seperated by line breaks in a .txt file. It looks like this. driving drop dry dust ear early earth east edge education I need to figure out the easiest way to convert it to a simple XML file that looks like this: …

Member Avatar for xml_looser
0
113
Member Avatar for Roebuc

I am not sure if this is the correct category for VXML but it is very similar to XML; so I am hoping this will fly. Please move to another forum if necessary. I am a Grad-Student and my thesis is working with VXML. I have built my application to …

Member Avatar for millermccullum
0
182
Member Avatar for krishhh

Hi experts, I am new to XSLT. As im in support i need to fix a xslt issue urgently. I hope you experts can help me on this issue. Input XML: [code] <Items> <Item> <Discnum>1</Discnum> <Discnum>2</Discnum> </Item> <Item> <Discnum>3</Discnum> </Item> <Item> <Discnum>4</Discnum> <Discnum>5</Discnum> </Item> <discounts> <discount> <discnum>1</discnum> <discqty>2</discqty> </discount> <discount> …

0
45
Member Avatar for Josh_Hcq

Hi, i've been using spring-mvc framework to develop a web application. I got stuck with this message: "build-impl.xml the module has not been deployed." I'm using Netbeans 6.7. If anyone can help me, i'll appreciate it. ps. i don't know if this is the right place to have posted this …

0
84
Member Avatar for ragnarok511

Is there a way to send a large amount of data through AJAX to a PHP script? Almost all tutorials say to modify the URL to equal whatever variable your trying to look up. I am wondering if it is possible to pass infomation to the server through an XML …

Member Avatar for digital-ether
0
2K
Member Avatar for wmsigler

Is it possible to apply XSLT on XML output from a Perl CGI script? I.e. I have a registration form, when submitted it makes an Ajax request, building a query string from the form inputs. The request is made to a Perl CGI script. This script can be called two …

0
103
Member Avatar for punzo

Can anyone give me a solution to the following problem? [code=syntax]<root> <elem1> <titel><bold>1.<tab/>The text <italic>of the</italic> headline</bold></titel> </elem1> <par>...</par> <par/> </root> [/code] Should become the following structure (attention: double bold-element): [code=syntax]<root> <elem1> <titel> <nummer><bold>1.</bold></nummer> <text><bold>The text <italic>of the </italic> headline</bold></text> </titel> </elem1> </root> [/code] Thanks a lot!

Member Avatar for fpmurphy
0
82
Member Avatar for dmmajorstudent

i have all the fields working. now i just need the user information as well as my created images into my sidebar div id="badge" and div id="results" every time i hit submit it clears the form rather than posting it. what am i missing? [CODE]// JavaScript Document function setupForm() { …

0
93
Member Avatar for isvaljek

I'm trying to create a context based menu and would to display(upon user click) the parent category, selected category and the first level children of the selected category. parent category [INDENT]selected category[/INDENT] [INDENT][INDENT]{child categories}[/INDENT][/INDENT] Selected category is determined by attribute value and that works.

Member Avatar for fpmurphy
0
41
Member Avatar for TAMU_David

This is the XSLT from a SharePoint Dataview: [CODE]<tr> <td class="ms-vb">Trip Count : <xsl:value-of select="count(/dsQueryResponse/Rows/Row)" /></td> </tr> <tr> <td class="ms-vb">Warning Count : <xsl:value-of select="count(/dsQueryResponse/Rows/Row )" /></td> </tr>[/CODE] Trip Count above counts the total number of forms entered by traveller - the xpath expression works like a charm... How do I …

Member Avatar for TAMU_David
0
358
Member Avatar for tchaves

Hi everyone, Daniweb has helped me a lot in the past and for once I haven't found the solution in a previous thread. Here is my issue. I simply cannot figure out what to do to send/receive XML using PHP SOAP functions. It sounds simple enough, but I have been …

Member Avatar for pritaeas
0
143
Member Avatar for wahrusakiki

Greetings everyone, My name is Tommy, Based on the tutorial codes written by hol.sten ([url]http://user.services.openoffice.org/en/forum/viewtopic.php?t=3490&f=45[/url]), i've tried to write similar codes for the same purposes, but with an added complexity. I encounter quite a problem when i tried to export the Ooo calc ods file. The problem lies in one …

0
82
Member Avatar for techza

Hi, I need some help in xslt. I am trying to develop a xslt , I have pasted the short format of all 3 files below, The Input xml file. The xslt and output xml. I will be very great full If anybody can help. I have tried everything but …

0
66
Member Avatar for Ranhiru

Im writing a Grease Monkey script to beautify one of the websites i use! It is a bit messy with all the anchor <a> tags underlined! I want to set the text-decoration to none in links with href to the same website. That means all links connecting to external websites …

0
61

The End.