Questions tagged [sgml]

Standard Generalized Markup Language (SGML) is the precursor to XML and HTML. It is an ISO standard (ISO 8879) that was used for electronic publishing of documents and books.

Standard Generalized Markup Language (SGML) is the precursor to XML and HTML. It is an ISO standard (ISO 8879) that was used for electronic publishing of documents and books.


Useful links

134 questions
1
vote
1 answer

SGML Named entity for U+1e7c (Ṽ) & U+1e7d (ṽ)?

I need to use the named entities for special character, but unable to find any thing for the two character U+1e7c (Ṽ) & U+1e7d (ṽ)?, i searched for it unable to find any where in the available lists online. kindly help.
dasanb
  • 33
  • 1
  • 8
1
vote
1 answer

SgmlLinkExtractor not displaying results or following link

I am having problems fully understanding how SGML Link Extractor works. When making a crawler with Scrapy, I can successfully extract data from links using specific URLS. The problem is using Rules to follow a next page link in a particular URL. I…
1
vote
1 answer

TEI format vs. SGML format

Can anybody explain the difference between TEI and SGML format and/or how they are related?
Stefan Falk
  • 23,898
  • 50
  • 191
  • 378
1
vote
1 answer

Is HtmlParser.entityref actually a valid regex for matching html entity references?

This is the code from Python 2.7 HtmlParser: entityref = re.compile('&([a-zA-Z][-.a-zA-Z0-9]*)[^a-zA-Z0-9]') Previously, I assumed it to be more like this: entityref = re.compile('&([a-zA-Z][-.a-zA-Z0-9]*);') so it caught me by surprise on some…
n611x007
  • 8,952
  • 8
  • 59
  • 102
1
vote
2 answers

Why there is no 'include' directive in HTML?

In many programming languages, there is some type of 'include' command/directive/statement which helps developer make the source code, more 'modular' so there is no need to include everything in one single file. Why there is no such facility in…
Mahdi
  • 1,871
  • 2
  • 24
  • 41
1
vote
0 answers

How to build OpenSP for German messages?

I am trying to build OpenSP, setting the output message language as German. I have set the LANG variable in sp-generate.mak file and executed the make file and after which i built OpenSP. The problem is that the messages are still in English. How…
1
vote
1 answer

Regex - loop through matches

I'm parsing a sgml file. Each entry is something like this: xzsd:test test ............. ............. ................ test2 …
Cornwell
  • 3,304
  • 7
  • 51
  • 84
1
vote
1 answer

Modern SGML Viewer

I was provided some documentation in SGML format. Not being familiar with the format I searched the web to find a suitable viewer but cant seem to locate one. Is there such a thing as a modern SGML viewer?
sinDizzy
  • 1,300
  • 7
  • 28
  • 60
1
vote
2 answers

Parsing OFX or SGML in iOS

How do I parse OFX in iOS? OFX is formatted in SGML, and I can't find any good parsers to use in C or Objective-C on iOS.
1
vote
1 answer

Extracting information from SGM files using Python

I need some help for extracting information out of an .sgm file using Python. Is there a specific library suitable for this specific kind of file? Or will libraries used to extract infos from .xml files work as well? If there are no libraries…
user1718064
  • 475
  • 1
  • 9
  • 23
1
vote
1 answer

Regex for an open SGML node that contains

,

, and
tags

I have some SGML that I'm trying to clean up by adding closing tags to the opening ones. Right now, the document has a structure like this: Daniel White Daniel is a white cat

He was born in July


He's super…
user1352544
  • 53
  • 1
  • 5
1
vote
2 answers

non SGML character number 6

I am getting the following validation error for a site I am working on Line 1, Column 1: non SGML character number 6
Kobus Myburgh
  • 1,114
  • 1
  • 17
  • 46
1
vote
4 answers

Turn HTML files into SGML

I have well formed HTML files. To turn them into SGML do I just switch the extension or is there more to do?
cdub
  • 24,555
  • 57
  • 174
  • 303
0
votes
1 answer

How to extract textual content from an SGML DTD using Perl?

I'm looking into extracting all the content from a DTD using Perl, but I'm not sure which is the best way to go about it. I know there are modules for working with XML, but I'm not sure if there are any for this type of work with SGML or if I…
James Drinkard
  • 15,342
  • 16
  • 114
  • 137
0
votes
1 answer

OFX Parser. Ignore XML Text Reader Exception

I am writing custom OFX -> XML parser on c#. Currently I am using standard XMLTextReader. The ofx format might have following structure: 0 INFO The thing is if the element is text element then previous one…
Jevgeni Smirnov
  • 3,787
  • 5
  • 33
  • 50
1 2 3
8 9