[relaxng-user] trang and xsd-friendly schemas
David Carlisle
davidc at nag.co.uk
Mon Sep 13 15:08:05 ICT 2004
who goes first surely depends on the rendering application? surely the order
in the source of <publisher> and <place> should not dictate rendering?
I think Bruce wants to validate the rendering application which is a
simplified template language: so if you put <publisher/> first, then the
publisher information coming from te hsource doc comes out first.
Given that it's implemented in XSLT though a reasonable alternative
would not be to use any schema language and just put the checks into the
xslt, the XSLT template handling this could easily be made to moan if
there wasn't exactly one publisher child, and if the XSLT is doing that,
having a schema validation step doesn't really win you very much.
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
More information about the relaxng-user
mailing list