× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I have an xml file I am trying to process. I've got the majority of it working but I have a number of elements I'm not getting results. I think I need to make adjustments to my options, but I haven't found the correct option yet.
I have a 2 main issues, although one of them really doesn't matter, but I'm curious how to handle.


1. Product
srsName
concise-name
operational-mode
title
field
category
creation-date

anything with the - in it does not process.
I get errors in the compile if I use the - in the field names
If I try to change from say concise-name to concisename it simply doesn't populate.
How should I handle fields with the -?



2. Moreweatherinformation
Applicable-location
'a field with no name' but it has a value

So this one has what appears to be 2 elements, but one does not have a name
I've tried just making up a name, but that obviously doesn't work.
How would you handle this?


%XML(XMLFile: 'doc=file +
datasubf=data +
allowmissing=yes +
allowextra=yes +
countprefix=count +
ns=merge +
case=any');

I've also tried ns=remove

Thanks

Mike
NOTICE: This message, including any attachment, is intended as a confidential and privileged communication. If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this message.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.