1 |
3996
|
berkley
|
<?xml version="1.0"?>
|
2 |
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
3 |
|
|
|
4 |
|
|
<xsl:template match="/success">
|
5 |
|
|
<html>
|
6 |
|
|
<script type="text/javascript">
|
7 |
|
|
function redirect()
|
8 |
|
|
{
|
9 |
|
|
var url = "/sms/?docid=" + "<xsl:value-of select="./docid"/>" + "&status=success";
|
10 |
|
|
window.location = url;
|
11 |
|
|
}
|
12 |
|
|
</script>
|
13 |
|
|
<body onload="javascript:redirect()">
|
14 |
|
|
<!-- <p>File uploaded successfully with docid <xsl:value-of select="./docid"/>.
|
15 |
|
|
<a href="redirect.php?docid="/>-->
|
16 |
|
|
</body>
|
17 |
|
|
</html>
|
18 |
|
|
</xsl:template>
|
19 |
|
|
|
20 |
|
|
<xsl:template match="/error">
|
21 |
|
|
<html>
|
22 |
|
|
<script type="text/javascript">
|
23 |
|
|
function redirect()
|
24 |
|
|
{
|
25 |
|
|
var url = "/sms/?status=fail";
|
26 |
|
|
window.location = url;
|
27 |
|
|
}
|
28 |
|
|
</script>
|
29 |
|
|
<body onload="javascript:redirect()">
|
30 |
|
|
<!-- <p>File uploaded successfully with docid <xsl:value-of select="./docid"/>.
|
31 |
|
|
<a href="redirect.php?docid="/>-->
|
32 |
|
|
</body>
|
33 |
|
|
</html>
|
34 |
|
|
</xsl:template>
|
35 |
|
|
|
36 |
|
|
</xsl:stylesheet>
|