[Home] [By Thread] [By Date] [Recent Entries]
At 2014-09-08 14:05 +0000, Rick Quatro rick@xxxxxxxxxxxxxx wrote:
I have an XML document with a series of <image> elements. They have href attributes that reference svg files. For each of these <image> elements, I want to open the corresponding svg file and copy some information from my source document to the svg file. So while the stylesheet is processing one document, I want to be able to change the other documents. Is this possible with XSLT? Any pointers would be appreciated. In pseudo-code I would approach this as:
match=everything mode=modify
copy
apply-templates select=@*,node() mode=modify match=item-to-change-in-SVG mode=modify
param name=info tunnel=yes
change the item using the image informationI hope this helps and isn't too cryptic. It processes your documents from a source directory to your new target directory (since you can't overwrite a document that is being read). . . . . . . Ken
|

Cart



