[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: UBB Code and XSLT

Subject: Re: UBB Code and XSLT
From: "M. David Peterson" <m.david@xxxxxxxxxx>
Date: Sat, 10 Jan 2004 16:14:52 -0700
ubb code
After rereading I disovered you wanted the opposite of what I just gave you.
(ive been up for a few to many hours working on some deadline stuff - please
forgive me)  None-the-less the concept is the same...  just parse your
nonXML conformant HTML through a CDATA tagged XML node and reverse the
output to be UBB complient instead...

Good luck!

M.

----- Original Message ----- 
From: "Karl J. Stubsjoen" <karl@xxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Saturday, January 10, 2004 8:04 AM
Subject: Re:  UBB Code and XSLT


> All right, how about a simplified HTML set of tags that XSLT will parse...
> UBB for XSLT?  I really see the value in UBB type "tagging", but I'm being
> told I need to write my own parser to parse the dang thing.
> http://www.ozoneasylum.com/Forum12/HTML/001704.html
>
> So far, what I've see on the net are UBB Message Forums.  Mostly PHP, and
> such... I'm a vbscript kind of guy (classic ASP).
>
> Karl
>
> ----- Original Message -----
> From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Friday, January 09, 2004 1:31 PM
> Subject: Re:  UBB Code and XSLT
>
>
> > Karl J. Stubsjoen wrote:
> > > I'm considering UBB code for the simple formatting needs that my
clients
> may
> > > use when updating active content on my websites.  Would I write a
> template
> > > that could correctly translate the UBB code into valid HTML tags, or
am
> I
> > > way off on this concept?
> >
> > (for everybody wondering, UBB is one of the many variants of "simplified
> > HTML" used in web based bullentin boards, see for example
> >   http://france.expats.tv/data/ultimatebb.php?ubb=ubb_code_page)
> >
> > The problem is that you can't match UBB code with XSLT templates, you
need
> > to parse a text string. It's not too hard to do a one-to-one translation
> > from UBB into possibly malformed HTML, using d-o-e and the usual
recursive
> > string replace template. But if you want to deal with stray brackets and
> > do some validation, you're probably much better off with another tool
> > than XSLT 1.0. Most likely you'll find ready-to-use Perl, PHP or Java
code
> > in one of the open source BBs and Wikis. Search FreshMeat.
> >
> > J.Pietschmann
> >
> >
> >  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> >
> >
> >
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.