Riddle with "href".

Posted by kalininew on Stack Overflow See other posts from Stack Overflow or by kalininew
Published on 2010-04-19T08:22:02Z Indexed on 2010/04/19 8:33 UTC
Read the original article Hit count: 527

Filed under:
|

Mysticism.

I use XSLT for reception of the address for the reference.

<a href="{element/url}"/>

In XML i have:

<element>
    <url>www.mysite.ru</url>
</element>

As a result on page I receive:

<a href="www.currentsite.ru/cursection/cursubsection/www.mysite.ru"/>

That is: in the beginning there is an address of a current site (the address of current section where we now are), and then there is a reference to an external site.

There can be it any problem with metatag BASE?

In what a trouble?

© Stack Overflow or respective owner

Related posts about xslt

Related posts about href