Advertisement

Experts have come up with some helpful tips for getting a solution to your problem fast.

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested XSLT Solutions: 1 - 25 of 438
 
Hi there, I am trying to get the current date in my XSLT but unavailable to achieve it. The following is an example of my XSLT using the EXSLT but it is not working.  It is complaining t...
Hi! It has been a while since I worked with XSLT, and now I have severe brain damage from switching back and forth working with JavaScript and PHP. Anyhow, I need some help with XSLT/Xpa...
How to check if string is empty or not using  <xsl:when test="t:PRACTICE_CODE = ' '"> Is the above right?
I have built a page on our Sharepoint 2007 website that uses a dataview to display data from a very basic SQL 2005 database. I have created the dataview and added 2 Dropdown menus to filter th...
We are using Oracle XML Publisher to generate PDF formatted Purchase Order Reports. We have tried Oracle Support, but haven't got anywhere, hence trying here... As part of this work, we hav...
Hiya I've got an XML file which looks as follows: <PolicyExtension>   <bCharged>false</bCharged>   <lID>5</lID>   <sDesc>text</sDesc> </PolicyExtension> <PolicyExtension>   <bCharg...
I have to compare my variable value to the value #0.0'%'(single quotes is part of the value) But obviously when i write <xsl:if test="$myvalue = ' #0.0% ' "> it is not the same as <xsl:...
I am working with large xml files (ranging from 100mb to 1GB+), thus it is not really possible to load them into memory.. and the goal is to convert these files to a csv format, but pipe (|) d...
Am using xsl to format an xml file I need to create the following string in the xsl <a href="javascript:launch_provider_error_details(xpath query here);" class="altlink">Cannot Quote</a>...
Hello Experts, Urgent!!! Urgent!!! I have an requirement for generating multiple html files based on the below inputxml which contains something like... <topic href="langref/class-sum...
Hello, I just started learning XSLT so please bear with me. Is there an easy way to format the date node below to something like "16-09-2007" removing all the extra information? I would ne...
I need to iterate through the xml file and store the value of the node number where a particular string is matched.Later i will use this number somewhere else in the xslt.How do i do it. Code...
I'm looping through a list of values and would like to capitalize the first letter of every string value but I don't know how to approach the situation. Here is what I've got: <xsl:for-each...
I have been surfing and hacking and I am definitly not a XML or XSL guy :( What I need is the ability to make the column widths "AutoFitWidth"  - Problem is I will never know how many colum...
I want to insert an element int an existing xml node as in the attached code below. The XSL file I have so far just doesn't quite work - it inserts the elements outside of the ItemSet eleme...
Hello, I have 4 XSL files that I am using to display data from one XML file. I would like to use a single XSL file that applies different attributes based on specific conditions found in...
I have the following XML: <cars>        <car>              <model>ab</model>              <colour>red</colour>        </car>        <car>              <model>ab</model>        </car>...
I want to retrieve a node via SelectSingleNode where the attribute called "Name" has a single quote in it. Here is the node I am looking for <Report Name="POWER SYSTEM'S" Type="All"></Repo...
I have an XSL file which contains many "value-of" nodes to extract data from input xml document.  However, when the select attribute value is an invalid xpath (not found in input document), th...
In this file: http://rss.wunderground.com/auto/rss_full/CO/Aurora.xml?units=both You will see a Cdata section under <description>. I would like to use all the <description> elements except...
Hi, i'm trying to check if xml elements are empty or not (only checking to see if there is text, these elements don't have children). I'm using xsl:choose to test conditions (below). i can'...
Could somebody please check this xsl sheet and tell me why I'm getting an error please?  I can't see what's wrong with it. "The stylesheet does not contain a document element. The styleshee...
Hi All, I'm trying to get my stylesheet to create a comma delimited file, with each record on a different line. However, I can't seem to get it to output carriage return line feeds (it just...
The solutions to the earlier question regarding this topic didn't help me, unfortunately.  Either they don't apply to my situation or I'm implementing them incorrectly . . . but, anyway, here ...
Can we define arrays in XSLT. If yes how. If i want to compare two lists in XSLT how should i do. Thanks suresh