[Home] [By Thread] [By Date] [Recent Entries]
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] |

Cart



