Class ::xowiki::XMLSyndication

::xowiki::XMLSyndication[i] create ... \
           [ -package_id package_id ]

Class Relations

  • class: ::xotcl::Class[i]
  • superclass: ::xotcl::Object[i]
  • subclass: ::xowiki::Timeline[i], ::xowiki::RSS[i]
::xotcl::Class create ::xowiki::XMLSyndication \
     -superclass ::xotcl::Object

Methods (to be applied on instances)

  • init (scripted)

    set :xmlMap [list & "&amp;" < "&lt;" > "&gt;" \" "&quot;" ' "&apos;"]
  • package_id (setter)

  • tag (scripted)

    set attsXML ""
    if {[info exists atts]} {
      foreach {attName attValue} $atts {
        append attsXML $attName='[string map [list ' {&apos;} {&nbsp;} { }] $attValue]'"
      }
    }
    return <$name$attsXML>[string map ${:xmlMap} $value]</$name>