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

 

ASDI-L Mailing List Archive

From: [email protected]
Date: Thu Jun 05 2003 - 13:20:53 EST


Hi Andrew,

What you have done looks good on IE. It is a great start to using XSL
to transform XML document instances into other formats. However, I
will make the following comments:

1. It doesn't work on Mozilla 1.0.1 nor Netscape 4.51.

2. I think that you should be very careful in mentioning XHTML. It is,
as you say, a client-side transformation. The result is not XHTML and
therefore, is not guaranteed to work in every browser.

3. Your XML document instance is not ANZLIC compliant because you have
commented out the DOCTYPE statement and added the style sheet statement.

4. I believe that the intended use of the style sheet. Was to help
people write their own stylesheets that can use an XSLT to transform the
ANZMETA XML document instances into another valid format either on the
fly or pre-translated. EG. XHTML for viewing in a browser, SUTRS plain
text for other gateway's accesses.

Please don't take this as a criticism of your work. It is a great
start. I just don't want people to think that this is what they should
do as it would make ANZLIC metadata very difficult to see and
non-compliant.

Thanks for your time.

John Hockaday

> -----Original Message-----
> From: Andrew Hallam [mailto:[email protected]]
> Sent: Thursday, 5 June 2003 12:11
> To: [email protected]; [email protected]
> Subject: Re: [OZMETA-L] basic opensource XSL stylesheets for
> ANZMETAmetadata
>
>
> 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]