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]

Re: Why wont this display? <xsl:value-of select="document(' ')/*/d:codeword/@*....



Eddy,
I've been looking at document() this morning. You showed your
expression as
<xsl:value-of select="document(' ')/*/...

Xalan requires that you have a strict null string to refer to
the stylesheet itself. So change that to
<xsl:value-of select="document('')/*/...
and see if it works.

I didn't notice anything wrong with the rest of it, but it
depends on a $d variable whose value wasn't shown, so I have
to assume that's okay. If the above isn't the complete cure,
you should probably build the expression in successive
tries of the stylesheet to ensure that each step and
predicate is correct.
.................David Marston


 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]