Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
1 Endorsement
Ranked #856
Ranked #1K
~73.4K People Reached
Favorite Tags
Member Avatar for himit

I am trying to convert 1 XML into another and want to increment the variable as many times the loop executes. XML Code- [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> <company>Columbia</company> <price>10.90</price> <year>1985</year> </cd> <cd> <title>Hide your heart</title> <artist>Bonnie Tyler</artist> <country>UK</country> <company>CBS Records</company> …

Member Avatar for Balakumar_1
1
15K
Member Avatar for rat1973

I am new to XSLT. I am trying to transform one XML document to another. My first step is to try an do a really simple example. I want to see the results to my simple example in a browser, but neither IE7 or Firefox is not returning the results …

Member Avatar for Krishna_30
0
10K
Member Avatar for wani_raj

I want to write a program which simulate the behaviour of CSMA/CD protocol over Ethernet.

Member Avatar for ryu_hemt_always
0
2K
Member Avatar for Kruddler

I am doing a school assignment. One of the problems I have is to add a duration on to an existing date. I can't find any support for this problem with standard XSLT. So, I had a stab at using EXSLT which has an add method to do exactly what …

Member Avatar for fpmurphy
0
364
Member Avatar for dark3lf

Hello, I have a script written the unix shell language (NOT in bash or any other shell, in sh) that prints the mount point of a given usb (i.e, it takes the path of a usb (such as /dev/sdb1) as an argument). Here it is: [CODE] #!/bin/sh # usage: get_mount …

Member Avatar for thekashyap
0
196
Member Avatar for ilyaz

Suppose I have the following collection of "word" elements: [CODE] <word> <id>1</id> <text>My</text> </word> <word> <id>2</id> <text>name</text> </word> <word> <id>3</id> <text>is</text> </word> <word> <id>4</id> <text>Joe</text> </word> [/CODE] Given an integer ID value, in order to find the corresponding TEXT, I can do this: [CODE] <xsl:key name="word-by-id" match="word" use="id"/> return key('word-by-id', …

Member Avatar for fpmurphy
0
137
Member Avatar for chou73

hi all, please can u help me, it's urgent and i'm working on it about 5 days without result i have a xml file: [CODE] - <Menus> - <UsersMenu> <ID>1</ID> <Text>Button1</Text> - <UsersMenu> <ID>2</ID> <Text>B1I1</Text> <link>template.aspx</link> <parent>1</parent> </UsersMenu> - <UsersMenu> <ID>3</ID> <Text>B1I2</Text> <parent>1</parent> - <UsersMenu> <ID>6</ID> <Text>B1I2I1</Text> <link>template.aspx</link> <parent>3</parent> </UsersMenu> …

Member Avatar for chou73
0
211
Member Avatar for programmer321

[code] Can any one guie me how to find yesterday's date (taking care of the leap years as well)in the format yymmdd using a shell script. Regards. [/code]

Member Avatar for cfajohnson
0
3K
Member Avatar for achava

Another total Nuby collection. I have an xml file from which I wish to eliminate all elements that have any attributes at all. All I really need to do is eliminate the contents of the attribute. How do I do this? My plan is to start with <xsl:template match="Contains an …

Member Avatar for fpmurphy
0
132
Member Avatar for glfnute

This is the usual "I'm new to XSLT and need help" plea ... I am trying to parse an XML document and create a "like" structure as output while performing some mapping functions. In trying to produce the output structure, I cannot seem to figure out how to get at …

Member Avatar for fpmurphy
0
118
Member Avatar for hanuinfy

Hi, I am new to XSLT, Please helo me in transforming the XML to XML transform I have XML like this <products> <product> <display value="32" /> <count value="0"/> </product> </products> Through XSLT I need to convert it like this <products> <product display="32" count="0"/> </products> Please help me out. This is …

Member Avatar for fpmurphy
0
239
Member Avatar for reeves14

Need help counting the # of days between two dates (ex: 1/2/10 and 1/24/10) Better yet, the # of hours would be a great alternative.

Member Avatar for iceandrews
0
150
Member Avatar for techie929

How Can I fetch the tag name of the below xml file only once,without use of getElementByTagName. Like I have to display the XML as an HTML table.So the headings of the table would be COMMON BOTANICAL ZONE LIGHT PRICE AVAILABILITY I am getting tag name for all child nodes. …

Member Avatar for fpmurphy
0
100
Member Avatar for RickW

I have this output from a mysql export: [code] <?xml version="1.0"?> <resultset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" statement="select product as sample,count(*) as count from table1 where itemno in (5,10,37) and type='food' and package='boxed' group by package,product order by count(*),product desc limit 5 "> <row> <sample>cereal</sample> <count>1</count> </row> <row> <sample>macaroni</sample> <count>1</count> </row> <row> <sample>cookies</sample> <count>2</count> …

Member Avatar for RickW
0
164
Member Avatar for keeda

Need help with following date conversion: I have my dates as 08/02/2010 and I want to convert into 8/2/2010, incase date is 18/12/2010 I want to be same way. Please guide me.

Member Avatar for cfajohnson
0
75
Member Avatar for k.e.v

Hi everybody, I need to take an xml file and remove 2 certain namespaces from it using XSLT("scrubbing metadata"). Also, I believe I would need to use the Transformer class in combination with the XSLT. Can someone help me out? Possibly giving me an example with namespace "A" and namespace …

Member Avatar for k.e.v
0
130
Member Avatar for himit

Hi, I've an XML document and I am creating another XML using XSL. I need to check some specific conditions and for that I want to use Javascript in my XSL. I tried it, however, couldn't get the desired result. As I could not change the XSL variables frequiently so …

Member Avatar for fpmurphy
0
253
Member Avatar for renoua

Hello, I have a xml file which has 106 books.. I xsl tranformed it and here: [CODE]<xsl:value-of select=" bioghist/bioghist/chronlist/chronitem/date"/> [/CODE] is the date every book was created with that format: ddmmyyyy how can i add slashes? and make it like that dd/mm/yyyy ?? thanks in advance :)

Member Avatar for awofesof
0
3K
Member Avatar for faby

Hello everyone, I am presently working on speech synthesis/speech to text on Ubuntu 10.04. So far I've been using festival but I discovered espeak which is also cool by reading other people's previous questions and answers. My main goal is to develop a communication system whereby festival or espeak can …

Member Avatar for fpmurphy
0
622
Member Avatar for sdr001

Hi I need to read a xml file once placed in a directory and write it to another file to retrieve the contents in the file. This needs to be done automatically. I know c++ and how to read,write, and open files with c++. Can this be done using c++ …

Member Avatar for fpmurphy
0
69
Member Avatar for khess

It was exactly one year ago today that I published my original "[URL="http://www.daniweb.com/news/story219749.html"]The 10 Best Linux Distributions[/URL]" and it's time to put forth a new list for this year's best. Without looking at the old list, I've decided to compile this one from scratch. This 2009 list takes several factors …

Member Avatar for sameer5151
1
4K
Member Avatar for ajwei810192

Hi, I have an XML snippet as in the following: [CODE]<music_songs> <song> <title>(I Just) Died In Your Arms</title> <category>Rock</category> <album>80 Popular Hits</album> <artist>Cutting Crew</artist> <date added="03-24-2009"/> </song> </music_songs>[/CODE] Thiis is one of the songs out of 5 categories I have, and currently I use XPath expression as in the following: …

Member Avatar for ajwei810192
0
6K
Member Avatar for himit

Hi, I have an XML: [CODE] <A> <B> <C>a</C> </B> <B> <C>b</C> </B> <B> <C>c</C> </B> </A> [/CODE] and I need the output as [CODE] <X name="a"> <Y name="b"> <Z name ="c"/> </Y> </X> [/CODE] i don't know how to write the XSL for it, tried few things but couldn't …

Member Avatar for fpmurphy
0
120
Member Avatar for f_atencia

Hi all, I have 2 xsl variables (currentBillDate and lastBillDate), both having access to dates in format of yyyy-mm-dd. How can I calculate the number of days in between both days? Example: 2006-08-28 - 2006-11-06 I tried it this way but it kept giving me NaN <xsl:value-of select="$currentBilldate - $lastBillDate" …

Member Avatar for fpmurphy
0
277
Member Avatar for rb3rd

Good day! We have to push an input XML file (see format below) thru an XSLT to transform it to a regular XML which can be read by our 3rd party software. The problem is, the XSLT will only store 1 set of "Identifier" and its subsequent "Quantity" values. I …

Member Avatar for rb3rd
0
140
Member Avatar for phingko

HI guys, I want to count the journals that classification is computing and published after 2000 this is my xml structure [CODE] <journal> <title classification= "computing">Approaching digital equity: is wifi the new leveler &</title> <authors> <author> <surname>Middleton</surname> <firstname>Karen L.</firstname> </author> <author> <surname>Chambers</surname> <firstname>Valrie</firstname> </author> </authors> <journalName>Information Technology & People</journalName> <volume>Vol. …

Member Avatar for fpmurphy
0
88
Member Avatar for veroniclake

Hi, I am trying to write Japanese to a XML file generated through java. i am trying to write "日本語" to the XML But the generated XML is showing "???" instead of Japanese characters. [CODE]<?xml version="1.0" encoding="ISO-8859-1"?> <Project>???</Project> [/CODE] How to overcome this problem. i need your help desperately.

Member Avatar for fpmurphy
0
99
Member Avatar for awk

This is my first attempt at creating my own RSS feed but I can't seem to make it valid through [url]http://validator.w3.org/feed/check.cgi[/url] The issue is that it doesn't appear like the & character in <link> or <guid> For example: [url]http://www.example.com/?mode=viewpage&page=34324[/url] How can I get this to work? I'm feeling very puzzled.

Member Avatar for fpmurphy
0
120
Member Avatar for IdanS

Hi guys, I have built xsd for my xml. Everything is working ok, but now I need to add support to the XML that a specific attribute will be unique. The attribute that I need it to be unique is the "Id" attribute of the "Test" element, you can find …

Member Avatar for IdanS
0
101
Member Avatar for soumya_mjmder

Hi..i am new with xml and xsl. I have the input xml as: <?xml version="1.0" ?> <Employee> <EmployeeDetails EmployeeName="JohnnyWalker" EmployeeId="12345" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> </Employee> -------------------------------------------- I want the output xml as: <Employee> <EmployeeDetails JohnnyWalker="12345" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> </Employee> i need to do this using xsl.....can anybody …

Member Avatar for fpmurphy
0
2K