[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] Xsl:param from PHP to html
Subject: RE: [xsl] Xsl:param from PHP to html From: "Alan Hale" <alan.hale@xxxxxxxxxxx> Date: Sat, 14 Apr 2007 13:01:11 +0100 |
Thanks David for this, and you are correct in your interpretation of what I was trying to do. But there is still a problem and I think it relates to my use of the header <html xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xsl:version='1.0'> I don't think the parameter gets passed from PHP using this header. With <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html"/> The parameter DOES get passed. However, my HTML is not recognised. I know this is basic stuff, but could someone explain to me how to use the latter header and get the html tags recognised outside of a template? Many thanks Alan Hale > -----Original Message----- > > This is a FAQ, $SORTBY is a global parameter so it will have > the same value throught the run so > <xsl:sort select = "$SORTBY" > is sorting on an equal value, so no sort at all happens. > > XSL variables hold values not unevaluated expressions. > You probably meant to select an element with name equal to > teh string value of $SORTBY, which is > > <xsl:sort select = "*[name()=$SORTBY]" > > David > > -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.4.0/760 - Release Date: 13/04/2007 20:04
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Xsl:param from PHP to htm, David Carlisle | Thread | RE: [xsl] Xsl:param from PHP to htm, Alan Hale |
RE: [xsl] saxon:evaluate and extern, Scott Lynch | Date | RE: [xsl] check the type of the $pa, Philip Vallone |
Month |
Keywords