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
3
votes
1 answer

WYSIWYG XML Editor (DTD or RelaxNG or XSD based grammars)

I'm need to make a WYSIWYG XML editor for a custom XML grammar. I have explored all the OpenSource tools that I could find under this domain. Includes VEX, Oxygen, Bitflux... None of them served my purpose. I'm also looking for javascript-based…
gkns
  • 697
  • 2
  • 12
  • 32
3
votes
1 answer

Is XML Schema a subset of SGML DTD?

XML is a subset of SGML. A valid XML document is also a valid SGML document, but the vice versa isn't true. Does this keep true even if I use the XML Schema instead of the DTD? The doubt stems from that fact that the XML DTD is a subset of the SGML…
zer0uno
  • 7,521
  • 13
  • 57
  • 86
3
votes
1 answer

Python: Parsing SGML

I'm trying to parse some SGML like the following in Python: One Sample One Two Sample Two Here, I'm just…
scip
  • 153
  • 1
  • 8
3
votes
5 answers

get contents of tags using python

Assuming I have html read into my program like this:

F/T & P/T Sales Associate - Caliente Fashions - (North Vancouver)

Dwayne Hunter
  • 31
  • 1
  • 1
  • 3
3
votes
1 answer

Are parameter entity references in sgml/xml parsible using .NET?

When I try and parse the data below with XDocument I am getting the following error: "XMLException: A parameter entity reference is not allowed in internal markup" Here is an example data that I am trying to parse:
Matt Johnson
  • 1,913
  • 16
  • 23
3
votes
0 answers

How would I approach a lot of structured-but-inconsistent data?

I'm attempting to parse EDGAR documents - they're SEC filings. Specifically, I'm attempting to parse both SEC Schedule 13D and Schedule 13G filings. There appears to be lots of failed attempts at parsing these filings, and I assume that's because…
Mr_Spock
  • 3,815
  • 6
  • 25
  • 33
3
votes
2 answers

SGML Parser in Plain C

I'm looking for an open-source SGML parser written in plain C. This is to parse bona-fide SGML, not malformed stuff. Any ideas?
Adam Ernst
  • 52,440
  • 18
  • 59
  • 71
3
votes
1 answer

Python: SGMLParser can't get line number

I wrote simple class which inherits SGMLParser. The main idea behind this class is to collect all the links from html page and print the line number where this link could be found. The class looks like this: class HtmlParser(SGMLParser): def…
arthur
  • 223
  • 2
  • 12
3
votes
1 answer

Where I can get OpenJade osx and How to convert SGML to XML?

Here am trying to convert SGML to XML using OpenSP, http://openjade.sourceforge.net/ using those link I got source file and instruction but I am unable to build Win EXE, So please provide me OSX EXE if available. Note: Already I visited…
3
votes
2 answers

Eclipse IDE : SGML plugin?

Do you know a plugin for editing SGML files within Eclipse ?
glmxndr
  • 45,516
  • 29
  • 93
  • 118
3
votes
2 answers

Grab some ofx data with python

I was trying to use http://www.jongsma.org/gc/scripts/ofx-ba.py to grab my bank account information from wachovia. Having no luck, I decided that I would just try to manually construct some request data using this example So, I have this file that…
Skylar Saveland
  • 11,116
  • 9
  • 75
  • 91
3
votes
5 answers

Java SGML to XML conversion?

Does anyone know of a method, or library, to convert SGML into XML? EDIT: For clarification, I have to do the conversion in Java, and I cannot use the SP parser or the related SX tool.
Stuart Grassie
  • 3,043
  • 1
  • 27
  • 36
3
votes
2 answers

validate SGML DTD

I wrote the following SGML DTD:
corintiumrope
  • 95
  • 1
  • 7
2
votes
1 answer

UnicodeEncodeError in Beautiful soup (python 2.7.1)

I am using Beautiful Soup 3.2 on python 2.7.1 here. I have recently been trying to get something simple to work, but it seems rather tricky: I do the following: temp=BeautifulSoup(urllib2.urlopen(urlList[1], None,15)) However, I get the error: File…
JohnJ
  • 6,736
  • 13
  • 49
  • 82
2
votes
1 answer

Which ASCII characters are forbidden for use in SGML attributes?

Apart from whitespace, quotation mark, equal sign, and tab, which other characters of the printable subset of ASCII are forbidden to be used as attribute names in SGML?
moshbear
  • 3,282
  • 1
  • 19
  • 33
1 2
3
8 9