Re: XInclude XPointers

Norm Tovey-Walsh <norm-JkSD5nQpfvpWk0Htik3J/[email protected]> Wed, 03 Nov 2021 16:49:38 +0000
Newsgroups gmane.text.xml.saxon.help
Message-ID <[email protected]>
--===============6504434720011396437==
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha256; protocol="application/pgp-signature"

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

> Does Saxon-HE 10.3J support the @xpointer=E2=80=8B attribute of <xi:inclu=
de>?

Martin already pointed where I was going to point,
https://github.com/ndw/sinclude

I abstracted the implementation I wrote for XML Calabash into a separate
library that you can call as an extension function. That=E2=80=99s what, for
example, the DocBook xslTNG stylesheets do. (That may be what motivated
me in the first place.)

It supports XPointer and a bunch of other things that I should probably
document better.

Before anyone asks, it=E2=80=99s not practical to make this a drop-in
replacement for the Saxon command line switch because it=E2=80=99s doing a
separate pass over the constructed document. That means you have to
construct the whole document before you begin and have to have both
documents in memory.

On the other hand, it=E2=80=99s a more comprehensive implementation than the
Xerces parser implementation, and for a lot of documents and a lot of
use cases, its limitations aren=E2=80=99t really a problem.

                                        Be seeing you,
                                          norm

=2D-
Norm Tovey-Walsh
Saxonica

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE1ury//rzuvqf7fN/hVWfHhJMAHkFAmGCv6gACgkQhVWfHhJM
AHma+w/7B6hSklq0BoAJfwyOhcsUc6HJI20QB2FyfP09T8InsWUCstL5CSux2bpb
GOE5EdJPwcdAf/3kCAbKCoVdVXmoajDsZcpLzvB0QHDKs+DkdXnkD26hCKm/6sZ+
P2Y+9mt5W7m39OdshIILl3F3B1Es1cDSCCDOCUxNkVhP+6grp/eDX9uHCoZaVjkl
2w9zqPnCUK1l6rmZOED7JXsWCBc9NUujQAse/h0Rmn6VrMVbhdIIwdNEUryqxJje
AtH/xqGp84JUqXEf0xos5EZfzNrT6zIQkeqN7YRAkq8lkpVXXqXQjVrMuPcdO0jp
7hqK1F3SFo+Pb2kvHzGt+vcsAzEdwb+Kie4+GeINWBZN9QqDIJPy3vUl8Wt6lK/a
1YJITktOaVzcmFv+B7UnwdeD1coJN0jA2wxNBwooaMH7DCDwNhPoBM+p6lvqdWAi
cdbyZQBUiofRmdhhC/XWKWghUdxgXel6hWNxEYyFCTmISzsUYDq9P6NXNLNt3vlK
b+iTVpermoPOcozwp5KE1lJ4CuAR2DaRTomDd5u0Te9izL0VVxr6dTtGg15SOZ9P
3Bnbw1S5F26HCMSsYWgpnnorA7Vkv4JUaP8TnkN5vjDcOwEXfCyxBReO5pzz81Lz
y3bd0Ppg7ErK7g+ss8Eb+41WmH62Qama+9bi9OOJx6Dk8eOVLvk=
=mjML
-----END PGP SIGNATURE-----
--=-=-=--


--===============6504434720011396437==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============6504434720011396437==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[email protected]
https://lists.sourceforge.net/lists/listinfo/saxon-help 
--===============6504434720011396437==--