This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
namespace problem
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] namespace problem
- From: "何杭军" <sameulhe at 163 dot net>
- Date: Sun, 22 Apr 2001 12:41:31 +0800 (CST)
- Reply-To: xsl-list at lists dot mulberrytech dot com
hello,everyone,who can explain this problem to me:
I got an xml file with namspace
<?xml version="1.0" encoding="gb2312"?>
<?xml-stylesheet type="text/xsl" href="sortsample.xsl"?>
<a:bookinfo xmlns:a="http://www.example.com/catalog/">
<a:books>
<a:book>
<a:ISBN>069-1300886</a:ISBN>
<a:Name>简明文化常识</a:Name>
<a:Press>武汉出版社</a:Press>
<a:Price>10.50</a:Price>
<a:PublishDate>1999-10-01</a:PublishDate>
<a:Author>Defi.W</a:Author>
<a:Author>张飞</a:Author>
<a:Qty>1000</a:Qty>
</a:book>
</a:books>
</a:bookinfo>
then how should i write proper XSLT file to retrieve information from this document?
Addtion:
if i use defaul namespace as xmlns="http://www.example.com/catalog/>",
how should i do same thing as above?
Thanks
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list