In this example you pass in a parameter element. I have multiple nested tables. Can I go through all the tables and all the rows and all the cells and the cell matching the value will hide the parent table?
I have this piece of JavaScript (Below), which is called from a html page to hide or unhide a row below the one where the script is called from (if that makes sense). I want to adapt the code so it will go through the document and hide/unhide any row that contains a certain value. Is this...
U will need to make an xsl file containing something like:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<div class="GREETING"><xsl:value-of select="GREETING"/></div>
</xsl:template>
and change the xml header to...
Pardon my ignorance but what is the importance of the XSL header. I’ve looked at examples, one quoted ‘<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">’
and another used
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">...
I adapted your above example to create:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">;
<xsl:template match="/">
<html>
<head>...
Its ok I've solved it. The code i used was:
<H3><A><xsl:attribute name="href"><xsl:value-of select="MODULE"/> - <xsl:value-of select="HEADING"/>().xml</xsl:attribute><xsl:value-of select="HEADING"/></A></H3>
Quite simple after all of that
When I used the <xsl:variable> function, internet explorer showed an error saying 'keyword xsl:variable may not be used here' in the below example:
<xsl:template match="SUB_HEADING">
<xsl:variable name="DocName"><xsl:value-of select="MODULE"/> - <xsl:value-of...
Sorry i changed it to:
<xsl:template match="SUB_HEADING">
<A href='&l t;xsl:value-of select="MODULE"/&g t;.xml'><H3>Sub Heading:- <xsl:value-of select="HEADING"/></H3></A>
</xsl:template>
without the spaces in &l t; + &g t;
I changed the code to:
<xsl:template match="SUB_HEADING">
<A href='<xsl:value-of select="MODULE"/>.xml'><H3>Sub Heading:- <xsl:value-of select="HEADING"/></H3></A>
</xsl:template>
When I hovered my mouse over the link it says...
I have a XSL template I’m creating and I want to insert a link to another web page. The name of the page is obtained from returning a value from an XML node.
I have tried both:
<xsl:template match="SUB_HEADING">
<A href="{concat(value-of select='MODULE',' - ',value-of...
I want to create a single web page viewable by Internet Explorer from several XML files. I intend to use XSL style sheets to create and format the document from multiple source files. I would like Internet Explorer to compile the page on-the-fly
(e.g...
I just put up a post but I think I may have made it too complicated. I want to access information in a field in a table. I have a recordset and I know I can get its value by using the form recordset!field e.g myRecord!Name for the ‘name’ attribute. I was just wondering how you referenced it when...
I’m sure the answer for this is really simple. I've got a table which holds the paths to standard letters. The code I’ve produced already opens the file, uses text stream to get the contents. The texts are in the form “text <<reference to a field>> text”
e.g.
Dear <<Contact Name>>,
Thank you…...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.