[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Process one document, but change another
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 information I 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|