File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 52
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: 18121

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 agree. Here's the link:
subject: Password Protection for document using XSLT
Similar Threads
Installing XSLT processor
Best API to update an XML document!
Reading word document
Coverting RTF to DOC