Re: Modifing parsed tree.

Jirka Kosek <[email protected]>
Newsgroups gmane.text.xml.xslt.extensions
Message-ID <[email protected]>
Radek Hnilica wrote:

> First I want a introduce my "work".  I'm using for some time xsltproc
> in my DocBook processing machinery.  I switch to int in some of my
> "Books", because they are a huge and Saxon crashes on it.  So xsltproc
> passed testing time.

Did you increased memory available to Java run-time using -Xmx option? E.g.:

java -Xmx256M -cp c:\saxon\saxon.jar com.icl.saxon.StyleSheet %*

I successfully procesed DocBook documents with more than 3000 pages with 
Saxon and I know other people used Saxon to documents containing more 
than 9000 pages in print.

> For now it does not break things as I see. But ...
> There is in documentation
> http://xmlsoft.org/html/libxml-xpath.html#XPATH_XSLT_TREE some comment
> there:
> 
>     XPATH_XSLT_TREE = 9 : An XSLT value tree, non modifiable
> 
> And I'm not sure what to do with it.  Firstly I think that I simply
> traverse the tree and do necessary modification as the DocBook
> stylesheet needs.  But now I'm not sure if it's the right way.
> 
> So. Am I allowed to make sillently some "minor" modification of parsed
> tree, or have I construct completly new tree following the original
> parsed tree?
> 
> If I have construct new tree, can someone point me to code which
> construct some.

You should direct your question to libxslt list. This list is used to 
discuss EXSLT extensions as presented on exslt.org site.

					Jirka

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail: [email protected]     http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
         DocBook 18.-19.5.                 XSLT 24.-26.5.
         XML pro vývojáře 7.-8.6.          XSL-FO 16.6.
------------------------------------------------------------------
smime.p7s (application/x-pkcs7-signature, 3.1 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.