Subject:
|
Re: Standardized Inventory File Format?
|
Newsgroups:
|
lugnet.db.inv
|
Date:
|
Mon, 4 Oct 1999 18:31:54 GMT
|
Viewed:
|
728 times
|
| |
| |
In lugnet.db.inv, Steve Bliss writes:
> On Sun, 3 Oct 1999 19:28:30 GMT, "Søren Bak" <soren.bak@get2net.dk> wrote:
>
> > XML is designed exactly for that. There are a number of free XML-parsers
> > available for different programming languages (or we'll just write one).
> >
> > Check out http://www.w3.org/XML/.
> >
> > Suggestion:
> > <?xml version="1.0"?>
> > <!DOCTYPE LEGO INVENTORY "inventory.dtd">
> > <INVENTORY>
> > <PART NAME="1221" COUNT="3" COLOR="red">
> > <!-- This is a comment -->
> > ...
> > </INVENTORY>
>
> Hmm, interesting. Are there any XML writers, to convert flat-ASCII to
> flat-XML?
>
> Steve
I am not sure I understand your question completely. There certainly are
XML-writers available. One is included in the new Java extension Project X
available from Sun at http://java.sun.com/xml/. You probably have to register,
but that is free and pretty simple.
I assume that you ask the question because you have a number of flat ASCII
files and want to know whether they can be converted in a simple way.
The answer to this is that you have to write a parser for that flat ASCII
format use Project X to build XML-document objects and simply write those
documents to a file. BTW that flat ASCII format parser should be no big deal if
you know a little about programming. Otherwise, you can ask me for help.
I suppose that answers your question. If not, please be a little more specific.
Søren
|
|
Message has 1 Reply: | | Re: Standardized Inventory File Format?
|
| (...) I don't suppose I'd have a problem myself. My code is a little messy, but it (usually) gets the job done. I was thinking of other people, who may have recorded inventories in spreadsheets, or HTML, or whatever document format they found handy. (...) (25 years ago, 5-Oct-99, to lugnet.db.inv)
|
Message is in Reply To:
25 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|