Error(or not?) to view link in html from .xsl file

This section can be used to submit suggestions for Extension Builder.
Note that this section is not monitored for support.
Forum rules
This forum section can be used to submit suggestions for Extension Builder.
Note that this section is not monitored for support.
Post Reply
User avatar
Dragos
 
 
Posts: 214
Joined: Tue Sep 04, 2018 7:08 am

Error(or not?) to view link in html from .xsl file

Post by Dragos »

Hi
I have extension to use file.xsl.
The output method is html.
When i write directly in xsl :

Code: Select all

<p class="link">For more information  follow <a href="http://www.mywebsite.com" target="_blank">this link</a></p>
all work correct. But when i change text and link with variable from extension and use edit property hyperlink box like:

Code: Select all

<p class="link"><xsl:value-of select="LINK" /></p>
when link was entered manually from the extension like:

Code: Select all

For more information  follow [url]this link[/url].

the link doesn't work.
In the source of the web page, all the signs in the link appear coded.

Code: Select all

<p class="link">&lt;font style="color:#000000;font-family:MS Shell Dlg;font-size:16px"&gt;For more information  follow &lt;a href="http://www.mywebsite.com"&gt;this link&lt;/a&gt;&lt;/font&gt;</p>
Do you have any suggestion?
Thank you very much.
User avatar
Pablo
 
Posts: 21577
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Error(or not?) to view link in html from .xsl file

Post by Pablo »

There is no support on creating extensions.
But this is not directly related to Extension Builder.
It is related to how XSL templates work.
https://www.w3schools.com/XML/xsl_elementref.asp
User avatar
Dragos
 
 
Posts: 214
Joined: Tue Sep 04, 2018 7:08 am

Re: Error(or not?) to view link in html from .xsl file

Post by Dragos »

But is it possible to remove the font color and size from Edit/Rich text or HTML Boxtext?
Whay when publish page all signs from link are encode in Html my xsl have output method="html"
User avatar
Pablo
 
Posts: 21577
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Error(or not?) to view link in html from .xsl file

Post by Pablo »

Sorry, that is not possible.
Post Reply