Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

storing XML as is in Sybase

 
Radha Damera
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic