ZVON > Tutorials > XLink - Simple Links
Prev | Next | [Help]

2. Attribute Value Defaulting

Description

It is possible to specify default attribute values in DTD. Attributes then do not have to appear physically on element start-tags.



DTD source
  <!ELEMENT zvon:logo (#PCDATA)>

<!ATTLIST zvon:logo
          xmlns:xlink   CDATA    #FIXED "http://www.w3.org/1999/xlink"
          xlink:type    (simple) #FIXED "simple"
          xlink:href    CDATA    #FIXED "zvon.gif"
          xlink:show    (embed)  #FIXED "embed"
          xlink:actuate (onLoad) #FIXED "onLoad"
>

 
Source
  <zvon:logo xmlns:zvon = "http://www.zvon.org">
 Zvon logo
</zvon:logo>


 




_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet




Related sites:
  • dotNet Slackers - Your latest resource for ASP.NET
  • Dotnet Spider - Outsourcing and Offshore software development in India
  • XML - Xselerator, XSL Editor, BizTalk Utilities, XML Tutorials, Learn XML
  • Planet Source Code - The largest public source code database on the Internet
Domain Names VoIP Internettelefonie DSL, SDSL, ADSL UNLIMITED Web Hosting by HostDepartment conference call service
answering service