This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile 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