[Home] [By Thread] [By Date] [Recent Entries]

  • From: Stefan Krause <stf@s...>
  • To: xml-dev@l...
  • Date: Tue, 15 Jun 2010 22:30:37 +0200

Just for the records: I ended up with the declaration of an external
entity file, like this:


basic.sch:

<!DOCTYPE schema [
	<!ENTITY basic-pattern SYSTEM "basic-pattern.ent">
]>
<schema xmlns="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
	&basic-pattern;
</schema>


extended.sch:

<!DOCTYPE schema [
	<!ENTITY basic-pattern SYSTEM "basic-pattern.ent">
]>
<schema xmlns="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
	&basic-pattern;

	<!-- add some more pattern here -->

</schema>

It is conformant to the standard, and I don't have to change our toolchain.

Thanks for your advices,

Stefan


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member