473,326 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

XML Signature

In a xml signature I have


Expand|Select|Wrap|Line Numbers
  1. .... 
  2. ... 
  3.  <Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2">
  4.   <XPath Filter="intersect" xmlns="http://www.w3.org/2002/06/xmldsig-filter2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> 
  5.         here()/ancestor::dsig:Signature[1]/../../form1[1]//. |
  6.         here()/ancestor::dsig:Signature[1]/../../form1[1]//@* | 
  7.         here()/ancestor::dsig:Signature[1]/../../form1[1]//namespace::*</XPath> 
  8.   </Transform>
  9. ....
  10. ....
Is it equivalent to



Expand|Select|Wrap|Line Numbers
  1. ....
  2. ....
  3.  
  4. <Transforms>
  5. <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
  6.   <XPath xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> 
  7.        here()/ancestor::dsig:Signature[1]/../../form1[1]//. | 
  8.        here()/ancestor::dsig:Signature[1]/../../form1[1]//@* | 
  9.        here()/ancestor::dsig:Signature[1]/../../form1[1]//namespace::*</XPath> 
  10.   </Transform>
  11. ....
  12. ....
????

Have the same meaning? If not, what is the difference in the meaning of the two xpath expressions?
Thanks
Massimo
Dec 11 '07 #1
0 1180

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Geir S Eidissen | last post by:
Task: Removing the Signature element from an enveloped-signature xml file. The signed xml file is like this (SP=space, LF=line feed (ascii 10)), signature contents is not shown here <doc>LF...
12
by: Kim | last post by:
I have a .NET service sending mails using CDOEX. These mails I need to sign. I got a tip that I should use CAPICOM. That worked fine sending a mail with signature. BUT the problem is that I...
2
by: S. Baumann | last post by:
Hello, I use a code very similar to that found in the MSDN sample attached to the class XmlDsigEnvelopedSignatureTransform (code attached below). The code works fine and produces somethink like...
0
by: David Mediavilla | last post by:
I am trying to check a SOAP signature with WSE 1.0 SP1, but with a certain transform I only get an "Unknown tranform" exception. The SOAP signature is like this: <ds:Signature>...
1
by: JJBW | last post by:
Hi I am creating some aspx files in Visual Studio 2003 for a Danish web site. The page is encoded as UTF-8 - However, when I save the the aspx file as "UTF-8 without signature" the Danish...
3
by: DJTN | last post by:
I'm getting the following error when I try to compile my setup project in VS 2002. I have re-installed the .net framework 1.1 and it didnt solve the problem. WARNING: Unable to find dependency...
0
by: Geagleeye | last post by:
Hi everyone. I have some vba code to generate a pdf document through word, and add also digital signature. My problem is : how can i change the way the signature layout, it always show the...
14
by: =?Utf-8?B?QUEyZTcyRQ==?= | last post by:
Am I correct in thinking that the <signatureof a function is its <syntax> i.e. the arguments and the order in which they are specified when calling the function?
10
by: AG | last post by:
I need to create a ASP.NET (3.5) web app where the client machine will be a tablet pc. The app will have a patient consent form that the patient would sign using the stylus. I would need to save...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.