[xml] xslt stylesheet reusability

hi, just 2 questions:

1. can a xsltStylesheet be reused multiple times? (i.e., can i use it to
format an xml document, then dump it with xsltSaveResultToFile(), apply
it to a different document, dump again, etc.)

2. can two threads use the same xsltStylesheet to format two different
documents at the same time? (i think not, xsltStylesheet holds some
state information...) so, how do i duplicate a stylesheet? or do i need
to reload it from file every time?

anticipated thanks,

p.s. sorry for sending this message 2 times, wrong From:

Federico Di Gregorio
Debian GNU/Linux Developer & Italian Press Contact        fog debian org
INIT.D Developer                                           fog initd org
                           Don't dream it. Be it. -- Dr. Frank'n'further

Attachment: pgpXup3cDy0HD.pgp
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]