Re: trang and xsd-friendly schemas

David Carlisle <[email protected]> Mon, 13 Sep 2004 15:08:05 +0100
Newsgroups gmane.text.xml.relaxng.general
Message-ID <[email protected]>
  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
________________________________________________________________________