ajay bhadauria schrieb am 22.03.2011 um 08:57 (-0700): > > As in the schema factory, we can get the schema object either using > one source file or array of source files by using below APIs > schema newSchema( Source schema ) > schema newSchema( Source [] schemas )
You can load several schemas to build a big schema cache matching a wide range of docs of different type. The schemas may or may not be related to each other. You could possibly achieve the same thing by using <xsd:import> and <xsd:include>. > How do we get the template object from the array of sources (list of > xslts) ? Is there a way to construct template object with list of > xslts. Don't know, but you can put lots of <xsl:import> and <xsl:include> in your main stylesheet if you want to assemble a really big XSLT program that will handle all kinds of stuff. -- Michael Ludwig