This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: FW: Empty node set when namespace nodes are used
By adding a namespace declaration to your source you have changed the
name
of all elements from being in no namespaec to being in your namespace.
<xsl:for-each select="TNMS:TNMSData/NEs/NE"> fails to produce a
nodeset.
selects
all no-namespace-NE children of all no-namespace-NEs children of
tnms-namespace-TNMSData elements.
I think you want
<xsl:for-each select="TNMS:TNMSData/TNMS:NEs/TNMS:NE">
Also the href attribute here is supposed to be a URL not a MSDOS style
file path. Most likely MS products will silently correct this error for
you but other products will not.
You should use
file:///c:/workspace/accessfiberimpl/corbainterface/interop/etc....
<?xml:stylesheet type="text/xsl"
href="C:\workspace\accessfiberimpl\corbainterface\interop\etc\stylesheets\tn
msData2afiop.xsl" ?>
<TNMSData xmlns="x-schema:C:\WINNT\TNMSDataSchema.xml
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list