* mk@quara.de <mk@quara.de> [Jul 22. 2002 16:07]:
Hello Anas,
I just wonder, why you use saxon for merging the xml files and not the small tool xsltproc contained in the package libxslt. It faster by Magnitutes and also soes not scramble up the Scripts in CDATA as mergeClasses/Saxon does.
I use the same merge.xml xslt script:
#!/bin/bash xsltproc --param with "'$1'" /usr/share/autoinstall/xslt/merge.xslt "$2"
I don't know why, but the '$1' is important!
At the time when I was testing and libxslt had some problem with CDATA. Now it is resolved and in the next release libxslt is being used. And yes, it's almost 100 times faster :-)
There is just one nasty thing: It puts a ns2: in front of each tag name. AutoYaST cannot handle this and stores the ns2: in the YCP-map, so the tags are not recognized. I fixed this with sed, but a real fix would be fixing this in the xml-Agent of YaST2, i guess. -- Mathias .'\ /. .'.-.-'.-.. ..._: .-. .-. :_... .' '-.(o ) (o ).-' . : _ _ _~(_)~_ _ _ : : /: ' .-=_ _=-. ;\ : : :|-.._ ' _..-|: : : :| |:-:-.-:-:'| |:' : . .| | | | | | |.' .' . -:_| | |_:-' .' -._ ` _.-' -------''