F
Franz Bayer
Hello, I try to write a application, that converts a xls-workbook into a xml
with a given xsd.
So far so good. Everything is working this way:
XLStoXML myXLStoXML = new XLStoXML("routendaten_example.xls",
"step.xml");
new XMLtoObjects("step.xml", "routendaten_example.xml");
I convert a xsl into a xml and than convert it into another xml fitting my
xsd, so that I can work with xPath (its easier to work with names, than with
fixed numbers like in the excelsheet).
But I don't want to save the step.xml.
So I tried following:
XLStoXML myXLStoXML = new XLStoXML("routendaten_example.xls");
new XMLtoObjects(myXLStoXML.getDocument(),
"routendaten_example.xml");
But this is not working.
The first example is also just working with the ISO-8859-1 encoding and not
with an UTF-8 encoding.
Any suggestions?
/franz
with a given xsd.
So far so good. Everything is working this way:
XLStoXML myXLStoXML = new XLStoXML("routendaten_example.xls",
"step.xml");
new XMLtoObjects("step.xml", "routendaten_example.xml");
I convert a xsl into a xml and than convert it into another xml fitting my
xsd, so that I can work with xPath (its easier to work with names, than with
fixed numbers like in the excelsheet).
But I don't want to save the step.xml.
So I tried following:
XLStoXML myXLStoXML = new XLStoXML("routendaten_example.xls");
new XMLtoObjects(myXLStoXML.getDocument(),
"routendaten_example.xml");
But this is not working.
The first example is also just working with the ISO-8859-1 encoding and not
with an UTF-8 encoding.
Any suggestions?
/franz