1 Mar 2004 11:28
schema location file.
<david.pawson <at> rnib.org.uk>
2004-03-01 10:28:30 GMT
2004-03-01 10:28:30 GMT
Fairly regular use of the schema location file results in such as <uri resource="NISO/2004/relax/test.xml" uri="NISO/2004/relax/dtbook.rnc"/> <uri resource="NISO/2004/relax/test.xml" uri="NISO/2004/relax/dtbook.rnc"/> <uri resource="NISO/2004/relax/test.xml" uri="NISO/2004/relax/dtbook.rnc"/> <uri resource="NISO/2004/relax/test.xml" uri="NISO/2004/relax/dtbook.rnc"/> <uri resource="NISO/2004/relax/test.xml" uri="NISO/2004/relax/dtbook.rnc"/> <uri resource="NISO/2004/relax/test.xml" uri="NISO/2004/relax/dtbook.rnc"/> <uri resource="NISO/2004/relax/test.xml" uri="NISO/2004/relax/dtbook.rnc"/> I.e. each time I'm prompted, do you want to add this to the schema location file I say yes, and the same data is repeated. An identity transform with <xsl:template match="r:uri[ <at> resource=preceding::r:uri/ <at> resource]" xmlns:r="http://thaiopensource.com/ns/locating-rules/1.0"/> cleans it up reasonably, without resolving the problem. Is it possible to remove this redundancy please James? Regards DaveP.(Continue reading)
RSS Feed