[mobile-broadband-provider-info] dtd: add attributes for balance top-up



commit a8fe254472b2aaf1ab047f2d2a88d183826c9e1c
Author: Guido Günther <agx sigxcpu org>
Date:   Sat Mar 19 12:14:59 2011 -0500

    dtd: add attributes for balance top-up
    
    <balance-top-up>
      <ussd replacement="CODE">*130*CODE#</ussd>
    </balance-top-up>
    
    CODE will the be replaced by the user input (e.g. the unique top up
    code).
    
    <balance-top-up>
      <sms text="foo">150</sms>
    </balance-top-up>

 serviceproviders.2.dtd |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/serviceproviders.2.dtd b/serviceproviders.2.dtd
index 4c96220..55cc0e5 100644
--- a/serviceproviders.2.dtd
+++ b/serviceproviders.2.dtd
@@ -6,7 +6,7 @@
 
 <!ELEMENT provider (name+, gsm?, cdma?)>
 
-<!ELEMENT gsm (network-id*, voicemail*, balance-check*, apn*)>
+<!ELEMENT gsm (network-id*, voicemail*, balance-check*, balance-top-up*, apn*)>
 <!ELEMENT apn (name*,
                gateway?,
                username?,
@@ -28,7 +28,12 @@
 <!-- the first element will typically be the default method -->
 
 <!ELEMENT ussd (#PCDATA)>
-<!-- contains * prefixed string which when sent to the network should result in a response text string from network -->
+<!ATTLIST ussd replacement CDATA #IMPLIED>
+<!-- contains * prefixed string which when sent to the network should result in
+     a response text string from network. The attribute "replacement" is a
+     string that, if found in the #PCDATA, can be replaced by user input, e.g.
+     to provide a pin code for balance top up.
+  -->
 
 <!ELEMENT dtmf (#PCDATA)>
 <!-- contains dial string used to access balance check service via voice call -->
@@ -42,6 +47,10 @@
 <!-- typically, option 1 followed by option 3 will display remaining credit -->
 <!-- this method does not have widespread use -->
 
+<!ELEMENT balance-top-up (ussd*,
+                          sms*)>
+<!-- Howto top up the balance of prepaid cards -->
+
 <!ELEMENT network-id EMPTY>
 <!ATTLIST network-id mcc CDATA #REQUIRED>
 <!ATTLIST network-id mnc CDATA #REQUIRED>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]