Page 1 of 1

xsl and namespaces

Posted: Thu Nov 18, 2004 7:36 pm
by neadamthal
is there any way to police what namespaces are being used in an xsl transform?

ex.,... you have a jsp which uses xml and xsl to do some of its rendering... and you are letting 3rdparties write their own xml and xsl...

i want to only allow the xsl to access a single java.class... and not let anyone reference their own classes thereby excluding any possibility of external/unforeseen code from being executed...

any ideas? :?: :?:

Posted: Fri Nov 19, 2004 5:37 pm
by george

I guess you can check that the stylesheet conforms with your restrictions before applying it on the XML document.

Best Regards,