Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Az oldal korlátolt funkcionalitással fog rendelkezni, amíg elvégezzük a felhasználói élményt javító karbantartást. Ha egy leírás nem oldja meg a problémáját, és kérdést tenne fel, akkor a támogatási közösségünk a @FirefoxSupport Twitter oldalon tud segíteni, vagy az /r/firefox oldalon a Redditen.

Támogatás keresése

Kerülje el a támogatási csalásokat. Sosem kérjük arra, hogy hívjon fel egy telefonszámot vagy osszon meg személyes információkat. Jelentse a gyanús tevékenységeket a „Visszaélés bejelentése” lehetőséggel.

További tudnivalók

A témacsoportot lezárták és archiválták. Tegyen fel új kérdést, ha segítségre van szüksége.

How to generate a html file from a xml file with the default Firefox look and feel

more options

Hello

Any xml or xsd file are pretty printed with Mozilla firefox. I would like to generate the equivalent html file, in order to introduce it later in a Word document. Do you use a xslt file ? How can I do this ?

Best regards

Hello Any xml or xsd file are pretty printed with Mozilla firefox. I would like to generate the equivalent html file, in order to introduce it later in a Word document. Do you use a xslt file ? How can I do this ? Best regards

Kiválasztott megoldás

Copy and paste this URL into the address bar of a new tab and press Enter to view the documents (XSL may load in an external viewer):

  • chrome://global/content/xml/XMLPrettyPrint.xsl

It references two style sheets:

  • chrome://global/content/xml/XMLPrettyPrint.css
  • chrome://global/content/xml/XMLMonoPrint.css
Válasz olvasása eredeti szövegkörnyezetben 👍 1

Összes válasz (4)

more options

Kiválasztott megoldás

Copy and paste this URL into the address bar of a new tab and press Enter to view the documents (XSL may load in an external viewer):

  • chrome://global/content/xml/XMLPrettyPrint.xsl

It references two style sheets:

  • chrome://global/content/xml/XMLPrettyPrint.css
  • chrome://global/content/xml/XMLMonoPrint.css
more options

I would be remiss if I did not point out that the forum software detected your Firefox as version 17. Is that correct?

Version 17 is not secure; Mozilla discloses security flaws after each new release. Is something holding you back from upgrading to Firefox 31? Please let us know so we can suggest solutions or workarounds.

If Help > About Firefox shows Firefox 31, you may need to clear the preference that is misreporting your version number. See: How to reset the default user agent on Firefox.

more options

Thank you very much !

I'am trying to use this XMLPrettyPrint.xsl in a XMLSPY project. A first error appears saying to me : Unable to load external entity 'prettyPrintDTD ...'.

If I remove the section , the first error disappears but another error appears saying to me : No external markup declarations present ... '&locale.dir' must be declared

In fact, I would like to apply this xslt file to many xsd or xml files and generate the associated html files. Perhaps using XMLSPY is not a good idea ?

Best regards. Martine LEPRINCE

more options

Hi Martine, I could locate the above listed files but I am not very familiar with XSLT so I'm not sure how to use them in a different context.

Anyway, these DTD files seem mostly blank:

chrome://global/locale/xml/prettyprint.dtd
chrome://global/locale/global.dtd

Are they really needed???