• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

xsl,xml

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am facing some crazy error while converting xml,xsl into HTML.
First I have included code in my xsl file
<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
and it is working fine.
For same xsl file when I include below code,
<xsl:stylesheet version="1.1"
xmlns:xsl="http://www.w3.org/1999/xsl/Transform"
xmlns="http://www.w3.org/TR/REC-html40">
for converting into HTML.
Now no xsl related stuff is executing.
Can u anyone please tell me what is magic in this namespace.
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your name "prathap" does not comply with the JavaRanch naming policy. Please spare a moment and re-register with a name that meets the requirements.
Thanks!
 
Leverager of our synergies
Posts: 10065
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> is namespaces used by old versions (below 3.0) MSXML XSLT processor, shipped with Internet Explorer. "http://www.w3.org/1999/xsl/Transform" is currently standard namespace, but I believe old versions of MSXML may not recognize it
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!