I've tried a couple of simple experiments where I supply a simple object graph and create an XPathNavigator from a ObjectXPathContext. Then I pass that navigator to XslCompiledTransform.Transform().
This throws a null ref exception in line 160 of Node.cs, both _memberInfo and Parent are null at that point.
Could you consider adding some unit tests that demonstrate this kind of use of a navigator?
I'm striving to transform the object graph via XSLT without first converting it to XML.
Thx
I've tried a couple of simple experiments where I supply a simple object graph and create an XPathNavigator from a ObjectXPathContext. Then I pass that navigator to XslCompiledTransform.Transform().
This throws a null ref exception in line 160 of Node.cs, both _memberInfo and Parent are null at that point.
Could you consider adding some unit tests that demonstrate this kind of use of a navigator?
I'm striving to transform the object graph via XSLT without first converting it to XML.
Thx