[Freeswitch-users] Faxing Advice
Peter J. Zandvoort
peter at cindyandpeter.com
Tue Dec 1 18:26:26 PST 2009
To expand on what Russell said: XML always has a start and an end tag,
possibly with other stuff in between.
<tag>
... content ...
</tag>
If there is no content, you get:
<tag>
</tag>
Or, on one line, <tag></tag>. You're allowed to abbreviate that to just
<tag/>.
So in your case:
<condition ... />
<condition ... >
<action ... /> <--- these are themselves abbreviations of <action
...></action>!!
<action ... />
</condition>
Hope that helps!
Peter
-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
Russell.Mosemann at cune.org
Sent: Tuesday, December 01, 2009 6:22 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Faxing Advice
"Joseph L. Casale" <JCasale at activenetwerx.com> said:
> >Just remove the terminating '/' at the end of the second condition
tag....
> >
> ><condition field="destination_number" expression="^(\d+)$">
>
> I tried to see based on examples if it was obvious to me why that
should not be there
> but it didn't jump out:) Cuold you explain that please?
It is a multi-line condition. If a condition is only one line long, it
begins and ends on the same line. The "/>" combination is the sequence
that closes the tag.
--
Russell Mosemann
________________________________________________________
Concordia University, Nebraska
See http://www.cune.edu/ for the latest news and events!
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
More information about the FreeSWITCH-users
mailing list