XSLT + XInclude + XPath + .Net [Resolved]
This is Page.xml:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<page>
<header>header text </header>
<rightcolumn>Right column</rightcolumn>
<leftcolumn>Left Column</leftcolumn>
<content>this is content</content>
<footer>this is the footer </footer>
</page>
XInclude usage:
Code:
<xi:include href="Page.xml" xpointer="/page/header" parse="xml" />
XInclude is working but it includes all of page.xml's text eg.
Code:
header text right column leftcolumn this is content .. ect
what am i doing wrong?