Register / Login
Win a copy of
Design for the Mind
this week in the
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?
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