Newbie question:  I am trying to get the value from the header from xml
shown below.

When I do a : 
root.getHeader().getName();

I get back <xml-fragment>myname</xml-fragment> rather than the desired
'myname'.  I wrote a simple string function to strip off the fragment
tags but it seems like I shouldn't have to do this.  Is there something
I can do to only get 'myname' back as a value?
Thanks.


<mytemplate xmlns="xmlbeans.my.template">
    <header>
        <name>myname</name>
        <author/>
        <version/>
        <description/>
    </header>


....

</mytemplate>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to