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

Re: regarding spaces

Subject: Re: regarding spaces
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Thu, 14 Mar 2002 15:09:00 -0500
laura passin
[Laura Jenkins]
>
> hi i have an xml file that has a an element with a value that looks like
> this
> <college id="21">
> <type>Music &amp;  Arts </type>
> </college>
>
>
> and i am required to generate another custom made xml that will have this
> value of type in the following way
>
> <univ.college>
>
> </univ.college>
>
> now whle i try to get the values from type
> after the transformation is complete, the browser throws error saying
>
> "Whitespace is not allowed at this location. Error processing resource"
>
> This is because there is a space between Music and &amp;and between &amp;
> and Dance.. I am not able to crack this problem. PLease suggest me some
way
> to get out of it.

It is not because there is whitespace where you say.  That is perfectly OK.
You need to show us the output you got from the transformation, and more
accurate information on where the error occurred, as well as saying how you
performed the transformation.  For example, is the browser complaining about
something is the transformed output, or aobut something in the stylesheet,
or something elsewhere in the source document? I can't tell.

No doubt the answer is simple, but you have not supplied enough information.

Tom P


 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.