FMWebschool Posted March 20, 2007 Posted March 20, 2007 I have been working mainly with PHP lately and am wondering if any of you XML wizards know this - I'm trying to query the URL used to access a XSL file hosted under FMSA 8v4. I want to look at the current URL and if the 'www' is specified, then do something. The same xsl page accessed without the 'www' prefix will do something slightly different... I tried some variances of this ... but this is not working. Perhaps it is not possible to use a javascript constant (window.location...) inside xslt!? Thanks for any help!! In Kindness Stephen Knight
Martin Brändle Posted March 20, 2007 Posted March 20, 2007 Stephen, this can't work. JavaScript is executed client-side, after the stylesheet has been processed server-side. How you can use JS server-side: See p. 76 of the FMSA CWP manual.
FMWebschool Posted March 20, 2007 Author Posted March 20, 2007 Hi Martin, Thank you for your answer Thank you, I was actually posting this for a friend from our forum. http://fmwebschool.com/frm/index.php?topic=906.0 I don't do a lot with XML anymore, mostly PHP work now. If you find it in your heart to do so, stop by our forum - there are plenty of people with XML questions They would be glad to hear from you! In Kindness Stephen Knight
Recommended Posts
This topic is 6456 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now