[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
RE: [xml-dev] What is the correct terminology for an element andits namespace?
- From: "Costello, Roger L." <costello@mitre.org>
- To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
- Date: Mon, 28 Mar 2011 18:39:25 -0400
Hi Ghislain,
Yes, I understand. Thanks!
It's interesting. XSLT expresses things in terms of QNames, local names, and expanded names, whereas XML Schema expresses things in terms of properties. Why the differences?
/Roger
-----Original Message-----
From: Ghislain Fourny [mailto:gfourny@inf.ethz.ch]
Sent: Monday, March 28, 2011 5:25 PM
To: Costello, Roger L.
Cc: xml-dev@lists.xml.org
Subject: Re: [xml-dev] What is the correct terminology for an element and its namespace?
Hi Roger,
In order to be more precise about the terminology: I should have said a qualified name with a local part (not name) "Publisher".
The local name (being the local part of the qualified name) and the namespace name (being the namespace, if any, that the prefix of the qualified name has been resolved to) are together an expanded name. But in documents, expanded names are not used directly, instead qualified names are used.
Does it make sense?
Kind regards,
Ghislain
> (f) the element's name is a qualified name (QName) with a local name "Publisher", a namespace "http://www.book.org" and an empty prefix
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]