Hi,
 
In my project I need to do the marshalling and unmarshalling of xsi:type.
 
a) I tried unmarshalling. But I'm not getting the exact object of 'xsi:type' type.
 
b) I've attached the XML file to be marshalled and unmarshalled. How to get it?
 
Could somebody help me how to do it. It would be great if you can send with examples.
 
Thanks,
Hari.
 


Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
<?xml version="1.0"?>
<Library xmlns="http://www.books.org";
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
           xsi:schemaLocation=
                              "http://www.books.org
                               BookStore.xsd">
        <Publication xsi:type="MagazineType">
                <Title>Natural Health</Title>
                <Date>1999</Date>
        </Publication>
        <Publication xsi:type="BookType">
                <Title>My Life and Times</Title>
                <Author>Paul McCartney</Author>
                <Date>1998</Date>
                <ISBN>1-56592-235-2</ISBN>
                <Publisher>McMillin Publishing</Publisher>
        </Publication>
        <Publication xsi:type="BookType">
                <Title>The First and Last Freedom</Title>
                <Author>J. Krishnamurti</Author>
                <Date>1954</Date>
                <ISBN>0-06-064831-7</ISBN>
                <Publisher>Harper &amp; Row</Publisher>
        </Publication>
</Library>
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to