ANZLIC The Spatial Information Council  
[Jurisdictions][Home][Contact Us][Site Map][Site Search][Glossary]  
 

 

ASDI-L Mailing List Archive

From: Andrew Hallam ([email protected])
Date: Thu Jun 05 2003 - 12:10:43 EST


Hi All,

I have used David's style sheet to set up a very quick example of
client-side transformation. If you have a browser that supports
in-browser XSL transforms you should be able to view the following page
and see it rendered as XHTML in your browser.

http://www.canri.nsw.gov.au/demo/xsl/anzns0359000889.xml

Notes:

1. This has only been tested in Internet Explorer 6.

2. This was a quick test so I have commented out the Document Type
Declaration in the XML document to eliminate entity issues.

3. I edited David's stylesheet to produce a hard coded full URL back to
the corresponding NRDD record. See "Metadata reference" at bottom of
page.

Kudos to David for putting the XSL in the public domain.

Regards
Andrew Hallam

CANRI Technical Support Officer
Dept of Sustainable Natural Resources
ph: 02 9895 7335
mob: 0413 993 302

>>> David Crossley <[email protected]> 14/05/2003 6:11:21 pm
>>>
Please find some basic stylesheets [1] for the ANZMETA Page 0
metadata [2]. Custodians can use these to transform metadata
documents from the XML form into other presentations, such as
HTML, or TEXT, or even other XML.

The first stylesheet that we make available is the one
to transform XML to XHTML.

This is an IndexGeo contribution to the ASDI. We are
releasing it in this manner to encourage the use of
Open Source solutions and to encourage XML metadata.
There is a liberal license which is designed to be as
free as possible.

This enables a wide variety of options. You can use the
software as-is for your own means and even modify it, or
you can contract us (or someone else) to modify it for you.

In any event, it is preferable (though not mandatory)
to provide feedback and possible enhancements so that
these basic stylesheets can be improved.

[1] http://www.indexgeo.com.au/opensource/xsl-anzmeta/
[2] http://www.auslig.gov.au/anzmeta/

--David Crossley
IndexGeo Pty Ltd --- structured document management
160 Cowper Street -- and networked directories enable
Goulburn NSW 2580 -- geographic information discovery
Australia -- ABN: 29 070 993 609 -- www.indexgeo.com.au
phone: 02 48 221404


[#top]