|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: "(" ")" in xml file causing errors
> -----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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








