Ejemplo n.º 1
0
        public CommentLessSource(ISource originalSource)
        {
            if (originalSource == null) {
                throw new ArgumentNullException();
            }
            systemId = originalSource.SystemId;

            Transformation t = new Transformation(originalSource);
            t.Stylesheet = Stylesheet;
            reader = new XmlNodeReader(t.TransformToDocument());
        }
Ejemplo n.º 2
0
 public void CreateTransformation()
 {
     t = new Transformation(Input.FromFile(TestResources.DOG_FILE)
                            .Build());
     t.Stylesheet = Input.FromFile(TestResources.ANIMAL_XSL).Build();
 }