当前位置: 动力学知识库 > 问答 > 编程问答 >

Create Sitemap XML and sub xml tree

问题描述:

Trying to create a sitemap.xml which has a sub sitemap list along with Hyper-link to the sub sitemap.

I tried following method as given below:

1) <url xmlns:xlink="http://google.com">http://google.com</url>

2) <url href="http://google.com/category.xml">http://google.com/category.xml</url>

Both are not working.

I tried to include a href Attribute too

<url><a href="http://google.com/category.xml">http://google.com/category.xml</a></url>

but this one shows as

<a href="http://google.com/category.xml">http://google.com/category.xml</a>

how make a click-able hyper-link in XML file?

分享给朋友:
您可能感兴趣的文章:
随机阅读: