We have a requirement to output XML in character only format as opposed to HTML markup e.g.
1) <legal_name>G&M NV</legal_name> instead of
2) <legal_name>G&M NV</legal_name>
Our intention is to use a CDATA marked section to display the text verbatim. So the output looks something like:
3) <legal_name><![CDATA[G&M NV]]></legal_name>
Question is, how do I generate 3) above?
P.S. We are currently using <?xml version="1.0" encoding="UTF-8"?>
XML ![CDATA question
Moderators: chulett, rschirm, roy
XML ![CDATA question
3NF: Every non-key attribute must provide a fact about the key, the whole key, and nothing but the key. So help me Codd.
Nice one Craig, in one foul swoop, you've established yourself as the XML guru. I initialised the data element to XML and simply surrounded the output value in the transformer with the necessary strings i.e.
'<![CDATA[' : in.legal_name : ']]>'
Thanks for the reply.
'<![CDATA[' : in.legal_name : ']]>'
Thanks for the reply.
3NF: Every non-key attribute must provide a fact about the key, the whole key, and nothing but the key. So help me Codd.