XML到HTML页面 [英] XML to HTML page

查看:99
本文介绍了XML到HTML页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以帮我转换下面的XML到HTML页面吗?

Could someone please help me convert the following XML to HTML page?

展开 | 选择 | Wrap | 行号

推荐答案

如何你想要你的HTML看起来像?如果你能回答它应该很容易将xml内容弯曲成html形状。


问候
how do you want your html to look like? if you can answer that it should be easy to bend the xml content into html shape.

regards



你想要你的html看起来怎么样?如果你能回答它应该很容易将xml内容弯曲成html形状。


关于
how do you want your html to look like? if you can answer that it should be easy to bend the xml content into html shape.

regards



感谢您的支持答复。我正在寻找一个XLST,它会将xml转换为HTML页面,看起来应该像谷歌页面的搜索结果。


谢谢

Thanks for your reply. I''m looking for an XLST which will transform the xml to a HTML page that should look like the search results from a google page.

Thanks


看起来相当容易。你的xml目标是(imho)< URL> (link, - >< a>),< snippet> (descr。, - >< p>)和< title> (标题, - >< h2>)。只需将其循环播放< item>用CSS调整它的样式。


如果你不确定如何把它放到代码中,我推荐一个教程


问候
that seems rather easy. your xml targets are (imho) <URL> (link, -> <a>), <snippet> (descr., -> <p>) and <title> (title, -> <h2>). just loop it over <item> and style it appropriately with CSS.

if you''re uncertain how to put that into code, I recommend a tutorial.

regards


这篇关于XML到HTML页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆