Advertisement

635 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%

 

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

 
Time Tested XSLT Solutions: 151 - 175 of 472
 
Hi all, I have an XSLT file which recursively goes through an XML file and replaces certain strings/characters to provide the required output. I have another XML file which contains the rep...
If I have the below:                     <xsl:if test="CATSubject">                         <xsl:value-of select="CATSubject" />                     </xsl:if>                     <xsl:if...
Hi, the snippet below calls data and sorts it by date.  How would i go about limiting the results to show only the ten latest?
This is our development site http://afdnndev.amazingfacts.org/store/entity/tabid/265/c-5-dvds.aspx As you can see the links at the top are repeating 4 times instead of displaying each differe...
Have the following problem, its more of a syntax/grammar issue than a problem. but the idea is that you have a case statement that gives you the node then you do the for each that outputs it. ...
I have been searching for an approach to using XSLT and PHP. I want to extract my data from the database and convert it to XML (using XML_Query2XML). I have several elements that I want to cre...
I need to add a dropdown box with values 123,234,235 using XSL.How do i do it?
When I use <xsl:value-of select="$currentTerm"/> and the text string is long, I get some thing like: asdfasdf sadfasdf asdfasdf asdfasdf asdf 1-2 What I want is the second line indented...
Hi guys, Ive automated a web application using a tool called QTP. This tool provides results of a test run to the screen after a particular run. You can then export these results to a word ...
I am attempting to create my own XSL Stylesheet for an XML table. (The table is actually a "user defined table" residing on a dotnetnuke website). Almost everything is working very well.  H...
Hi i want to prefix namespace as ns0 , my procedure is &i have one xml schema file, that schema file i am adding in word 2003 using xml sturture panel. now from that xml schema i am adding...
/Root/Object/GeneralData/Keyword[Characteristic='ZPDB_BITS' and Value = '16'] and ( /Root/Object/GeneralData/Keyword[Characteristic = 'ZPDB_STATUS']/Value = 'MP' or /Root/Object/GeneralData/...
<xsl:for-each select="//results/errorpages/page[@error = $errorID]">  <xsl:variable name="errorpageid" select="."/>  <xsl:if test="count(//results/page[@id = $errorpageid and @error = $error...
Hi all, We're at the end of doing a design for a .NET web application. We need to be able to create pdf reports for the user of the results that the system generates. So the end user is enter...
Dear Experts, I have an xslt page with formats my 3rd party xml file.  This works nicely as you can see from the code below.  However, If you look at the xml "summary" section, you will not...
I have a very large XML (abt 50 Mb in size). Need to comment out specific nodes out it e.g (Address, Education info) etc. I am an newbie in XSL transformation and need to get to this pretty q...
I'm attempting to use Saxon-B with C#/.NET. string xhtml = "<?xml version=\"1.0\" encoding=\"utf-8\"?>"  + "<html _xml3a_lang=\"en\" lang=\"en\" xmlns=\"http://www.w3.org/1999/xhtml\">"  ...
I have created a XSLT transform to add a new attribute to hundreds of existing XML files.  I find that the name space for the XML files is xmlns="http://www.S4iSystems.com". My transform will ...
Hi experts, I have the following xml file: -------------------------------------- <?xml version="1.0" encoding="UTF-8"?> <RootCircle  version="1.0">   <Square  size = "m">     <myExten...
Is there a way to put the value of an xslt variable into an attribute of the html into which your transforming the xml? For example, <xsl:variable name="hrefLink" select="hrefLinkNode"/>...
Hello Expert, Found few more errors which needs to rectify in xslt code... Something like... 1. XPST0003: XPath syntax error at char 61 on line 86 in {...(),'EEE MMM d yyyy, h:mm a .....
Hello Experts, I have an issue with substring-before() using xslt2.0 saxon9. the below line of code throws an error... <xsl:if test="substring-before(prolog/asMetadata/apiVersion/apiPla...
Hi, I have the following XSL code, but how do I limit the rows to a maximum of 5?
Hello Experts, Is there any way to remove CR/LF from output html file. Can you please suggest xslt code for this. Thanks, Shailesh
I wanted to know whether it would be possible to apply namespace prefix to all the nodes within a given xml? For example I want to convert the following xml <head> <child1> </child1> <...