-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Load class as DOM
PostPosted: Thu Jul 15, 2004 4:20 am 
Newbie

Joined: Mon Nov 10, 2003 9:08 am
Posts: 12
Hello,

Is it possible for Hibernate to load objects as DOM documents, so that DOM could then be used with XSL transformations? Or may be there is a library that could "convert" objects that Hibernate returns to DOM?

Thanks for help,
Yuri.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 15, 2004 4:26 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
http://www.hibernate.org/186.html

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 15, 2004 7:20 am 
Newbie

Joined: Mon Nov 10, 2003 9:08 am
Posts: 12
Thanks. It seems to be the right thing.

As I understand toGenericXML() should display the DOM as text. When I attempt that, I get

<?xml version="1.0" encoding="UTF-8"?>

<hibernate-generic datetime="15 July 2004 15:10:37"/>

However, when I apply that DOM to a XSL transformation, it shows that the DOM contains elements not shown in toGenericXML() .....

So is there really a way to see (as text) the DOM that Hibernate built from query, with all objects included? Basically I need to see what Hibernate returned (the XML structure, how it represents data there, etc) and create a XSL file for it.

I think I'm misunderstanding something about it though. :)

Thanks,
Yuri.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 15, 2004 8:09 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
http://www.hibernate.org/hib_docs/api/n ... inder.html

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.