how to check root element have a particular child element in xml using xslt?



input xml:



<body>
<ce:sections>
<ce:section>
<ce:label>1</ce:label>
<ce:section-title>Introduction and main results</ce:section-title>
<ce:para> The existence of a globally hyperbolic Lorentzian metric on a
<mml:math>(3 + 1)</mml:math>
-spacetime with closed Cauchy surface excludes all but one differentiable structure on the underlying manifold, as observed by ChernovNemirovski
<citegroup>[
<cite>
<no>CN13</no>
<id>CN</id>
</cite>
]</citegroup>
</ce:para>
</ce:section>
</ce:sections>
</body>


how to check the .... and ... are the child element of body/ce:section/ce:sections path in input xml using xslt?


how to get the path of using xslt?


No comments:

Post a Comment