Sorry for bothering you. I have a problem with XLST. I have everything fixed except the usage of functions in XSLT.
I have this code, which transforms an XML feed into a table of information. It uses dates as the main part. However, i cant seem to get name of date right.
I have this template which i would like to include:
Could you post a new separate forum post for this? It's much better than posting additional questions in posts that have already been solved (or relates to a different problem).
Also: You should post a little more details - e.g., I'm not even sure how I can get the "page number" you're referring to (are they the first and second children of $currentPage in a standard macro, or how are you executing the XSL-FO ?)
XLST Get Name of Day
Hey Guys,
Sorry for bothering you. I have a problem with XLST. I have everything fixed except the usage of functions in XSLT.
I have this code, which transforms an XML feed into a table of information. It uses dates as the main part. However, i cant seem to get name of date right.
I have this template which i would like to include:
However, i can't figure out how to include this:
Could anyone help me?
Kind regards, Magnus
Bump
Hi Magnus,
The code you're trying to include is XSLT 2.0 code which isn't supported by .NET (and thus not usable in Umbraco).
You should, however, be able to use the
FormatDateTime()
function to get the day name - something like this:IIRC, it will use the current locale so you'll get localized day-names if you're working in a multisite solution.
Hope that helps,
/Chriztian
Hi Chriztian,
I want my company logo to print in first and second pages on left top in header.
I used the below code and made the company logo to print in first page and rest of the pages.
But I want my logo to print only in first and second pages and not in rest of the pages
Could you please help me out.
Hi Joshua,
Could you post a new separate forum post for this? It's much better than posting additional questions in posts that have already been solved (or relates to a different problem).
Also: You should post a little more details - e.g., I'm not even sure how I can get the "page number" you're referring to (are they the first and second children of
$currentPage
in a standard macro, or how are you executing the XSL-FO ?)/Chriztian
Hi Chriztian,
Its already been posted in Forum Topic 'Xslt' But I haven't got any perfect replies.
I have explained in it.
Could you please have a look in it.,So I can explain you with more clarity.
is working on a reply...