Hello All,
I am using Norman Walsh's XSLTs to transform some DocBook XML content to HTML.
However I noticed that Norman Walsh's DocBook XSLT includes the following tag in the transformed document:
<meta xmlns="http://www.w3.org/1999/xhtml" ......
I think the XML Namespace can only be declared in <html/> tag for e.g.:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> is the correct way to declare the namespace.
<meta xmlns="http://www.w3.org/1999/xhtml" ...... is what Norman Walsh's XSLT produced, which I think is incorrect. I might be wrong.
Before I submit a bug-report to OASIS, I just to make sure that I m not missing something. Let me know if I am wrong about xmlns declaration.
Here are some sample documents transformed from DocBook XML to HTML using Norman's XSLTs: http://www.xml-dev.com/blog/#88
Thanks.
Saqib Ali
I am using Norman Walsh's XSLTs to transform some DocBook XML content to HTML.
However I noticed that Norman Walsh's DocBook XSLT includes the following tag in the transformed document:
<meta xmlns="http://www.w3.org/1999/xhtml" ......
I think the XML Namespace can only be declared in <html/> tag for e.g.:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> is the correct way to declare the namespace.
<meta xmlns="http://www.w3.org/1999/xhtml" ...... is what Norman Walsh's XSLT produced, which I think is incorrect. I might be wrong.
Before I submit a bug-report to OASIS, I just to make sure that I m not missing something. Let me know if I am wrong about xmlns declaration.
Here are some sample documents transformed from DocBook XML to HTML using Norman's XSLTs: http://www.xml-dev.com/blog/#88
Thanks.
Saqib Ali