Hi,

            Is there any way in which I can get Castor to marshall and unrmarshall XML which contains processing instructions?  For example I want to be able to read the version_objects field in my Java class from the following XML sample:

 

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

<M_ROOT>

<?version_objects true?>

<NAME>First Item</NAME>

</M_ROOT>

 

Thanks

Paul C

------------------------------------------
  Paul Cooper - [EMAIL PROTECTED]
  First Consulting Group - http://www.fcg.com/

  First Consulting Group (UK)
  Unit 20, St.Asaph Business Park
  St.Asaph
  Denbighshire, LL17 0LJ

  Direct Tel:   +44 (0) 1745 532 745
  Office Tel:   +44 (0) 1745 582 600
  Fax:          +44 (0) 1745 584 348
  Mobile:       +44 (0) 7810 376 941
  Voicemail:    +44 (0) 0800 222 55324 Box 8889

 

Reply via email to