Navigation Menu

Skip to content
This repository has been archived by the owner on Jan 25, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Darren Hardy committed Jul 17, 2014
1 parent e7d8c50 commit 3307d59
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Expand Up @@ -23,11 +23,15 @@ format conversions (e.g., FGDC -> MODS, OGP -> GeoBlacklight, etc.).
The `examples` folder has some Solr documents that uses this schema. First,
install the schema into a Solr 4 instance, then upload the documents.

```
```bash
% cd examples
% ruby upload-to-solr.rb your-collection-name http://localhost:8080/solr
```

## Requirements

* Saxon-HE, the Home Edition from http://saxon.sourceforge.net

# Schema for GeoBlacklight

Note that the suffixes in the schema attribute names are used by the Solr
Expand Down
11 changes: 11 additions & 0 deletions bin/xsltproc-saxon
@@ -0,0 +1,11 @@
#!/bin/bash
# Usage: xsltproc-saxon stylesheet.xsl input.xml output.xml [flags or params]
#
# See http://saxonica.com/documentation/html/using-xsl/commandline.html
s=$1; shift
i=$1; shift
o=$1; shift
if [ -s "$o" ]; then
o="-o:$o"
fi
java -jar vendor/SaxonHE9-5-1-6J/saxon9he.jar -s:$i -xsl:$s $o $*
Empty file added vendor/.keep
Empty file.

0 comments on commit 3307d59

Please sign in to comment.