Skip to content

Add skipXml function to the Xeno.SAX module#66

Open
s-and-witch wants to merge 1 commit into
ocramz:masterfrom
s-and-witch:patch-1
Open

Add skipXml function to the Xeno.SAX module#66
s-and-witch wants to merge 1 commit into
ocramz:masterfrom
s-and-witch:patch-1

Conversation

@s-and-witch
Copy link
Copy Markdown

graphviz generates following SVG file header:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

So, I can't drop DOCTYPE tag without dropping ?xml tag.

That may be useful for other users, so I propose this function to be in the library.

`graphviz` generates following SVG file header:
```
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
```
So, I can't drop DOCTYPE tag without dropping ?xml tag. 

That may be useful for other users, so I propose this function to be in the library.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant