W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2009

RE: XLink, XPath, XPointer help

From: Michael Kay <mike@saxonica.com>
Date: Thu, 6 Aug 2009 18:30:03 +0100
To: "'John.Tucker'" <John.Tucker@noaa.gov>, <xmlschema-dev@w3.org>
Message-ID: <832D90662C3D4CA98D31424541FCE707@Sealion>

Firstly, you're off-topic for this list - your question has nothing to do
with XML Schema.

There's nothing wrong with your XLink syntax if you can find an XLink
processor to process it. Don't expect a plain XML parser to do anything with
it. In practice, XLink processors are thin on the ground. You are more
likely to find an XInclude processor bundled with your parser, which does
the same job with different syntax; or just use plain old external entity
references which every parser supports; or implement the inclusion yourself
with a 10-line XSLT stylesheet.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 
 

> -----Original Message-----
> From: xmlschema-dev-request@w3.org 
> [mailto:xmlschema-dev-request@w3.org] On Behalf Of John.Tucker
> Sent: 06 August 2009 17:31
> To: xmlschema-dev@w3.org
> Subject: XLink, XPath, XPointer help
> 
> I am looking for the way
> to drop external XML fragments into an XML instance file.
> 
> I think that this used to work:
> 
>  <gmd:contact xlink:show="embed"
> 
> xlink:href="http://asdd.ga.gov.au/asdd/profileinfo/GAOpenDaySe
> ries.xml#GADetails"/>
> 
> The documentation that I can find, suggests that it works.
> But it doesn't, at least not now.
> 
> Will someone advise me?
> Or advise me the right forum to ask this question?
> Or please, please tell me how I can find Steve DeRose?
> 
> tx,
> John
> 
> 
Received on Thursday, 6 August 2009 17:30:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:14 GMT