XML - Managing Data Exchange/CSS/Answers

Exercise 1
Here is one way you could do it:

To be able to hook up your external style sheet with your XML document you have to write: at the start of the document, under

Like this:   <!DOCTYPE inventory[ <!ELEMENT inventory (book+)> <!ELEMENT book (isbn,title,titel?,author+,publisher,price)> <!ELEMENT isbn (#PCDATA)> <!ELEMENT title (#PCDATA)> <!ELEMENT author (#PCDATA)> <!ELEMENT publisher (#PCDATA)> <!ELEMENT price (#PCDATA)> <!ENTITY gyl "Gylden, Oslo Norway"> <!ENTITY sybex "SYBEX Inc. San Francisco California"> ]>

91-1-300875-7  Here you put in a title Here you put in a author &gyl; $30  91-2-705229-X Title of second book Author of second book &sybex; $30