• Post Reply Bookmark Topic Watch Topic
  • New Topic

general xml question

 
Jayadev Pulaparty
Ranch Hand
Posts: 662
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which of the following XML technologies can be used to determine the location of
a particular XML element in XML document?

XML Schema

DTD

XPath

CSS

XPointer
I guess these are xpath and xpointer....
Any indifferences??
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like a trivial question, but in order 'to determine the location of
a particular XML element in XML document' all that is needed and used is an XPath expression. An XPointer is simply an XPath expression, often a location path, enclosed in the parentheses of xpointer().
However, An XPointer can identify points and ranges, which are two new nodes types.
So, I would also answer XPath and XPointer but it's a close call
:roll:
Cheers,
Dan
 
Vasudha Deepak
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's right.XPATH and XPOINTER would be the correct choices.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!