OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
xslt help
This page's ID:
24942
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
It is possible to do what you need (and much more :) ) using XSLT, not exactly sure how though :p I think you'll find some answers if you search around for information about the 'contains' function which if used to check whenever a string contains something another string. Don't have time right now to sit down and figure it out myself, but I think something based the following might work: [code] <xsl:for-each select="//data"> <xsl:if test="contains(data, 'A')"> <!-- check for next element where contains('A') == true and create a group around that --> </xsl:if> </xsl:for-each> [/code] _________________________ "There are 10 kinds of people; those who know binary, those who don't and those who start counting at zero" - [url=http://www.golden-ratio.net]the Golden Ratio[/url] - [url=http://www.golden-ratio.net/vim]Vim Tutorial[/url] -
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »