You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.6 KiB

  1. <?xml version="1.0" standalone="no"?>
  2. <!--
  3. * Licensed to the Apache Software Foundation (ASF) under one or more
  4. * contributor license agreements. See the NOTICE file distributed with
  5. * this work for additional information regarding copyright ownership.
  6. * The ASF licenses this file to You under the Apache License, Version 2.0
  7. * (the "License"); you may not use this file except in compliance with
  8. * the License. You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an "AS IS" BASIS,
  14. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. * See the License for the specific language governing permissions and
  16. * limitations under the License.
  17. -->
  18. <!DOCTYPE s1 SYSTEM "sbk:/style/dtd/document.dtd">
  19. <s1 title="Sample: CreateDOMDocument">
  20. <s2 title="CreateDOMDocument">
  21. <p>The CreateDOMDocument example illustrates how you can create a DOM tree in
  22. memory from scratch. It then reports the number of elements in the tree that
  23. was just created.</p>
  24. <s3 title="Running CreateDOMDocument">
  25. <p>The CreateDOMDocument sample illustrates how you can create a DOM tree
  26. in memory from scratch. To run CreateDOMDocument, enter the following</p>
  27. <source>CreateDOMDocument</source>
  28. <p>Here is a sample output from CreateDOMDocument</p>
  29. <source>CreateDOMDocument
  30. The tree just created contains: 4 elements.</source>
  31. </s3>
  32. </s2>
  33. </s1>