Groups | Blog | Home
all groups > dotnet xml > september 2004 >

dotnet xml : xlink


a
9/11/2004 11:45:02 PM
I'd like to associate (link elements in) a linkbase (xml) file with (elements
in) an instance document (xml). I've never seen an example of how to do
this. Anyone know how to do this in .NET?

Oleg Tkachenko [MVP]
9/12/2004 3:32:28 PM
[quoted text, click to view]

It can be done with XPointer, e.g.

<link href="foo.xml" xpointer="xpointer(/foo/bar[2])"/>

You can find XPointer implementation for .NET as a component of
XInclude.NET project. See also recent MSDN article on XInclude, it has
XPointer overview.

--
Oleg Tkachenko [XML MVP]
AddThis Social Bookmark Button