[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Variable construction: Afterthought...
I don't see why you needed to change the subject for this. Ah well, I'm just picky about that I guess. Of course, I also am not sure where you are even having difficulty. You mentioned it's in an external document. Are you having trouble getting the url from the other document? See docuemnt(). But despite that comment your approach looks like you are just directly putting the text into the variable. Not sure why you're having problems with this. > Would it be better to do it this way: > > <xsl:variable name="helpUrl" > select="http://info.uwe.ac.uk/myuwe/myMarks.asp"/> Why ask? It seems simple enough to just try. What happens? It'll fail most likely since you're giving xpath a raw text string which it will try to proces. Instead try <xsl:variable name="helpUrl" select="'http://info.uwe.ac.uk/myuwe/myMarks.asp'"/> (there is an extra set of qutoation marks). or even <xsl:variable name="helpUrl">http://info.uwe.ac.uk/myuwe/myMarks.asp</xsl:variable> Is there something I'm missing? Jon Gorman
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|