Results 1 to 7 of 7

Thread: XSLT + XInclude + XPath + .Net [Resolved]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member <ABX's Avatar
    Join Date
    Jul 2002
    Location
    Canada eh...
    Posts
    1,622

    Resolved 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?
    Last edited by <ABX; Oct 26th, 2004 at 11:11 AM.
    Tips:
    • Google is your friend! Search before posting!
    • Name your thread appropriately... "I Need Help" doesn't cut it!
    • Always post your code!!!! We can't read your mind!!! (well, at least most of us!)
    • Allways Include the Name and Line of the Exception (if one is occuring!)
    • If it is relevant state the version of Visual Studio/.Net Framwork you are using (2002/2003/2005)


    If you think I was helpful, rate my post
    IRC Contact: Rizon/xous ChakraNET/xous Freenode/xous

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width