[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: inserting an element (was: Up-conversion using XSL
Hi again Manfred, If you are able to use XSLT 2.0 server side, then you will have the benefict of regular expressions, which is much better for pattern recognision than what you have in XSLT 1.0. I do not know enough about XSLT 2.0 to really give you any help here. pseudo-code recursive solution: <zitat> <xsl:for-each line-with-correct-value-or-ul-element> <if line><xsl:value-of select="."/></if> <if ul-element><xsl:copy-of select="."/></if> </xsl:for-each> </zitat> I do not know whether this is a feasible solution or if there is a better way of achieving what you want. A string-replacing solution in another language might still be a better option. Regards, Ragulf Pickaxe :-)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|