Time for your 3rd Quarter Update! Are you in the running for the 6th Annual Expert Awards? Click the link to find out.

Third Quarter Hot Shots
 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Top XSLT Solutions: 1 - 25 of 65
 
Hello. I have the following problem (described in XML comments).
Hi, I have the following xml and xsl files but I run into this error: Unknown XSLT element: result-document May I know how to get it to work? Thanks,
Hello, I am getting the following error on the line my xml is transformed: "Token StartElement in state EndRootElement would result in an invalid XML document. Make sure that the Conformanc...
Hi , I have the following XML <?xml version="1.0" encoding="UTF-8"?> <alphabets> <1>a</1> <2>b</2> <3>c</3> <4>d</4> </alphabets I want to create a xslt file in such a way that alway...
I have an input XML file of: <?xml version="1.0"?> <!-- Sample from XSLT For Dummies, by Richard Wagner -->   <scores>   <score id="1">          <film>A Little Princess</film>     <compose...
I have some .xml files which are displayed using an xsl stylesheet. They display correctly in IE, but in Mozilla I get:"Error loading stylesheet: Parsing an XSLT stylesheet failed." Anybody kn...
How do I select the firstChild or lastChild from an xml? I tried these two - temp = xml.SelectSingleNode("Items").lastChild temp = xml.lastChild I get a 'Object doesn't support this p...
This is not  getting applied. <!-- bookmark section --> <fo:bookmark-tree>    <fo:bookmark internal-destination="Data">        <fo:bookmark-title>Data</fo:bookmark-title>        <xsl:...
Hi, In below xsl: <xsl:stylesheet version="1.0"  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">  <xsl:output method="xml" indent="yes" omit-xml-declaration="yes" encoding="iso-8859-...
Hey Guys,                I have the following xslt code <xsl:choose> <xsl:when test="$parameter = 'Visibility'">      <xsl:variable name = "obs"><xsl:text>VisibilityObservation</xsl:text></xsl...
Hello, I have created a template that matches all text nodes in my document (match="text()"). I want this template to perform some search and replace on the text. For example, I want to rep...
Hello Experts: I am using the attached XSL to pull the top 2 items from an atom feed. It is all working fine except the date is showing up in this format: 2009-09-24 Can someone show ...
Hello, I am attempting to calculate Qty * Price for a set of nodes and then sum the results.  I was able to accomplish this by using the recursive method seen below. Here is the xml... ...
Hi, I want to set system time stamp in my XML, so that where ever the XML is sent it should get the receiver system time stamp when it is read. Any one can give me a simple sample code ...
I have an xslt which is processing an xml file. Simultaneously I need to read content from another external xml. I am doing this using document function. The problem is that the xslt proce...
In this instance, I know that all returned fields will have an exclamation point by default. For example: "Good Job John Doe !.txt" I would like to trim off anything after the exclamation po...
Hello, I have yet another XSLT question... When I set xsl:output method="html", I get invalid XHTML markup (unclosed META tags). When I set xsl:output method="xml", the outputted XHTML is v...
Hi Friends, I am trying to convert the HTML to PDF using Java and XSLT. In the converson process, if I have the & in the text field, the conversion works fine. But if I have the & in the text...
Hi, I am trying to remove "-" from SSN value by using "replace" function as shown below. But it is giving an error as "Missing attribute name". Basically I need to remove "-" character from ...
I am trying to pass this result to javascript method. It works fine in all browsers except firefox 3.5. Does anyone have a reason for this or a workaround. Here is the XSLT: <a id="{$var...
I'm completely new to using xsl.  I'm using a wysiwyg tool that utilizes XSL behind the scenes.  The wysiwyg editor allows you to edit the XSL and add XSL snippets to achieve more complex outp...
I have created a variable in XSLT and left it empty, like this: <xsl:variable name="cssClassName" />  I then have another variable which is assigned a letter say the letter 'A', the belo...
I am trying to create a folder structure with an XML file using XSLT through .NET ASP etc.. Then display the contents in a web browser. Here is an XML example: <catName id="Amplification...
How would I write an XSL function that overrides the standard docbook html stylesheets that would eliminate the title attribute from the div tag? Docbook is turning <title> into something like...
Hi, I am trying to learn the sort statement for XSLT from reading examples found on the Internet.  I think I understand the general syntax, but I am not sure where to put the sort and related ...