[xmlsec] Emailing: tmpl-EPM-sign-stylesheet.xml
Edward Shallow
ed.shallow at rogers.com
Sun Sep 7 18:38:11 PDT 2003
Hi Aleksey,
After numerous attempts to verify the Microsoft InfoPath-created dsig
which uses an XSLT transform, I decided to dummy it down and both sign and
verify it with XMLSec, to get some clues.
The attached is the only stylesheet transform technique I can get
working with XMLSec. I verified this from the pre-digest transform put out
by --store-references. That is good. This working approach completely embeds
the entire stylesheet, HTML and all, under the Transform element like this
...
<Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116">
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:template match="books">
<html><body>
...
My question: Is there any way that XMLSec (libxslt ?) will honour a
stylesheet "reference" whose body resides outside the XML doc being
transformed ?
Simply adding ...
<?xml-stylesheet type="text/xsl" href="books.xsl"?>
... as the 1st line in books.xml doesn't do it. I also tried a href to the
stylesheet in several places both in the template and in the doc without
success.
Is this possible ?
Thanks,
Ed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmpl-EPM-sign-stylesheet.xml
Type: text/xml
Size: 1387 bytes
Desc: not available
Url : http://www.aleksey.com/pipermail/xmlsec/attachments/20030907/d5145a9b/tmpl-EPM-sign-stylesheet.xml
More information about the xmlsec
mailing list