I am looking for a servlet or just a simple java program(script) that
can convert objects in an xml document into seperate and static html
documents, for example:
http://www.getboca.com/test/boca_raton.xml
using a bare bones style sheet like
http://www.getboca.com/test/boca_raton.xsl
I would like a script that can convert each ID object into it's own
static html document. |
Request for Question Clarification by
answerguru-ga
on
10 Dec 2005 12:20 PST
Hi there,
Can you provide a sample of what the individual HTML documents should
look like and how they should be named?
Thanks,
answerguru-ga
|
Clarification of Question by
getlocal-ga
on
10 Dec 2005 19:04 PST
Hello,
In regards to the layout and style of the individual HTML documents-
at the time being something as simple as:
<----------------------- local.css ---------------------->
#div {
text-align: center;
margin-right: auto;
margin-left: auto;
border: solid;
margin-top: 20%;
color: #000000;
}
.name {
font-size: 30pt;
font-weight: boldest;
color: red;
}
.type {
font-size; 15pt;
}
.address {
font-size: 12pt;
}
.phone {
font-size:12pt;
font-weight: bold;
}
<---------------- -------------------->
<------------------ HTML doc ------------------->
<html>
<head>
<title>getlocal</title>
<link rel="stylesheet" type="text/css" href="local.css" />
</head>
<body>
<div id="div">
<span class="name">@</span>
<span class="type">@</span>
<span class="address">@</span>
<span class="phone">@</span>
</div>
</body>
</html>
<--------------------------------- --------------------->
In response to your question about naming the documents- using the
objects ID would be sufficient for the time being.
Many thanks,
Mark Stepanek
|
Request for Question Clarification by
answerguru-ga
on
11 Dec 2005 00:48 PST
Hi Mark,
I've had a look at your requirement and haven't had any luck finding
something that exists already that does this. I can write a Java
application that can be run from the command line which accomplishes
what you want, though the cost for this would be in the $200 range.
Are you familiar with how to compile and execute java source code?
Let me know how you would like to proceed.
answerguru-ga
|
Clarification of Question by
getlocal-ga
on
11 Dec 2005 09:04 PST
I am familiar with how to compile and execute java source code,
however I cannot afford to pay $200 at the time. I hope I didn't waste
too much of your time.
Thanks again,
Mark
|
Request for Question Clarification by
answerguru-ga
on
11 Dec 2005 09:09 PST
Not a problem at all - other researchers are free to address this question.
Cheers,
answerguru-ga
|