Re: about DOM

"adi" <[email protected]> Sun, 3 Jul 2005 22:27:51 +0700
Newsgroups gmane.comp.java.ozone.user
Message-ID <006201c57fe4$5528b790$620c010a@NoteBook>
i'm sure you have missunderstood with i mean.
i want to implement all Ozone fiture that i can do
it's not for the real bussiness program
it's just implement fiture of ozone
about DOM, i have see about method of ObjectToXML and toXML(). and i don't
know how to use it.
the idea in my mind is i have object collection of item
the class item have some property like a, b, and c
from object items, i want to generate XML. how can i do it? the generated
XML have to save to the OZONE database and can load to web. it's like web
service i think. so people who need information about my object items can
download it from my site. it don't have relation with CMS.
would you like to help me ones again???

----- Original Message ----- 
From: "Per Nyfelt" <[email protected]>
To: <[email protected]>
Cc: "Adi" <[email protected]>
Sent: Saturday, July 02, 2005 4:14 PM
Subject: Re: [Ozone-users] about DOM


> Hi Adi,
>
> There is no toXML() in the DOM sample. Do not confuse the (highly
> experimental
> and unfinished) DOM4j implementation with DOM. DOM4J is not working yet.
>
> I do not undestand what you are trying to do. Is itemA and itemB regular
> java
> objects that you want to serialize into XML form and display on a web
> page???
> (what on earth for?...).
>
> If, on the other hand, you are trying to have XML documents stored in
> Ozone
> and use that as the back end for dynamic content then it makes more sence
> to
> me. It is "easy" to create a simple content management system with Ozone
> as
> the back-end serving XHTML pages. I just created a (very) simple one in
> less
> than an hour.
>
> It makes sence to pretty it up a bit and use it as an example i think.
> Adding
> some error checks, swing based admin interface, custom tags for easy
> access
> from JSP's etc for a CMS system slightly more similar to a real one.
> I'll create a new area in CVS called ozoneApps where I'll check in what I
> just
> did if you want to take a look at the basic idea.
>
> Later when I've started to work on the Ozone petstore for real I'll put
> that
> there as well.
>
> Best regards,
> Per
>
> Friday 01 July 2005 03.00 skrev Adi:
>> hello, i ask some question again
>> 1. i need to implement the webpage that must be have a
>> service to get xml database
>> in your DOM sample, i think this might can be implemented
>> i have object item with child class like itemA, itemB,
>> itemC
>> itemA have A,B
>> but i just want to create an XML object from class item.
>> i mean itemA as item (with casting or polymorp in java)
>> can i do this?
>> can i use toXML() method to generate the xml?
>> can i use toXML() method tho generate from collection? or
>> treeMap?
>> would you like to explain to me?
>> if it can't use that method, what method that can i used
>> for?
>>
>> thanks a lot
>> ===========================================================================
>>============= Akses Internet TELKOMNet-Instan beri Diskon s.d. 50 % khusus
>> untuk wilayah Jawa Timur. Informasi selengkapnya di
>> www.telkomnetinstan.com
>> atau hub 0800-1-INSTAN (467826)
>> ===========================================================================
>>=============
>>
>>
>> -------------------------------------------------------
>> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>> from IBM. Find simple to follow Roadmaps, straightforward articles,
>> informative Webcasts and more! Get everything you need to get up to
>> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
>> _______________________________________________
>> Ozone-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/ozone-users
>




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click