]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.data/scl/Data/XML.scl
CDATA support to Data/XML
[simantics/platform.git] / bundles / org.simantics.scl.data / scl / Data / XML.scl
index 3f78b5ab530b5276b8ba78ce6880a7884deb0fce..7f836aaa43b5abcb2da0f7428d461432b1e05ee2 100644 (file)
@@ -118,5 +118,9 @@ importJava "org.simantics.scl.data.xml.JDomHelper" where
     parseFileWithSchemaFile   :: String -> String -> <Proc> Document
     //parseFileWithSchemaURL    :: URL    -> String -> <Proc> Document
 
+    addCDATA :: Element -> String -> <Proc> ()
+    getCDATAs :: Element -> <Proc> [String]
+
+
 sortChildrenBy :: Ord a => (Element -> <e> a) -> Element -> <Proc,e> ()
 sortChildrenBy f el = sortChildrenWith (\x y -> compare (f x) (f y)) el 
\ No newline at end of file