location of xsd file

来源:互联网 发布:什么是网络电视 编辑:程序博客网 时间:2024/05/01 06:44
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <frame xsi:noNamespaceSchemaLocation="../swixml.xsd"
  3.     size="640,280" title="Hello SWIXML World"
  4.     defaultCloseOperation="JFrame.EXIT_ON_CLOSE"
  5.     >
  6.     <panel constraints="BorderLayout.CENTER">
  7.         <label labelfor="tf" font="Georgia-BOLD-12" foreground="blue"
  8.             text="Hello World!" />
  9.         <textfield id="tf" columns="20" Text="Swixml" />
  10.         <button text="Click Here" action="submit" />
  11.     </panel>
  12.     <panel constraints="BorderLayout.SOUTH">
  13.         <label font="Georgia-BOLD-36" text="Clicks:" />
  14.         <label font="Georgia-BOLD-36" id="cnt" />
  15.     </panel>
  16. </frame>

xsi:noNamespaceSchemaLocation="../swixml.xsd" means that swixml.xsd is in the parent directory of this xml file in local file system

原创粉丝点击