Login
User name:
Password:
Remember me 
Powered by BlogHarbor
Powered by BlogHarbor
Re: Re: APIs for XML processing
by Michael Kay
Thanks for the reference - though I had to dig out an old copy of IE to read it, it doesn't seem to display in Firefox. This seems to be very close to the JAXP design, with the classes XmlInput and XmlOutput corresponding to JAXPs Source and Result. I'm not sure it solves the underlying problem of extensibility: again it seems to be just a union type. The bigger problem with the MVP interface is that there is no "Transformer" object: the IXmlTransform is a compiled stylesheet, not a loaded stylesheet, so there is nowhere to initialize aspects of the dynamic context or initialization parameters such as initial mode and initial named template, other than in the method call to Transform() itself, which then becomes unwieldy as you add more parameters. One way round that, of course, would be to replace the "parameters" parameter to Transform() with a "dynamicContext" parameter.
Post comment:
  Receive comment notifications for this article
Subject: 
Comment: 
Comment verification:

Please enter the text you see inside the graphic to post your comment:
This blog does not allow anonymous comments. Please provide your username and password along with your comment.
Login information:
Username: 
Password: 
If you would like to post contact information on your comment, please enter your information into the optional fields below:
Contact information:
URL:  example: http://yourdomain.com