You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by mi...@consult.nordea.com on 2006/04/05 14:29:27 UTC

Add custom tag.

Hi,

I've created a XmlObject and generate an xml with
obj.save( new File( "myxml.xml" ) );

This results in an xml-file with:
<?xml version="1.0" encoding="UTF-8"?>
<xml-tag>
...
</xml-tag>

I'd like to add a custom <? ?> to it so the result looks like:

<?xml version="1.0" encoding="UTF-8"?>
<?my-custom-tag attribute="stuff"?>
<xml-tag>
...
</xml-tag>

Is that possible to do with XmlBeans?

Thanks for any input.

/Mikael

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org