• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

xml namespace

 
Ranch Hand
Posts: 386
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">


This is the second line of the xsl styleshhet I am creating. Now, do I need to install this namespace document on my server in order to use it ?
If yes, from where can I download or install it ?
If no, then how will the server understand what a particular tag means ?
If I am using few tags which arer in different namespaces, do I need to al of them on server in order to use the tage specified in them ?

thanks
 
Sheriff
Posts: 26779
82
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There's no such thing as a "namespace document". A namespace URI is simply a string of characters. Typically it appears to be a link to a web page but it isn't one. It's just a string of characters. XML parsers won't treat it as a link.

You're asking how the server will recognize what an element in that namespace means? Well, it won't. But if -- in the example you posted -- you have an XSLT transformer process that document, it's designed to know what elements in that namespace mean. Other software won't be designed to know that and hence won't be able to understand them.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic