validating XSLT [message #72441] |
Tue, 08 February 2005 18:23  |
Eclipse User |
|
|
|
Is there are way to validate a .xsl file as xml? It seems like I can
only run the xml validation on a file with a .xml extension.
I have looked under "validation" and "web and xml" preferences, but
there doesn't seem to be any way to specify file extensions that should
be regarded as xml.
Also, is there a way to test an xslt document against an xml file?
Dan Simmonds
|
|
|
|
|
Re: validating XSLT [message #72511 is a reply to message #72459] |
Tue, 08 February 2005 22:26  |
Eclipse User |
|
|
|
Lawrence Mandel wrote:
> Craig Salter and I spoke about the idea of associating an extension with a
> certain file type (which would in turn associate editors and validators
> with the file type) but nothing has been done yet. Please open a bug
> report for this.
Thanks, I'll do that.
> I'm not sure what you mean here. Do you want to test an XSL file against a
> schema? Do you want to run an XSL transformation?
Sorry, I should have been more clear on this. I want to perform a
transformation from within eclipse, to test my XSLT against some XML.
Testing against a straight XML file would be fine, but testing the XSLT
against the output of a java method would be even better. Also, the
ability to run the xsl transformation through a debugger would be
awesome. I've seen this in Websphere Studio, and I wasn't sure if it
came out of a WTP feature that I haven't discovered.
Dan.
|
|
|
Powered by
FUDForum. Page generated in 0.04378 seconds