Implementing XSLT constraint
XML / XSL
1
Posts
1
Posters
0
Views
1
Watching
-
We are trying to enforce a couple of business constrainrs with XPATH . A sample xml node is as follows: ..... ..... IE browser Navigate http://www.....com/ ....... ....... If we need to ensure that the XML has ATLEAST one 'element' node containing text as "IE" we do: ERROR: Atleast one IE element needed But we need to ensure that ATLEAST one of the IE 'event' nodes has a combination of 'element' as IE and 'value' node containing the text "Logout" i.e. IE .... Navigate ...Logout... How do we enforce this occuurrence constraint through template?