Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XInclude problem

Status
Not open for further replies.

kyru

Programmer
Joined
Jan 17, 2009
Messages
45
Location
ES
¿Why doesn't XInclude add the content of the file it refers to the master file? I have those two xml files:

master.xml

<?xml version="1.0" encoding="UTF-16"?>
<?xml-stylesheet href="master.xsl" type="text/xsl"?>
<a xmlns:xsi=" xmlns:xi=" <xi:include href="a.xml"/>
Pruena
</a>

a.xml
<?xml version="1.0" encoding="UTF-16"?>
<algo2>
test
</algo2>


If I test master.xml with a web navigator it doesn't seem to include a.xml, in fact, the master.xsl file contains the following transformation:

<h1> <xsl:value-of select="algo2"/> </h1>

And seems to be completely ignored showing a blank page instead.
 
Status
Not open for further replies.

Similar threads

Replies
4
Views
329
Replies
0
Views
163
Replies
1
Views
258
Replies
3
Views
329

Part and Inventory Search

Sponsor

Back
Top