Viewpoint Forums
Viewpoint Forums
Viewpoint XML Schema
xpath within xsd:restriction tad|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Junior Member |
Hello All,
I would like to enforce validation based on the existence of absence of a certain value in the input XML. So if my XML is as shown below. <root> <a>hello</a> <b>world</b> </root> I would like to add a rule which says that node b, shouldnt be empty if the value of node a is "hello". It looks very simple, but i am not able to figure out, how i can write an xpath within xsd:restriction and then check for a particular value. Any help would be great!!! Regards, Sinu |
||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Viewpoint Forums
Viewpoint Forums
Viewpoint XML Schema
xpath within xsd:restriction tad
