This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: parameter entity in DTD (was untitled)
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] RE: parameter entity in DTD (was untitled)
- From: Dan Diebolt <dandiebolt at yahoo dot com>
- Date: Thu, 10 May 2001 04:02:51 -0700 (PDT)
- Reply-To: xsl-list at lists dot mulberrytech dot com
I couldn't help but notice the message Francis pointed to in another
thread had an example SGML statements contained with the internal
subset using DOCTYPE. Is someone saying you can introduce a parameter
entity into the XML document and not included it in the DOCTYPE?
Are these not SGML declarations in the DOCTYPE?
Regards,
Dan
-------------------
http://www.biglist.com/lists/xsl-list/archives/200101/msg00161.html
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE structs [
<!ELEMENT structs (struct*)>
<!ELEMENT struct (name,field*)>
<!ELEMENT field (name,type)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT type (ref|long)>
<!ELEMENT ref (#PCDATA)>
<!ELEMENT long EMPTY>
]>
<structs>
<struct>
<name>A</name>
<field>
<name>A1</name>
<type><long/></type>
</field>
</struct>
<struct>
<name>B</name>
<field>
<name>B1</name>
<type><ref>A</ref></type>
</field>
<field>
<name>B2</name>
<type><ref>C</ref></type>
</field>
</struct>
<struct>
<name>C</name>
<field>
<name>C1</name>
<type><long/></type>
</field>
</struct>
<struct>
<name>D</name>
<field>
<name>D1</name>
<type><ref>E</ref></type>
</field>
<field>
<name>D2</name>
<type><ref>A</ref></type>
</field>
</struct>
<struct>
<name>E</name>
<field>
<name>E1</name>
<type><ref>C</ref></type>
</field>
</struct>
</structs>
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list