Comments (5)
Another possibility is to use a more XLSTish syntax like 100[0]
for the first author, 100[1]
for the second author and so on...
from marcspec.
But what is about repeatable subfields? Pointing to an index of a subfield in an index of a field will become very verbose.
100[0]a[0]
Maybe not a good idea?
from marcspec.
If aimed at trained programmers, the index should be zero-based, if aimed at non-programming people, one should consider 1
to refer to the first element. Indexes, such as 100[1]
, 100[2]
, 100a[1]
, and even 100[1]a[1]
are fine IMHO - if this feature is important enough to be added to MARCspec. One could also allow ranges, such as [1-2]
, [2-]
, and [-3]
, but use cases are probably limited. The data is further processed anyway, so more complex processing can also be done by other means instead of MARCspec.
from marcspec.
Yes 1
for the first element seems more obvious. But I think librarians familiar with MARC already know about the character positions and that the first index is always 0
. I think we should keep this consitent: First character and first element should both use the index 0
. Otherwise it gets confusing.
from marcspec.
Done with tag v0.4draft
from marcspec.
Related Issues (20)
- allow alphabetic characters in field tag HOT 2
- Support for pointing to a subfields that follow a specific character HOT 3
- Use "*" instead of X for wildcards HOT 3
- Use "/" instead of "~" for character posion and range HOT 1
- Support pointer to a subfield of a given field HOT 8
- Is the scope of MARCspec MARC 21 or ISO 2709? HOT 3
- tests HOT 3
- make error: openFile: does not exist HOT 9
- Referring to multiple specs for a given mapping/output HOT 2
- Is some fallback syntax necessary? HOT 2
- Interprete ComparisonString as a regular expression
- Question / request for clarification HOT 5
- http://marcspec.github.io/ root URL doesn't show anything useful HOT 1
- references to values of indicators HOT 4
- Suggestion of renaming the specification elements, and make it more clear HOT 4
- FieldTag definition HOT 3
- Automatic build not working? HOT 1
- MarcSpec for Python pymarc HOT 15
- Question on subfield branch of marcSpec rule HOT 2
- subfieldChar includes punctuation as well as alphanumeric? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from marcspec.