XML-在xslt中添加链接的方式的代码分享

黄舟
Release: 2017-03-25 16:34:51
Original
2499 people have browsed it

可不要小看了这个问题,我们一般是这么样理解的:如果要添加一个链接,那就用这个标记吧,例如

但是,这样的语法是行不通的,因为有多个双引号,互相干扰了。

那么怎么解决该问题呢?应该用下面的语法

也就是说,用一个attribute的方式,特别来引用一下href这个属性,并为其赋值

然后,我们在页面上看到的效果就类似下面这样

1282.png

The above is the detailed content of XML-在xslt中添加链接的方式的代码分享. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact [email protected]
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!