Oleg here's the VB code in a XSLT that i think is causeing the problem
<msxsl:script language="VB" implements-prefix="user"><![CDATA[
Function PageInit(Iterator, _
SortField, _
SortOrder, _
SortDataType, _
Parameters, _
Path, _
PageSize)
Dim arrParameters() As String
arrParameters = Split(Parameters,"|")
If Len(arrParameters(0)) > 0 Then
intPageNum = CInt(arrParameters(0))
Else
intPageNum = 1
End If
strSortField = SortField
strSortOrder = SortOrder
strSortDataType = SortDataType
intPageSize = PageSize
strPath = Path
intRowBegin = (intPageNum * intPageSize) - 9
intRowEnd = intRowBegin + 9
intRowCurrent = 1
intRowCount = Iterator.Current.Select("One/Two").count
End Function
</msxsl:script>
<xsl:value-of disable-output-escaping="yes"
select="user:PageInit(.,$SortField,$SortOrder,$Sor tDataType,$Parameters,$Path,$PageSize)"/>
Is there some version of a VB dll that has a different member of this
Xpathqueryiterator?
I know this isn't the most elegant way of getting rows, and that a xsl
for each loop would work better, but this is unfortunatly what i have
to work with here at this time.
Thanks,
Cat
Oleg Tkachenko <oleg@NO_SPAM_PLEASEtkachenko.com> wrote in message news:<eP**************@TK2MSFTNGP11.phx.gbl>...
Cat wrote:
I am getting the following error when running a transformation on an
xml document:
Public member 'Current' on type 'XPathQueryIterator' not found.
Has anyone seen this before? I have looked through the code and
havent seen anythig at least in VB.NET that refs the
'XPathQueryIterator' . Also the web has virtually nothing on this
error at all. Any and all help would be greatly appreciated.
Provide more information please - your stylesheet, XML and VB code (but
keep them as small as possible).