### XmlDocument.setContent |

`

###

    import com.sleepycat.dbxml.*;

    public void setContent(String content) throws XmlException;
    public void setContent(byte[] content) throws XmlException;

### Description: XmlDocument.setContent

The XmlDocument.setContent method sets the XmlDocument content. The content is copied from the content parameter into the XmlDocument.

### Parameters

content
  A string containing the document content.

### Description: XmlDocument.setContent

The XmlDocument.setContent method sets the XmlDocument content. The content is copied from the content parameter into the XmlDocument.

### Parameters

content
  A byte array containing the document content.

### Class

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

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