[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Design of XML so that it may be efficiently stream-processed


Subject: Re: [xsl] Design of XML so that it may be efficiently stream-processed
From: Hank Ratzesberger <xml@xxxxxxxxxxxx>
Date: Wed, 27 Nov 2013 15:27:28 -0800

Hi Richard,

On Wed, Nov 27, 2013 at 2:55 PM, Richard Fozzard - NOAA Affiliate
<richard.fozzard@xxxxxxxx> wrote:
> Are we talking about using xlink attributes in a primary XML document to
point to a reusable chunk of external XML?
>
> If so, this is an approach we are using in NOAA for complex ISO-19115
scientific metadata documents. Any XSLT that processes the primary XML can
choose to 'resolve' the xlink (i.e. retrieve it from the xlink:href URL) -- or
ignore it, if not relevant to the transform task at hand.
>
> This approach has significantly reduced the size of our XML archives, and
serves to modularize and simplify maintenance of the many thousands of XML
files we host (or generate on demand).
>
> But I've no idea how using xlink resolving might impact streaming?

Yes, that is what I am suggesting.  If not specifically an XLink, it
could be anyURI and the custom XSLT could decide how to handle it.

--Hank


Current Thread
Keywords