Sean Mullan <sean.mullan <at> oracle.com> writes:

> 
> I don't have time to debug your code, but the exception indicates that the 
XSLT
> Transform cannot find the stylesheet element.
> 
> My guess is that the XSLT stylesheet is located in an external document than 
the
> document that will contain the XML Signature. This is a problem. You will need
> to import that element into the Document that will contain the signature so 
the
> Transform can find it - try the DOM Document.importNode method.
> 
> --Sean

Hi Sean,

right - XSLT is on some web server available and I include it in my simple XSLT 
script with an <xslt:include .../>. I wrote a simple method
getStylesheetXmlStructure() which converts this simple XSLT which includes the 
real one (the external) and returns it as an XmlStructure object which is 
required by XSLTTransformParameterSpec. The problem is I cannot debug Sun's XML 
security library and I don't know how to add an XSLT transformation with 
Santuario.

Thanks for any help.

Regards,
errno

Reply via email to