Subject: Re: UBB Code and XSLT
From: "Karl J. Stubsjoen" <karl@xxxxxxxxxxxxx>
Date: Sun, 11 Jan 2004 13:23:02 -0700
|
J.Pietschmann:
What does this mean:
Again, that's not too difficult with an S&R template.
----- Original Message -----
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Sunday, January 11, 2004 11:10 AM
Subject: Re: UBB Code and XSLT
> Karl J. Stubsjoen wrote:
> > Mix of text and UBB code within CDATA
> > ==transform UBB with XSLT==
> > Result is HTML
> >
> > Example of XML:
> > <x>
> > <y><![CDATA[This is an [b]EXAMPLE[/b]]]></y>
> > </x>
> >
> > HTML Result:
> > This is an <b>EXAMPLE</b>
>
> Again, that's not too difficult with an S&R template. (BTW
> in this case, the CDATA is redundant).
> Problems arise for text like
> This is [ an [ill/formed] [b=http://stuff:]EXAMPLE[/u]]
> Note that the brackets are even balanced :-)
> Building a parser which gets well formed XHTML out of this
> isn't easy whether in XSLT or any other language. In XSLT
> it will additionally take a lot of source code lines and is
> likely to be slow too.
>
> 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
|