xsl and namespaces

Here should go questions about transforming XML with XSLT and FOP.
neadamthal

xsl and namespaces

Post by neadamthal » Thu Nov 18, 2004 7:36 pm

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? :?: :?:

george
Site Admin
Posts: 2100
Joined: Thu Jan 09, 2003 2:58 pm

Post by george » Fri Nov 19, 2004 5:37 pm

Hi,

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

Best Regards,
George

Post Reply