Jump to content

sgbarrage

Members
  • Posts

    2
  • Joined

  • Last visited

Previous Fields

  • Languages
    English, German, Czech

sgbarrage's Achievements

Newbie

Newbie (1/7)

1

Reputation

  1. sgbarrage

    Need Help

    Change your dtd file content to like this <!ELEMENT note (to,from,heading,body)><!ELEMENT to (#PCDATA)><!ELEMENT from (#PCDATA)><!ELEMENT heading (#PCDATA)><!ELEMENT body (#PCDATA)> that means no <!DOCTYPE> inside the dtd file.
  2. Hello everyone,I am trying to solve this problem. I have a simple xml file <?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type="text/css" href="style.css"?><library><shelf> <book>Green book</book> <book>Red book</book></shelf><shelf> <book>Yellow book</book> <book>Purple book</book> <book>Orange book</book></shelf></library> and the style.css file looks like library book{display: list-item;list-style-type: decimal;margin-left: 20px;} Now, this displays my xml file like this1. Green book2. Red book1. Yellow book2. Purple book3. Orangle but I would like to achieve this result instead1. Green book2. Red book3. Yellow book4. Purple book5. Oranglethat means.. no counter reset between shelf element. Can anybody show me a way to do this, if there is such? Thank you
×
×
  • Create New...