Avatar of kirin0
kirin0
 asked on

Using XSLT to perform a "script" include

I am pretty new to XSLT and am trying to convert a dynamic HTML page which was previously generated in PHP.  I need to implement the line:

 <script src="<xsl:value-of select="ScriptUrl" />" language="javascript"></script>

But am getting the error "SAXParseException: A '<' character cannot be used in attribute 'src', except through < (tunkey.xsl, line 41, column 23)"

Is there any way to achieve this?
Web Languages and Standards

Avatar of undefined
Last Comment
Gertone (Geert Bormans)

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Gertone (Geert Bormans)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy