From: Barry de la Rosa <baz@xxxxxxxxxxxxx>
Date: Mon, 30 Jul 2001 16:28:00 +0100
I've been lurking for a little while now and haven't found anything that
might help me with this problem. Please excuse me if it's trivial, but
I'm very new to XML/XSL.
We use a Perl-based templating system called PHtml to process HTML
pages. We are currently planning a transition to XML/XSL and I am trying
to convert our current pages. They mostly consist of separate 'objects'
that are pulled together using PHtml to form complete HTML pages.
So far I have had success converting each object into two files - one
that uses the exisiting PHtml to output XML, and the other consisting
solely of XSL. Eventually I will have a large XML file that has been
output by the PHtml process, against which I can run a separate XSL file
that calls all the other XSL 'object' files.
I have come up against a brick wall trying to work out how to convert
the following code:
var SSheet = "";
SSheet == "Mac";
document.write("<link href=\"<$ [.URL.CSS_ROOT]>/nndi" + SSheet +
".css\" rel=\"stylesheet\" type=\"text/css\">");
"<$ [.URL.CSS_ROOT]>" is a variable that is normally processed by PHtml
and replaced by the correct path info. However, using the new system, I
now have an XML file that contains the element:
...and I need to pass this instead. Can anybody help?
Barry de la Rosa
Barry de la Rosa
Senior Technology Engineer
NewsNow Publishing Limited
Tel: +44 (0)20 7471 0400
Receive fast updating news about
your company, competitors, industry,
products, clients & prospects
Possibly the world's most popular
news portal web site
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list