Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
XML and Related Technologies
Validating XML against Schema
posted 10 years ago
I have a small query. I would like to validate below XML for specific condition using schema
<translations> <translation> <targetnetworkid>1</targetnetworkid> <dnprefix>2</dnprefix> <destaddr>1</destaddr> </translation> <translation> <targetnetworkid>1</targetnetworkid> <dnprefix>2</dnprefix> <destaddr>67</destaddr> </translation> </translations>
targetnetworkid and dnprefix combination is a composite key so I dont want it to be repeated in terms of VALUES. Can we handle it thru' schema?
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
Boost this thread!
tag-value should be unique ...
XSL and Enumeration Query
Chain reaction. How to chain multiple translations
SAXParseException: Document root element is missing
XML Schema "key" and "keyref" help