AW: [xsd-users] adding xsd:any nodes to node-objects
Oliver.Kowalke at infineon.com
Oliver.Kowalke at infineon.com
Tue Apr 11 01:48:18 EDT 2006
Hello Boris,
>> How can I add classes of embedded xml which were generated by xsd?
>
>I am not exactly sure what you mean by this. Can you provide a small
>example that should what you are trying to achieve?
The hello.xsd class-library generated by xsd allows access to the
embedded xml in c-node (for instance embed.xml in the sample).
I can also create a class-library for embed.xsd via xsd-tool.
Access to the embedded xml would be:
DOMNode * embed = c_n._node()->getFirstChild();
xyz::embed_type e_n (static_cast<DOMElement*> (embed), 0, 0);
I need to know how can I add a xyz::embed_type instance to a c_n
instance (other direction than previous example)?
With regards,
Oliver
-------------- next part --------------
A non-text attachment was scrubbed...
Name: embed.xml
Type: text/xml
Size: 158 bytes
Desc: embed.xml
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20060411/bbdf9425/embed.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: embed.xsd
Type: application/octet-stream
Size: 385 bytes
Desc: embed.xsd
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20060411/bbdf9425/embed.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hello.xml
Type: text/xml
Size: 233 bytes
Desc: hello.xml
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20060411/bbdf9425/hello.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hello.xsd
Type: application/octet-stream
Size: 714 bytes
Desc: hello.xsd
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20060411/bbdf9425/hello.obj
More information about the xsd-users
mailing list