Weather Information in eXtensible Markup Language (XML) |
Faq |
1. The XML bulletins can be viewed using web browsers. Are they designed to be read by human beings?
The XML weather bulletins on this site are designed to be used by information systems (computers). Please consult your Information Technology divisions / sections / units on how to integrate weather information provided by this site into your systems. Information embedded in the XML weather bulletins can also be found at HKO Internet web site (https://www.weather.gov.hk/) in a human readable form.
2. How can I use the XML weather bulletins?
The XML weather bulletins in this web site are provided in "real-time", in the sense that they are updated as timely as they are disseminated to other channels such as the media. You can develop computer programs to poll the weather bulletins from this web site and make use of the weather information in the XML files. Some possible applications include:
3. Why XML?
The XML has many advantages over the traditional encoded data method. Some of them include:
4. Can the XML weather bulletins be converted into other format, for example, Hyper Text Markup Language (HTML)?
XML documents can be easily converted into any other formats by applying eXtensible Stylesheet Language (XSL) on the documents. An online tutorial on XSL can be found at https://www.w3schools.com/xml/xsl_languages.asp.
5. What is the use of the XML Schemas?
XML Schemas define the structure of the XML documents and can be used to validate XML documents. An online tutorial on XML Schema can be found at https://www.w3schools.com/xml/schema_intro.asp.
|