### XmlDocument.getContent |

`

###

    import com.sleepycat.dbxml.*;

    public byte[] getContent() throws XmlException;
    public String getContentAsString() throws XmlException;

### Description: XmlDocument.getContent

The XmlDocument.getContent method returns a pointer to the document content. The returned value is owned by the XmlDocument, and is destroyed when the document is destroyed.

Returns a pointer to the XmlDocument content as raw bytes.

### Description: XmlDocument.getContent

The getContentAsString() method copies the content of the document into a string . The getContent() method can be used to avoid the copy.

Returns the XmlDocument content as a string.

### Class

XmlContainer, XmlDocument, XmlException, XmlIndexSpecification, XmlQueryContext, XmlQueryExpression, XmlResults, XmlUpdateContext, XmlValue`

Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.