[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Timothy Lepczyk" <tlepczyk@w...>
  • To: "Michael Kay" <mike@s...>,"Anne Thomas Manes" <atmanes@g...>
  • Date: Tue, 11 Dec 2007 13:56:58 -0600

I've been going through the XML Namespaces and am wondering if this will
work?


<fgdc xmlns:fgdc="http://www.fgdc.gov/metadata/csdgm/index_html">
...
</fgdc>

Thanks,

Tim Lepczyk



-----Original Message-----
From: Michael Kay [mailto:mike@s...] 
Sent: Tuesday, December 11, 2007 12:26 PM
To: 'Anne Thomas Manes'; Timothy Lepczyk
Cc: xml-dev@l...
Subject: RE:  The prefix "fgdc" for element "fgdc:fgdc" is not
bound

> or if you prefer to make it clear to readers of the document 
> that these elements come from the FDGC metadata standard, you 
> can assign the fdgc prefix to no namespace:
> 
>           <fgdc:metadata xmlns:fgdc="">
>              ...
>           </fgdc:metadata>
> 

Sadly, no. XML Namespaces 1.1 allows the syntax xmlns:fgdc="", but it
doesn't bind the prefix fgdc to the
namespace-that-dare-not-speak-its-name,
rather it makes the fgdc prefix unavailable for use.

Michael Kay
http://www.saxonica.com/


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member