Re: source-provided xslt if logic?
by Phil R Lawrence other posts by this author
Sep 10 2002 7:21PM messages near this date
view in the new Beta List Site
source-provided xslt if logic?
|
Re: [ANNOUNCE] XML::Filter::Glossary 0.1
Phil R Lawrence wrote:
> I want to conditionally output fragments of the source XML, but allow
> the source XML to provide the logic for the if test.
OK, after a bunch more reading it seems like want to use SAX. Correct?
How about this simple question... Any syntax suggestions for the
following, which will have to be interpreted by SAX:
<--! if cpi-> ("individual_id_method") eq "pidm" -->
<cpi parm="individual_id_method" cmp="eq" value="pidm">
...
</cpi>
or maybe:
<--! if cpi-> ("individual_id_method") eq "pidm" -->
<if method="cpi(parm='individual_id_method') cmp="eq" value="pidm">
...
</cpi>
Thanks,
Phil
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Phil R Lawrence
Phil R Lawrence
|