brown-ccv / w3d-translator

Translate Writing _3D xml projects into Unity projects
0 stars 0 forks source link

Handle older xml versions #39

Open RobertGemmaJr opened 2 years ago

RobertGemmaJr commented 2 years ago

The .xslt files should be able to convert older versions of the xml file into <Story version="8" /> for parsing. Handle this case instead of throwing an error.

RobertGemmaJr commented 2 years ago

examples/cw2_samples/sample_random.xml is a sample project using an older version - test with that one

RobertGemmaJr commented 2 years ago

I think the translation should be a different typer command, don't including checks for the version in the normal execution

RobertGemmaJr commented 2 years ago

examples/samples/same_00_random.xml looks to be the same project as examples/cw2_samples/sample_random.xml, just using version 8 instead of 5