Parsing content with XSLT to replace custom tag
Posted on 2004-04-22
Here is what I am trying to do:
I have a block of text within a database that I am feeding out to a page. Within that text block, I have a "custom tag" ----
What I'd like to do is parse that block of content through an XSLT (i've got this part working already) and replace that <workshop /> tag with some other text.
I current have it printing out the other text, but it's not coming through at the same place in the code where the custom tag was - it's either writing above or below the content block depending on my .xsl file. I will post my XSL file below, and any help is appreciated.
Please don't be surprised if my current file is not the correct way to do things - i'd be very surprised if it was correct at all.
THanks for your assistance,