XML and its related technique (1)
[Author: Liao order Add Time: 2001-5-21 06:13:31 PM]
XML has a lot of related technologies, combining these technologies to give full play to the powerful function of XML. These technologies include: XLINK and XPointer (setting XML hyperlink), DOM (Document Object Model: file object model, contents of access, operation file), Namespaces (Solve different elements have the same name with the same name), XHTML (next generation HTML), etc. ■ XLINK and XPointer In XML specification, we see that it does not specify questions about file links. In order to make the XML file can also have a function similar to the HTML file hyperlink, W3C has established two specifications of XLink and Xpionter, where XLINK is a link specification between XML files (similar to the external links in HTML), XPointer is a specified XML Link specifications between different locations in the file (similar to the inner link in HTML). 1.XLink: The link set by XLINK is divided into Simple Link and Extended Link. Among them, the SIMPLE LINK link function is basically the same as the HTML hyperlink, and Extended Link exceeds the HTML hyperlink function. Its links can be set at a time, and the links are set together by multiple tags. When using XLINK elements in an XML file, you must declare this element in DTD. The complete statement sample is as follows (this sample declares an XLINK element named Simple's Simple Link type): you can see, Xlink element has multiple attributes Many diverse links can be prepared by assigning these attributes. Below we explain these properties. Editor's Recommended Read ● CSS and XSL Brief Description XML: Link: Indicates that the link type is Simple Link or Extended Link. HREF: The address used to set the link is the same as the HREF attribute in the A tag in the HTML. ROLE: Narrates the link function and is provided to the application read. Title: This link is described, providing it to the user, which is similar to the Alt property of the a tag in HTML. Inline: There are two types of "true" and "false", which is declared whether the link is linked in an embedded mode, default is "True". Content-Role and Content-Title: and Role, Title are similar, but they describe the content points, not the content of the link. SHOW: There are three values, Replace representation of the content of the link to replace the current content, the NEW represents the contents of the link opens in a new window, and the eMbed represents the contents of the link to the current content. Actuate: Setting this link how is activated. Auto means that the XML file is interpreted, the link is automatically activated. User, the link must be manually activated by the user, that is, the user must click on the link with the mouse.
Behavior: After setting the link, it will automatically trigger some actions, and some instructions can be used to set the link to the application after the link is activated. Next 8
related information:
-
Use XML technology to construct remote service in PHP
-
Analyze XML text with MSXML
-
Unveil the veil of MSXML4.0
-
XML and JSP interaction technology (on)