Altova Mailing List Archives
>microsoft.public.xml Archive Home
>Thread Prev - Newbie question - is XSLT the technology for this?
>Thread Next - Re: Newbie question - is XSLT the technology for this?
Re: Newbie question - is XSLT the technology for this?
Date: 10/17/2005 1:46:00 PM
If the job is simple XSLT is expensive. DOM will do. What is your development environment? -- Pohwan Han. Seoul. Have a nice day. "Bryan" <bryan@n...> wrote in message news:itq5l1hrp7u2pj6ipphgq66li5npsesqm1@4...... > Hi - > I have a collection of XML (vxml actually) files. I would like to > be able to use them as templates and substitute for various items > before I send them back to the voice platform (VXML is a voice > technology.) > > For example, I'd like to have a template that contains the following > fragment: > > <prompt> > <audio src="AudioID-xxx"> > </audio> > </prompt> > > and have the AudioID-xxx replaced with a URL. I know I could do this > with StringBuilder and Replace, or with Regular Expressions, but since > the vxml document is already a proper XML document, I thought I should > consider XSLT. > > So, two questions: > > 1. Is this an appropriate use of XSLT and > 2. If it is, can someone give a brain-dead old coder like me a simple > example? > > Thanks, > Bryan