H
HugeBob
Hi All,
I'm writing a class that generates an XML file using the W3C DOM with
data retrieved from a JDBC connection. I've successfully gotten the
XML generated. But, the exercise requires us to link the resulting
XML file to CSS and schema file. But, I don't know how to link them.
Basically, I need the following to show up in my XML file:
<?xml-stylesheet type="text/css" href="my.css" ?>
<my:jdbcexer xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:my="http://web3.myworld.edu/sports"
xsd:schemaLocation="http://web3.myworld.edu/sports sports.xsd">
How would this be done in Java?
I'm writing a class that generates an XML file using the W3C DOM with
data retrieved from a JDBC connection. I've successfully gotten the
XML generated. But, the exercise requires us to link the resulting
XML file to CSS and schema file. But, I don't know how to link them.
Basically, I need the following to show up in my XML file:
<?xml-stylesheet type="text/css" href="my.css" ?>
<my:jdbcexer xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:my="http://web3.myworld.edu/sports"
xsd:schemaLocation="http://web3.myworld.edu/sports sports.xsd">
How would this be done in Java?