f



Re: '^=' and '~='? #5

Sorry, I posted under the wrong subject. My friend asked me to post this,
she got an error message in processing the XML file. I don't have much
experience in working with XML file. Any help is appreciated!

On Thu, Feb 12, 2009 at 10:29 AM, Akshaya Nathilvar <
akshaya.nathilvar@gmail.com> wrote:

> 32   libname erap 'T:\9SOW\AHRQ_E Rap\Data\E-RAP Data\December 2008';
> NOTE: Libref ERAP was successfully assigned as follows:
>       Engine:        V9
>       Physical Name: T:\9SOW\AHRQ_E Rap\Data\E-RAP Data\December 2008
> 33   options nodate nonumber formdlim='-';
> 34   /*  Program: E-RAP Load XML to SAS with map v2.sas*/
> 35
> /*************************************************************************
> 36                   Update path and file name below.
> 37
> **************************************************************************/
> 38   %let data_path    = T:\9SOW\AHRQ_E Rap\Data\E-RAP Data\December
> 2008\Raw XML Data;
> 39   %let input_file   = 035151_12232008.xml;
> 40
> **************************************************************************;
> 41
> 42   filename  xml_lib "&data_path.\&input_file.";
> 43   filename  SXLEMAP  "&data_path.\xml_map_v2.map";
> 44   libname   xml_lib  xml xmlmap=SXLEMAP access=READONLY;
> NOTE: Libref XML_LIB was successfully assigned as follows:
>       Engine:        XML
>       Physical Name: XML_LIB
> 45   libname   erap     "&data_path";
> NOTE: Libref ERAP was successfully assigned as follows:
>       Engine:        V9
>       Physical Name: T:\9SOW\AHRQ_E Rap\Data\E-RAP Data\December 2008\Raw
> XML Data
> 46   * Read XML file into SAS data set;
> 47   data erap.Sabino;
> 48       set xml_lib.E_rap_episode_record;
> 49   run;
>
> ERROR: There is an illegal character in the entity name.
>        encountered during XMLInput parsing
>        occurred at or near line 19, column 40
> NOTE: There were 0 observations read from the data set
> XML_LIB.E_RAP_EPISODE_RECORD.
> NOTE: The data set ERAP.SABINO has 0 observations and 1096 variables.
> NOTE: DATA statement used (Total process time):
>       real time           0.18 seconds
>       cpu time            0.18 seconds
>
>
0
2/12/2009 3:31:46 PM
comp.soft-sys.sas 142827 articles. 4 followers. Post Follow

0 Replies
1147 Views

Similar Articles

[PageSpeed] 5

Reply: