You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Radu Preotiuc-Pietro (JIRA)" <xm...@xml.apache.org> on 2005/12/06 00:06:08 UTC
[jira] Commented: (XMLBEANS-231) Parsing embedded xml to cdata
[ http://issues.apache.org/jira/browse/XMLBEANS-231?page=comments#action_12359363 ]
Radu Preotiuc-Pietro commented on XMLBEANS-231:
-----------------------------------------------
Hm, can't you just get the second XML document as a String like
String innerXmlDoc = enclosingDoc.getXXX();
XmlObject innerXmlObject = XmlObject.Factory.parse(innerXmlDoc);
I guess I don't clearly see where the difficulty is.
> Parsing embedded xml to cdata
> -----------------------------
>
> Key: XMLBEANS-231
> URL: http://issues.apache.org/jira/browse/XMLBEANS-231
> Project: XMLBeans
> Type: Bug
> Versions: Version 2.1
> Environment: Windows XP, Sun One 7, XmlBeans 2.10
> Reporter: Ricardo
>
> I am parsing an xml document which has another xml document, but the xml which is into the first xml is escaped, I mean :
> <?xml version="1.0" ?>
> I am calling to XmlObject.factory.parse with the xml as a string and I am gettin the xml which is embedded as a CDATA section and the characters <, " and >, but I don't want a CDATA section neither the tags, so I want the xml as is in the string.
> I have been looking in Jira but I haven't got the solution, I am working with xmlbeans 2.1, but I don't know what to do to get this.
> Thank you.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org