Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning forum!
  • 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
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

id attribute, id element, id function, key element, key function...

 
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have seen numerous posts from people who said that the IBM Exam was tougher than the SJCP Exam. Now I agree with you! From my point of view, all of the following look and sound very similar. Who can keep all this straight!?
I did a cross reference to the topics involving ids and keys in the book "Essential XML Quick Refernce" and look what I found:
key is an XML Schema Structure, page 288. A key constraint.
keyref is an XML Schema Structure,page 288. A reference to a key constraint.
key is an XSLT Element,page 98.Declares a new key (used with key function).
key() is an XSLT Function,page 149. Returns the nodes that have the specified key value.
ID is an XML DTD Structure,page 21. A name that is unique within the document.
IDREF is an XML DTD Structure,page 22. A reference to an ID value in the document.
IDREFS is an XML DTD Structure,page 22. A space-delimited list of IDREF values.
id() is an Xpath Function,page 52. Identified nodes by ID.
id is an XSLT attribute,page 142. Specifies a unique identifier for the transformation elements.
[ December 13, 2002: Message edited by: Kevin Thompson ]
 
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Added some more:
1) In xschema, ID/IDREF/IDREFS are also data types which are the same in XML/DTD.
2) In XSLT, we also have generate-id() function
 
There's a way to do it better - find it. -Edison. A better tiny ad:
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic