Monday, July 9th, 2007
This means that you can include and display fragments of one HTML page in another without copying and pasting any content. For example, you could quote the second paragraph from another person’s blog entry by embedding something like:
- <hx :include src="http://foo.com/bar.html#xpath!/p" />
in your blog page. The expression following the explanation point in the URL is an XPath expression.
If the page you want to transclude has a fragment identifier or a purple number, you can transclude that directly:
- <hx :include src="http://foo.com/purple.html#nid32" />
Posted by Dion Almaer at 5:24 am