Revision 1717
Added by berkley over 21 years ago
src/edu/ucsb/nceas/metacat/DBTransform.java | ||
---|---|---|
104 | 104 |
* String sessionid) |
105 | 105 |
*/ |
106 | 106 |
public void transformXMLDocument(String doc, String sourceType, |
107 |
String targetType, String qformat, PrintWriter pw) |
|
107 |
String targetType, String qformat, PrintWriter pw, |
|
108 |
Hashtable param) |
|
108 | 109 |
{ |
109 |
transformXMLDocument(doc, sourceType, targetType, qformat, pw, null); |
|
110 |
transformXMLDocument(doc, sourceType, targetType, qformat, pw, param, null);
|
|
110 | 111 |
} |
111 | 112 |
|
112 | 113 |
/** |
src/edu/ucsb/nceas/metacat/MetaCatServlet.java | ||
---|---|---|
691 | 691 |
DBTransform trans = new DBTransform(); |
692 | 692 |
response.setContentType("text/html"); |
693 | 693 |
trans.transformXMLDocument(resultdoc, "-//NCEAS//resultset//EN", |
694 |
"-//W3C//HTML//EN", qformat, out, sessionid); |
|
694 |
"-//W3C//HTML//EN", qformat, out, null, |
|
695 |
sessionid); |
|
695 | 696 |
|
696 | 697 |
} |
697 | 698 |
catch(Exception e) |
Also available in: Unified diff
fixed errors with jing and my merges