On 2 Feb 2006, at 15:48, Merrill, Jason wrote:
However, not a good idea to have a child node be the same name as the
parent node (though it's OK in the sense it that won't screw up
Xpath).
Would you believe my problem was I had product/products instead of
product/products ?!
Sheesh...
Thanks for the help.
Can I have some general XML help too please? :> Does this XML file
make sense, is it well formed?
<root>
<clients>
<client name="Borgo di Colleoli">
<sector>Property</sector>
<discipline>Direct Mail</discipline>
<discipline>Advertising</discipline>
</client>
<client name="Royal Bank of Scotland">
<sector>Finance</sector>
<discipline>Interactive Design</discipline>
<discipline>Strategy</discipline>
</client>
</clients>
<sectors>
<sector name="Property">
<client>Borgo di Colleoli</client>
<discipline>Direct Mail</discipline>
<discipline>Advertising</discipline>
<discipline>Channel and Sales</discipline>
<discipline>Interactive Design</discipline>
</sector>
</sectors>
<disciplines>
<discipline name="Direct Mail">
<sector>Property</sector>
<client>Borgo di Colleoli</client>
</discipline>
</disciplines>
</root>
I know I'm in danger of repeating my first mistake by doing something
like client/clients instead of clients/client - but I can't think of
another way to organise it.
Observant readers may recognise this as an xml sample of my matrix/
relationships questions from a few days ago :>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders