Namespaces

 
1.0.0-SNAPSHOT Arrow_down_16x16

startparse-sax

net.cgrand.xml

  • (startparse-sax s ch)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source net/cgrand/xml.clj:71 top

(defn startparse-sax [s ch]
  (-> (SAXParserFactory/newInstance)
   (doto
     (.setValidating false)
     (.setFeature "http://xml.org/sax/features/external-general-entities" false)
     (.setFeature "http://xml.org/sax/features/external-parameter-entities" false)) 
   .newSAXParser
   (doto
     (.setProperty "http://xml.org/sax/properties/lexical-handler" ch))
   (.parse s ch)))
Vars in net.cgrand.xml/startparse-sax: -> defn doto
Used in 0 other vars

Comments top

No comments for startparse-sax. Log in to add a comment.