This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
questions regd namespaces
hi
Please forgive me for this question..
( may be a bit basic)
I have an xml with a namespace declaration
eg.
<all-centres xmlns="http://www.nda-centres.com/namespaces">
and i want to out put the xmlns attribute..
It obviously is not working when i deal with it in the normal attribute way..
my questions:
1. Is xmlns treated different from a normal attribute??
2. In my case how do i output the value of xmlns??
3. How will someone benifit from using a namespace declaration??
4. In the xsl:stylesheet instruction,
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
the above namespace allows some XSL functions where as the older version
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> does not allow some
methods..
so where are these methods?? how does the processor know that the perticular
namespace doesnt contain the method or does contain the method??where does it
look for this information?
Thanks
Subbu
--------------------------------------------------------------
Sent with "Me-Mail", Boltblue's FREE mobile messaging service.
http://www.boltblue.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list