This sample demonstrates how to programmatically retrieve the names for all namespaces within the primary document.
| Index | document.namespaces.item(iIndex).name | document.namespaces(iIndex).name |
|---|
To view the source code, right-click this page and choose View Source from the shortcut menu that appears.
© 2007 Microsoft Corporation. All rights reserved. Terms of use.