newbie need help with XInclude ASAP!

P

Pavel Lepin

pxpilot said:
Can anyone tell why this doesn't work?
Am I missing anything?

<?xml version="1.0"?>
<channel>
<xi:include href="http://myitthings.com/rss/index.xml"
xpointer="xpointer(/channel/*)" parse="xml"
xmlns:xi="http:// www.w3.org/2001/XInclude" />
</channel>

This doesn't work because the XML document you're trying to
include doesn't have a root element named 'channel'. The
root element is named 'rss', and 'channel' element is its
child.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top