Project

Profile

Help

Revision 0fe3e66d

Added by O'Neil Delpratt about 1 year ago

Update to C# code

View differences:

latest10/hen/csource/api/Xslt.cs
1222 1222
    /// </remarks>
1223 1223

  
1224 1224
    [Serializable]
1225
    public class XsltTransformer : XdmDestination
1225
    public class XsltTransformer : XmlDestination
1226 1226
    {
1227 1227

  
1228 1228
        /* private JXsltController controller;
......
1571 1571
            transformer.setParameter(net.sf.saxon.s9api.QName.fromEQName(name.EQName), net.sf.saxon.s9api.XdmValue.wrap(value.value));
1572 1572
        }
1573 1573

  
1574
        public JDestination GetUnderlyingDestination() {
1575
            return transformer;
1576
        }
1577

  
1574 1578

  
1575 1579

  
1576 1580
        /// <summary>
......
1591 1595
            set
1592 1596
            {
1593 1597
                this.xmlDestination = value;
1598
                transformer.setDestination(value.GetUnderlyingDestination());
1594 1599
            }
1595 1600

  
1596 1601
        }
......
2816 2821
            }
2817 2822
        }
2818 2823

  
2819
        internal class AbstractDestination : XmlDestination
2820
        {
2821
            private Xslt30Transformer xslt30Transformer;
2822
            private XmlDestination destination;
2823 2824

  
2824
			internal AbstractDestination(Xslt30Transformer xslt30Transformer, XmlDestination destination)
2825
            {
2826
                this.xslt30Transformer = xslt30Transformer;
2827
                this.destination = destination;
2828
            }
2829

  
2830
			JDestination XmlDestination.GetUnderlyingDestination()
2831
            {
2832
                return xslt30Transformer.GetUnderlyingXslt30Transformer.asDocumentDestination(destination.GetUnderlyingDestination());
2833
            }
2834
        }
2835 2825
    }
2836 2826

  
2837 2827
    /// <summary> An <c>XsltPackage</c> object represents the result of compiling an XSLT 3.0 package, as

Also available in: Unified diff