[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: "(" ")" in xml file causing errors

Subject: RE: "(" ")" in xml file causing errors
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Mon, 8 Mar 2004 19:59:47 +0100
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.