Home / Interview / Xpath :: General Questions

Interview :: Xpath

21) What is an atomic value in XPath?

Nodes that has no parent node or child node are called as Atomic values.

For example:

Here, Rashmi Sharma is an atomic value.

22) What happens about the presence of the top-level element in XSLT?
  • The top-level elements don't have any effect on the behaviour of XSLT elements.
  • The functions that are defined with it also don't have any affect in the document.
  • The top-level elements are not permitted to be used by specifying the xsl:apply templates.
  • XSLT process is provided to ignore the top-level elements and ignore some of it if an error occurs.
  • XSLT top-element element doesn't recognize the namespace URI and can be provided using other sources.