Subject: RE: "(" ")" in xml file causing errors
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Mon, 8 Mar 2004 19:59:47 +0100
|
> -----Original Message-----
> From: Anna Bikkina
>
> I have an xml file which contains data like
> <result><row>
>
> <(expression)>3DO COMPANY</(expression)><(expression)>THDOQ</
> (expression)><(expression)>95688</(expression)><(expression)>GVRC2 </
> (expression)><(expression)>0.01300 / 0.04000(5000 x 5000)</
> (expression)><(expression)>
> </(expression)><(expression)>02-11</(expression)>
>
> </row> </result>
>
This is not XML, if I remember my introductory readings correctly (either
'invalid element names' or 'unescaped markup-characters inside the
content' --you can choose; it seems a bit Escher-esque ;-) ), so it should
be no surprise that this gives an error...
>
> I want to get rid of braces( "(" and ")" from this xml and have
> another xml
You can't have 'another' XML, because 'this' is not XML.
> with the same data without braces. I am trying to write xsl to do
> the same
> but it is not working. Can someone please help.
>
My guess is, if you want to replace the '(expression)' parts, you can't do
it in XSLT.
Is there a possibility of having, say, 'expression' end up where you now
have '(expression)'? Then you would have a valid XML, and the transforming
can begin...
Cheers,
Andreas
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|