Discussion:
onsgmls output question
(too old to reply)
n***@gmail.com
2007-06-16 12:24:00 UTC
Permalink
The next element to start has a link attribute with link type type, name name, and value val, which takes the same form as with the A command.<<
but what precisely is a "link attribute"? It can't be just an ID type
attribute - I have many of those and I never see the 'a' event.

Thanks, Ian
Peter Flynn
2007-06-16 20:37:37 UTC
Permalink
Post by n***@gmail.com
The next element to start has a link attribute with link type type, name name, and value val, which takes the same form as with the A command.<<
but what precisely is a "link attribute"? It can't be just an ID type
attribute - I have many of those and I never see the 'a' event.
You really need to read Ch.5 of Goldfarb about Processing Models and
LPDs, and Tutorial D (Link in a Nutshell)

4.165 link attribute: An attribute of a source element type that is
meaningful only in the context of a particular process that is
performed on the source document instance. (p.173)

You don't give any context, but I assume that the A events you refer to
are those lines in the ESIS output of onsgmls beginning with "A", which
are the data pertaining to an attribute.
See http://www.jclark.com/sp/sgmlsout.htm for a summary.

///Peter
--
XML FAQ: http://xml.silmaril.ie/
n***@gmail.com
2007-06-16 22:27:47 UTC
Permalink
Post by Peter Flynn
Post by n***@gmail.com
The next element to start has a link attribute with link type type, name name, and value val, which takes the same form as with the A command.<<
but what precisely is a "link attribute"? It can't be just an ID type
attribute - I have many of those and I never see the 'a' event.
You really need to read Ch.5 of Goldfarb about Processing Models and
LPDs, and Tutorial D (Link in a Nutshell)
4.165 link attribute: An attribute of a source element type that is
meaningful only in the context of a particular process that is
performed on the source document instance. (p.173)
You don't give any context, but I assume that the A events you refer to
are those lines in the ESIS output of onsgmls beginning with "A"
No, it's lowercase 'a'. This post is not written for the default SGML
declaration :)

The Goldfarb quote is interesting, but doesn't really get there, and
given how open ended it sounds, I don't expect the rest of the book
does get there, either. What attributes are 'meaningful in the
context' to the particular process that is onsgmls, seems to be the
question, and the answer will neccessarily be specific to onsgmls.

Ian.
Peter Flynn
2007-06-16 23:12:26 UTC
Permalink
Post by n***@gmail.com
Post by Peter Flynn
Post by n***@gmail.com
The next element to start has a link attribute with link type type, name name, and value val, which takes the same form as with the A command.<<
but what precisely is a "link attribute"? It can't be just an ID type
attribute - I have many of those and I never see the 'a' event.
You really need to read Ch.5 of Goldfarb about Processing Models and
LPDs, and Tutorial D (Link in a Nutshell)
4.165 link attribute: An attribute of a source element type that is
meaningful only in the context of a particular process that is
performed on the source document instance. (p.173)
You don't give any context, but I assume that the A events you refer to
are those lines in the ESIS output of onsgmls beginning with "A"
No, it's lowercase 'a'. This post is not written for the default SGML
declaration :)
Which doc is this mentioned in? I'm not familiar with an event type
called "a".
Post by n***@gmail.com
The Goldfarb quote is interesting, but doesn't really get there, and
given how open ended it sounds, I don't expect the rest of the book
does get there, either. What attributes are 'meaningful in the
context' to the particular process that is onsgmls, seems to be the
question, and the answer will neccessarily be specific to onsgmls.
No, it means that the attributes are specific to the LPD being applied.
The Goldfarb book predates onsgmls, so onsgmls is not relevant here.

///Peter
n***@gmail.com
2007-06-17 01:32:08 UTC
Permalink
Post by Peter Flynn
Which doc is this mentioned in? I'm not familiar with an event type
called "a".
http://openjade.sourceforge.net/doc/sgmlsout.htm
Post by Peter Flynn
Post by n***@gmail.com
The Goldfarb quote is interesting, but doesn't really get there, and
given how open ended it sounds, I don't expect the rest of the book
does get there, either. What attributes are 'meaningful in the
context' to the particular process that is onsgmls, seems to be the
question, and the answer will neccessarily be specific to onsgmls.
No, it means that the attributes are specific to the LPD being applied.
The Goldfarb book predates onsgmls, so onsgmls is not relevant here.
Ok, so how does the parser know what LPD is being applied?
Peter Flynn
2007-06-17 13:26:15 UTC
Permalink
Post by n***@gmail.com
Post by Peter Flynn
Which doc is this mentioned in? I'm not familiar with an event type
called "a".
http://openjade.sourceforge.net/doc/sgmlsout.htm
Aha. Thanks. I've never used Jade very much, and not with LINK, so I
hadn't come across this. Curious that they should call them commands.
Post by n***@gmail.com
Post by Peter Flynn
Post by n***@gmail.com
The Goldfarb quote is interesting, but doesn't really get there, and
given how open ended it sounds, I don't expect the rest of the book
does get there, either. What attributes are 'meaningful in the
context' to the particular process that is onsgmls, seems to be the
question, and the answer will neccessarily be specific to onsgmls.
No, it means that the attributes are specific to the LPD being applied.
The Goldfarb book predates onsgmls, so onsgmls is not relevant here.
Ok, so how does the parser know what LPD is being applied?
That's in the sections of Goldfarb I referred to earlier.

///Peter

Loading...