This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Xinclude prob


I wonder about this message. How old is your Xalan, which version do you
have? Furthermore you should remove the line
xmlns:xinclude="http://www.w3.org/1999/XML/xinclude"; - or when your xalan is
to old only use this line (not xmlns:xi="http://www.w3.org/2001/XInclude";)

Regards,

Joerg

> Hi!
>
> I trying to use xinclude to merge another xml file with another one.
> I receiving this kind of message from the Xalan:
>
> XSLT warning: Could not resolve prefix xi:include
> (/var/www/xslt/BackToNormal.xsl, line 27, column 33)
>
> The src code of xsl file:
>
> <date><xsl:text>Date: </xsl:text>
>     <xi:include href="date.xml" parse="xml"/>
> </Date>
>
> This is what the result xml file looks like:
> <Information xmlns:xlink="http://www.w3.org/1999/xlink";
> xmlns:xinclude="http://www.w3.org/1999/XML/xinclude";
> xmlns:xi="http://www.w3.org/2001/XInclude";>
> <Border>
> <LocateDate>
> <TopicBorder>Location and Date</TopicBorder>
> <Location>Location: </Location>
> <Date>Date:
> <xi:include href="date.xml" parse="xml"/>
> </Date>
>
> So the problem is that the file is not shown or "written" open
> to be visual. Hope ya understand what I meen =)
> Please give me a helping hand.....


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]