This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Password Protection for document using XSLT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Password Protection for document using XSLT" Watch "Password Protection for document using XSLT" New topic

Password Protection for document using XSLT

karthik manick
Ranch Hand

Joined: Aug 25, 2009
Posts: 53
I am creating word document using XSLT FO. I want to password protect the word document. Could any one help me on how to do this in XSLT?

Paul Clapham

Joined: Oct 14, 2005
Posts: 19725

I'm impressed. I didn't know you could even target MS Word with XSL-FO.

Or are you using XSL-FO? Your post first said "XSLT FO" and then just "XSLT". Are you really using XSLT to transform something into the WordML dialect of XML, or something like that? If that's the case, then you just have to go through the documentation for that XML dialect and find out what elements you use for password-protection.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Password Protection for document using XSLT
It's not a secret anymore!