Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAXB help  RSS feed

 
Bala'J'i Rags
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI All,


I am working on an requirement to convert source XML to a Target XML. Iam using JAXB to Marhsall and UNMarshall the xml data. I am having issue with the DOCTYPE declaration in the source xml i.e when i use JAXB for transformation, the target xml doesnt contain the DOCTYPE information..I came to know that the below lines would achieve that..but i dont want to hardcode in my code and rather want it to pick from the source xml's DOCTYPE




Appreciate your help..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!