xml question

wxdqz

New Member
I try to use the document() function from Microsoft help, I link my xml fileto my xsl file and trying to produce the result (i.e <?xml-stylesheet type="text/xsl"href='merge.xsl'?>), however it does't display anything in the browser. Please help.Here is xsl and xml file in Microsoft document:<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"><xsl:template match="/"><employee><xsl:apply-templates select="//employeeDoc"/></employee></xsl:template><xsl:template match="employeeDoc"><xsl:copy-of select="document(@href)//employee"/></xsl:template></xsl:stylesheet>------------------------------------<?xml version='1.0' encoding='ISO-8859-1'?><?xml-stylesheet type="text/xsl" href='http://forums.devx.com/archive/index.php/merge.xsl'?><employeeRefs><employeeDoc href=http://forums.devx.com/archive/index.php/"localEmployees1.xml"/></employeeRefs>
 
Back
Top