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: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Tuesday, December 01, 2009 6:22 PM
To: [email protected]
Subject: Re: [Freeswitch-users] Faxing Advice

"Joseph L. Casale" <[email protected]> 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
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to