这是当前页的XML,你那个工具怎么提示?
<?xml-stylesheet type='text/xsl' href='/expert/Xsl/2.xsl'?>
换成
<?xml-stylesheet type="text/xsl" href="/expert/Xsl/2.xsl"?>
看看<?xml version="1.0" encoding="GB2312"?>
<?xml-stylesheet type='text/xsl' href='/expert/Xsl/2.xsl'?>
<Topic>
<Issue>
<PostUserNickName>熟读唐诗三百首</PostUserNickName>
<rank>三级(初级)</rank>
<ranknum>user3</ranknum>
<credit>       100</credit>
<TopicId>   2945663</TopicId>
<TopicName>关于XML和Xslt的问题,有空的进来帮个忙</TopicName>
<PostUserId>642653</PostUserId>
<PostUserName>mistjin</PostUserName>
<RoomName>Web 开发 PHP</RoomName>
<ReplyNum>2</ReplyNum>
<PostDateTime>2004-04-09 15:22:23</PostDateTime>
<Point>30</Point>
<ReadNum>0</ReadNum>
<RoomId>303</RoomId>
<EndState>0</EndState>
<Content>下午下载了csdn的一个2.xsl和.xml一个页面
准备用PHP解析试验一下。可是xslt_process就是通不过,
错误如下:Error: XML parser error 4: not well-formed (invalid token)
找了XML的专业软件,查了一下2.xsl是良好的Xslt样式表,
那个.xml文件就不是良好的格式,回到了上面的错误,但我不知道怎么样改才
能变成良好的格式。
换句话说就是怎么样的XML能通过xslt_process的验证?????
麻烦大家了,知道详细说一下,先谢了!
</Content>
</Issue>
<Replys>
<Reply><PostUserNickName>熟读唐诗三百首</PostUserNickName><rank>三级(初级)</rank><ranknum>user3</ranknum><credit>100</credit><ReplyID>20650349</ReplyID><TopicID>2945663</TopicID><PostUserId>642653</PostUserId><PostUserName>mistjin</PostUserName><Point>0</Point><Content>自己先顶!!!</Content><PostDateTime>2004-04-09 15:20:00</PostDateTime></Reply><Reply><PostUserNickName>熟读唐诗三百首</PostUserNickName><rank>三级(初级)</rank><ranknum>user3</ranknum><credit>100</credit><ReplyID>20658654</ReplyID><TopicID>2945663</TopicID><PostUserId>642653</PostUserId><PostUserName>mistjin</PostUserName><Point>0</Point><Content>怎么没人啊!只好自己再顶一次!!</Content><PostDateTime>2004-04-09 19:59:00</PostDateTime></Reply></Replys>
</Topic>