[xsd-users] Preserving element order in MusicXML?

Mario Lang mlang at delysid.org
Sun Jun 8 15:33:20 EDT 2008


Skipped content of type multipart/signed-------------- next part --------------
XSDCXXTREEFLAGS = --root-element score-partwise --root-element score-timewise \
		--type-naming ucc \
		$(patsubst %,--generate-%,serialization doxygen polymorphic) \
		--location-regex '%http://www.musicxml.org/xsd/(.+)%$$1%'

all: parttime timepart
	@echo "Now type 'make test'."

test: parttime timepart tie-fails.xml
	./parttime tie-fails.xml|./timepart

parttime: musicxml.o xlink.o xml.o parttime.o
	$(CXX) -o $@ $@.o musicxml.o xlink.o xml.o -l xerces-c

timepart: musicxml.o xlink.o xml.o timepart.o
	$(CXX) -o $@ $@.o musicxml.o xlink.o xml.o -l xerces-c

musicxml.xsd: musicxml.xsl
	wget -O- http://www.musicxml.org/xsd/$@|xsltproc -o $@ $< -

xlink.xsd xml.xsd:
	wget -O$@ http://www.musicxml.org/xsd/$@

clean:
	rm -f timepart parttime *.o *.hxx
	rm -f musicxml.xsd xlink.xsd xml.xsd musicxml.cxx xlink.cxx xml.cxx

musicxml.cxx: xlink.hxx xml.hxx

%.cxx %.hxx: %.xsd
	xsdcxx cxx-tree $(XSDCXXTREEFLAGS) $<

%.o: %.cxx
	$(CXX) $(CXXFLAGS) -c $<

-------------- next part --------------
A non-text attachment was scrubbed...
Name: musicxml.xsl
Type: text/xml
Size: 4276 bytes
Desc: XSLT for musicxml.xsd
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20080608/bffd0dc0/musicxml.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parttime.cxx
Type: text/x-c++src
Size: 2141 bytes
Desc: Transform score-partwise to score-timewise
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20080608/bffd0dc0/parttime.cxx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: timepart.cxx
Type: text/x-c++src
Size: 2145 bytes
Desc: Transform score-timewise to score-partwise
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20080608/bffd0dc0/timepart.cxx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tie-fails.xml
Type: application/vnd.recordare.musicxml+xml
Size: 4235 bytes
Desc: Sample MusicXML file
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20080608/bffd0dc0/tie-fails.bin
-------------- next part --------------

-- 
Thanks,
  ????? | Debian Developer <URL:http://debian.org/>
  .''`. | Get my public key via finger mlang/key at db.debian.org
 : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
 `. `'
   `-      <URL:http://delysid.org/>  <URL:http://www.staff.tugraz.at/mlang/>


More information about the xsd-users mailing list