Hi wo-gurus,

I have the following problem: I want to generate XML and need to put literal " 
and < char into the output. The wo parser however fails and I do not know how 
to effectively solve this. Let me give an example:

Desired output:

<value name="ABCD">....</value>

ABCD comes from the database. However

<value name="<webobject name="myName">">....</value>
with binding
myName : WOString { value=myEO.name;}

does not work as the literal quotes confuse the parser. Tried to put &quot; 
there but the resulting XML file is not what I need. 

Next try:
<value name=<webobject name="quote" />ABCD<webobject name="quote" 
/>>....</value>
with binding
quote : WOString { value=""";}
also does not work (triple " chars). Replacing " by ' adds to the confusion of 
the parser at runtime.

So I would have to get the binding from the java code. Is this really the only 
way to do it? Makes the component html pretty unreadable. 
I have a similar problem in cases where I want to generate the above value tag 
itself. There the parser is confused by the multiple < chars.

<<webobject name="valueTag" />>

Thank you all for your help
have a nice wo-day
---markus---

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to