How do i get the <?xml element from the xml language?

Hi,

when using the mps xml language in a generator, i can start the document only with a SimpleElement. However, i need a <?xml version="1.0" encoding="UTF-8"?> first.

I can not use SimpleElement, because in generates:

<?xml version="1.0" encoding="UTF-8" standalone="yes">
...
</?xml)


Which concept should i use?
Dan
0
2 comments
Hi Mps-Team,

Is there any solution to generate the first line within xml language ?

<?xml version="1.0"?>
<!DOCTYPE Gruss [
  <!ELEMENT Gruss (#PCDATA)>
]>
<Gruss>Hallo Jupiter!</Gruss>

Best,
Dan
0
Ok, seems that in most cases, the <?xml is optional in xml files anyway...
0

Please sign in to leave a comment.