File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Other Open Source APIs
XML and Related Technologies
Validating XML against Schema
Joined: May 25, 2005
May 25, 2006 03:49:00
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?
I agree. Here's the link:
subject: Validating XML against 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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015