Altova Mailing List Archives


Re: Newbie question - is XSLT the technology for this?

From: "Han" <hp4444@------.---.----->
To: NULL
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 

Disclaimer

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.