if ((!href.startsWith("/")) && collectionId != null) href = (collectionId.equals("/") ? '/' + href : collectionId + '/' + href);
URI baseURI = URI.create(collectionId + '/'); URI uri = URI.create(href); href = baseURI.resolve(uri).toString();
		public Source resolve(String href, String base) throws TransformerException {			LOG.debug("resolving stylesheet ref " + href);			if (href.indexOf(':') > -1)				// href is an URL pointing to an external resource				return null;			if ((!href.startsWith("/")) && collectionId != null)				href =					(collectionId.equals("/") ? '/' + href : collectionId + '/' + href);			Serializer serializer = broker.newSerializer();			return new SAXSource(serializer, new InputSource(href));		}