You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by priou alexandre <pr...@yahoo.fr> on 2006/10/03 20:27:17 UTC

RE : Re: alan and xsl in memory

i have some xsl called by one xsl, i would like use
the memory manager of xalan for stocked all xsl in. 

after, i can repeat this transformation any time, if i
can read all xsl directly  in memory.
 i don't can explain for why i need this method for my
tranfo. 

   
thank for your answer 
Alexandre Priou 
--- David Bertoni <db...@apache.org> a écrit :

> priou alexandre wrote:
> > hi at all 
> > 
> > I'm new user of xalan C++, i would like manipulate
> any
> > xsl in memory. 
> 
> Can you please be more specific about what you mean
> by "manipulate any xsl 
> in memory?"  Do you want to modify the XML document
> for a stylesheet?
> 
> > 
> > my xsl have any include or import, how i can to do
> > that ? 
> 
> Again, please be more specific.
> 
> Dave
> 



	

	
		
___________________________________________________________________________ 
Découvrez un nouveau moyen de poser toutes vos questions quel que soit le sujet ! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. 
http://fr.answers.yahoo.com 


RE : Re: RE : Re: alan and xsl in memory

Posted by priou alexandre <pr...@yahoo.fr>.
ok , it's exactly that 
thank for your help 
Alexandre Priou 
--- David Bertoni <db...@apache.org> a écrit :

> priou alexandre wrote:
> > i have some xsl called by one xsl, i would like
> use
> > the memory manager of xalan for stocked all xsl
> in. 
> > 
> 
> I'm not sure what you mean by this, as it doesn't
> make much sense.  If you 
> provide a MemoryManager instance when you construct
> a XalanTransformer 
> instance, all of the memory allocated for any
> operation will come from the 
> supplied MemoryManager instance.
> 
> > after, i can repeat this transformation any time,
> if i
> > can read all xsl directly  in memory.
> 
> Perhaps what you are saying is you want to re-use a
> compiled stylesheet 
> multiple times?  If so, that's very easy.  See the
> function 
> XalanTransformer::compileStylesheet().
> 
> >  i don't can explain for why i need this method
> for my
> > tranfo.
> 
> It makes it very difficult for someone to answer
> your question when you 
> can't explain clearly and in detail what you are
> trying to achieve.
> 
> Dave
> 



	

	
		
___________________________________________________________________________ 
Découvrez un nouveau moyen de poser toutes vos questions quel que soit le sujet ! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. 
http://fr.answers.yahoo.com 


Re: RE : Re: alan and xsl in memory

Posted by David Bertoni <db...@apache.org>.
priou alexandre wrote:
> i have some xsl called by one xsl, i would like use
> the memory manager of xalan for stocked all xsl in. 
> 

I'm not sure what you mean by this, as it doesn't make much sense.  If you 
provide a MemoryManager instance when you construct a XalanTransformer 
instance, all of the memory allocated for any operation will come from the 
supplied MemoryManager instance.

> after, i can repeat this transformation any time, if i
> can read all xsl directly  in memory.

Perhaps what you are saying is you want to re-use a compiled stylesheet 
multiple times?  If so, that's very easy.  See the function 
XalanTransformer::compileStylesheet().

>  i don't can explain for why i need this method for my
> tranfo.

It makes it very difficult for someone to answer your question when you 
can't explain clearly and in detail what you are trying to achieve.

Dave