xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Condition problem


Subject: Re: [xsl] Condition problem
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Wed, 4 Nov 2009 09:31:06 +0000

2009/11/4 Ganesh Babu N <nbabuganesh@xxxxxxxxx>:
> Dear All,
>
> I am having the following input:
>
> <cross-ref>[<cr refid="MEP_L_bib32">32</cr><cr
> refid="MEP_L_bib35">35</cr>]</cross-ref>
>
> <cross-ref>[<cr refid="MEP_L_bib23">23</cr><cr


That's not well-formed...


> This the code I have tried.
>
> <xsl:template match="cross-ref">
>        <xsl:when test="matches(.,'-') or matches(.,'')">


Where is xsl:choose?  Surely you get an exception with that...
<rant>You've been on this list for a long time now, you know how to
form a question so why repeatedly post rubbish?</rant>



--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/


Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor