have a look at: <![CDATA[ ]]> should probably say you can put anything you like in the square brackets (you do need the 2 sets...) - well I used shit loads of html so I wouldn't have to loop:)
HTH Tom --- Damian Watson <[EMAIL PROTECTED]> wrote: > Hey all, > > I been building a CMS which generates public content > as XML files. The > public site reads those docs and outputs them > appropriately. I've got a > simple news xml doc here for example: > > <?xml version="1.0" encoding="UTF-8"?> > <newsItem xml:lang="en-GB"> > <headline>Test news item</headline> > <date>2004-04-20 00:00:00.0</date> > <strapline>This strapline is way cleaner than my > bikini > line.</strapline> > <article> > <P>Lorem ipsum <A href="somewhere.com" > target="">dolor > sit amet, consetetur </A>sadipscing elitr, sed diam > nonumy eirmod tempor > invidunt ut labore et dolore magna aliquyam erat, > sed diam voluptua. At > vero eos et accusam et justo duo dolores et ea > rebum. Stet clita kasd > gubergren, no sea takimata sanctus est Lorem ipsum > dolor sit amet. Lorem > ipsum dolor sit amet, consetetur sadipscing elitr, > sed diam nonumy > eirmod tempor invidunt ut labore et dolore magna > aliquyam erat, sed diam > voluptua. At vero eos et accusam et justo duo > dolores et ea rebum. Stet > clita kasd gubergren, no sea takimata sanctus est > Lorem ipsum dolor sit > amet. Lorem ipsum dolor sit amet, consetetur > sadipscing elitr, sed diam > nonumy eirmod tempor invidunt ut labore et dolore > magna aliquyam erat, > sed diam voluptua. At vero eos et accusam et justo > duo dolores et ea > rebum. Stet clita kasd gubergren, no sea takimata > sanctus est Lorem > ipsum dolor sit amet. </P> > <P>Duis autem vel eum iriure dolor in hendrerit in > vulputate velit esse > molestie consequat, vel illum dolore eu feugiat > nulla facilisis at vero > eros et accumsan et iusto odio dignissim qui blandit > praesent luptatum > zzril delenit augue duis dolore te feugait nulla > facilisi. Lorem ipsum > dolor sit amet, consectetuer adipiscing elit, sed > diam nonummy nibh > euismod tincidunt ut laoreet dolore magna aliquam > erat volutpat. </P> > </article> > </newsItem> > > --- now you'll see in the tag <article> I've got > html code, being read > as XML. > > I want to output everything inside <article> -- is > there a simple way of > doing this... at the moment I'm looping through it's > child elements, but > then there are grandchildren and great grand > children and it all gets > confusing! > > Thanks > d > > > -- > These lists are syncronised with the CFDeveloper > forum at http://forum.cfdeveloper.co.uk/ > Archive: > http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > CFDeveloper Sponsors and contributors:- > *Hosting and support provided by CFMXhosting.co.uk* > :: *ActivePDF provided by activepdf.com* > *Forums provided by fusetalk.com* :: > *ProWorkFlow provided by proworkflow.com* > *Tutorials provided by helmguru.com* :: > *Lists hosted by gradwell.com* > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > ____________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html -- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ CFDeveloper Sponsors and contributors:- *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* To unsubscribe, e-mail: [EMAIL PROTECTED]