Microsoft SDK for Java

getId

This method of the Document class retrieves the external identifier.

Syntax

public final String getId();

Return Value

Returns the external identifier specified in the <!DOCTYPE> tag or null if no <!DOCTYPE> tag was specified.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.