Revision 920
Added by Matt Jones over 22 years ago
src/edu/ucsb/nceas/metacat/DBTransform.java | ||
---|---|---|
117 | 117 |
TransformerFactory tFactory = TransformerFactory.newInstance(); |
118 | 118 |
Transformer transformer = tFactory.newTransformer( |
119 | 119 |
new StreamSource(xsl_system_id)); |
120 |
transformer.setParameter("qformat", qformat); |
|
120 | 121 |
transformer.transform(new StreamSource(new StringReader(doc)), |
121 | 122 |
new StreamResult(pw)); |
122 | 123 |
|
Also available in: Unified diff
Set the qformat parameter so the stylesheets can use it for conditional
processing.