B
But I Haven't Eaten Any Sweetcorn!
Hi all,
I have two XML DOMs and I am trying to insert one into another, so that
<?xml = ....>
<Body>
<Head>
</Head>
</Body>
and
<?xml = ....>
<Eyes>
</Eyes>
Now becomes
<?xml = ....>
<Body>
<Head>
<Eyes>
</Eyes>
</Head>
</Body>
I have this working, with no problem...but what I would like to do is
produce the
following output instead:
<?xml = ....>
<Body>
<Head>
<![CDATA[
<Eyes>
</Eyes>
]]>
</Head>
</Body>
Is there anyway to do this? It seems to be tricky to do, as you can't
precede the
root xml declaration in the 2nd XML structure, (and anyway, it gets cut
out during
the splice)
Best wishes
Paul
I have two XML DOMs and I am trying to insert one into another, so that
<?xml = ....>
<Body>
<Head>
</Head>
</Body>
and
<?xml = ....>
<Eyes>
</Eyes>
Now becomes
<?xml = ....>
<Body>
<Head>
<Eyes>
</Eyes>
</Head>
</Body>
I have this working, with no problem...but what I would like to do is
produce the
following output instead:
<?xml = ....>
<Body>
<Head>
<![CDATA[
<Eyes>
</Eyes>
]]>
</Head>
</Body>
Is there anyway to do this? It seems to be tricky to do, as you can't
precede the
root xml declaration in the 2nd XML structure, (and anyway, it gets cut
out during
the splice)
Best wishes
Paul