hi robert,
nice idea, but - no, this won't help. when you include the markup in
CDATA sections its contents becomes unavailable to the ui since its
handled completely as text. you could not bind any element inside the
CDATA section, e.g. the following
<xforms:instance id="i1">
<root xmlns="">
<parent>
<![CDATA[
some mixed content
<child>...</child>
some more mixed content
]]>
</parent>
</root>
</xforms:instance>
will not give you the chance to bind the element 'child'. leaving out
the CDATA section as in
<xforms:instance id="i1">
<root xmlns="">
<parent>
some mixed content
<child>...</child>
some more mixed content
</parent>
</root>
</xforms:instance>
works perfectly for binding 'child' by '/root/parent/child'.
regards, uli.
Zach Roberts wrote:
Would enclosing the mixed content sections of your instance / model
document in a CDATA tag be an option to solve this problem? I have seen
some systems where they do this when expecting HTML as the value of a
node, but they still want their XML to be well-formed and pass
validation. I am not too familiar yet with Chiba internals, and even
less with JXPath, but it might be worth a try.
Zach Roberts
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Chiba-developer mailing list
Chiba-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/chiba-developer
--
Ulrich Nicolas Lissé
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|