Two Laptop Bag*
The moose likes XML and Related Technologies and the fly likes storing XML as is in Sybase Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "storing XML as is in Sybase" Watch "storing XML as is in Sybase" New topic
Author

storing XML as is in Sybase

Radha Damera
Ranch Hand

Joined: Oct 31, 2000
Posts: 35
Hi...

I want to store XML in the database(without parsing & stroring each field individually...to store as it is) and want to display in HTML.
I feel that it could be stored as BLOB or in a file.

Can anyone suggest me the best approaches or practices for this?

Thanks
Radha.
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
While a lot depends on how big your xml file is going to be,
it can be saved as a BLOB.
To display it in HTML format, you could potentially write a
style sheet (XSLT) and display it as HTML, if the format of
your XML file is consistent.


Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: storing XML as is in Sybase