how would you combine DOM apis with XMLBeans generated
interfaces to add such PIs into the instance being
generated?
sample code would help..
-D
--- Jacob Danner <[EMAIL PROTECTED]> wrote:

> I would suggest trying out the XmlCursor APIs. If
> you aren't
> comfortable with them, you can always try using the
> DOM APIs too.
> 
> Otherwise, I don't know of a 'convenience' method
> like the getters and
> setters on an XmlObject that would add this for you.
> You may want to try XmlObject.set(XmlObject) where
> your XmlObject is
> your PI. (I have no idea if this will actually work
> thought, just FYI)
> 
> -jacobd
> 
> On Dec 20, 2007 12:19 AM, dave <[EMAIL PROTECTED]>
> wrote:
> >
> > I am just using factory classes to create new XML
> > instance. Are there any apis to add processing
> > instruction like below:
> > <?xml-stylesheet type="text/xsl"
> > href="transform.xsl"?>
> >
> > I don't use XmlCursor which has an api
> > insertProcInst() to do this.
> >
> > -D



      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

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

Reply via email to