Quantcast

Adding <!DOCTYPE> and <?xml-stylesheet ?> elements

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Adding <!DOCTYPE> and <?xml-stylesheet ?> elements

Miha Vitorovic-4
Hi all.

I'm looking for a way of adding  <!DOCTYPE> and <?xml-stylesheet ?>
elements into the document that is currently being edited. Is there
any way to achieve that, since all I have found is a way of adding
document elements, but that's not it...

Thanks in advance, Miha
_______________________________________________
dev-tech-editor mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-editor
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Adding <!DOCTYPE> and <?xml-stylesheet ?> elements

Miha Vitorovic-4
Already found the document.createProcessingInstruction() method. does
just what is needed.

Miha
_______________________________________________
dev-tech-editor mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-editor
Loading...